1. 16 Jun, 2009 1 commit
    • Stephen Hemminger's avatar
      sky2: don't look for VPD size · 6cc90a5a
      Stephen Hemminger authored
      The code to compute VPD size didn't handle some systems that use
      chip without VPD. Also some of the newer chips use some additional
      registers to store the actual size, and wasn't worth putting the
      additional complexity in, so just remove the code.
      
      No big loss since the code to set the VPD size was only a
      convenience so that utilities would not read the extra space past
      the end of the available VPD.
      
      Move the first PCI config read earlier to detect bad hardware
      where it returns all ones and refuse loading driver before furthur
      damage.
      Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
      Tested-by: default avatarAndy Whitcroft <apw@canonical.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6cc90a5a
  2. 15 Jun, 2009 3 commits
  3. 14 Jun, 2009 36 commits