Ok this has been accepted upstream and hit the mainline kernel, should hit our kernels in the 2.6.31-rc1 resync.
commit 6cc90a5a6061428358d0f726a53fb44af5254111
Author: Stephen Hemminger <email address hidden>
Date: Thu Jun 11 07:03:47 2009 +0000
sky2: don't look for VPD size
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: Stephen Hemminger <email address hidden>
Tested-by: Andy Whitcroft <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
Ok this has been accepted upstream and hit the mainline kernel, should hit our kernels in the 2.6.31-rc1 resync.
commit 6cc90a5a6061428 358d0f726a53fb4 4af5254111
Author: Stephen Hemminger <email address hidden>
Date: Thu Jun 11 07:03:47 2009 +0000
sky2: don't look for VPD size
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: Stephen Hemminger <email address hidden>
Tested-by: Andy Whitcroft <email address hidden>
Signed-off-by: David S. Miller <email address hidden>