Skip to content
  • Ariel Elior's avatar
    bnx2x: Removing indirect register access · 127a425e
    Ariel Elior authored
    
    
    In virtualized environments indirect access to the device may not be supported
    (depending on the Hypervisor type). Indirect device access was used since in
    some harware contexts (i.e. certain chipset and BIOS) every access the driver
    makes across the pci is followed by a BIOS initiated Zero Length Read to the
    same address. When accessing widebus registers this zero length read corrupts
    the serialization of the read/write sequence resulting with errors. To avoid
    this problem widebus registers are always accessed via the DMAE or the indirect
    interface. However, the 57712x and 578xx devices intercept the zero length read
    and so using the indirect interface with these devices is not necessary. Since
    PDA is only supported for 57712x and 578xx the indirect access to device was
    restricted to 57710 and 57711x.
    
    Signed-off-by: default avatarAriel Elior <ariele@broadcom.com>
    Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    127a425e