bool is_sprom_available
If chip common revision < 11
- Return true
- If the bus type is PCI
If the chip common revision >= 31
Return (chip common capabilities & 0x40000000)
- Otherwise
- Return true
- If the bus type is PCMCIA
- If the chip id is 0x4312
Return the value of (chip common status & 3) != 2
- Else if the chip id is 0x4325
Return the value of chip common status & 1
- Else if the chip id is 0x4322
Return the value of (chip common status & 0x40) != 0
- Otherwise
If the chip common revision >= 31
Return (chip common capabilities & 0x40000000)
- If the chip id is 0x4312
- Return true