bcm-v4

[Specification

bool is_sprom_available

  1. If chip common revision < 11

    1. Return true
  2. If the bus type is PCI
    1. If the chip common revision >= 31

      1. Return (chip common capabilities & 0x40000000)

    2. Otherwise
      1. Return true
  3. If the bus type is PCMCIA
    1. If the chip id is 0x4312
      1. Return the value of (chip common status & 3) != 2

    2. Else if the chip id is 0x4325
      1. Return the value of chip common status & 1

    3. Else if the chip id is 0x4322
      1. Return the value of (chip common status & 0x40) != 0

    4. Otherwise
      1. If the chip common revision >= 31

        1. Return (chip common capabilities & 0x40000000)

  4. Return true

Exported/Archived from the wiki to HTML on 2016-10-27