diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-06-11 07:03:47 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-16 09:25:42 (GMT) |
commit | 6cc90a5a6061428358d0f726a53fb44af5254111 (patch) | |
tree | 963a86a2f6adf2398938813d45ca8ba83831c6bc /net/x25/x25_timer.c | |
parent | 9cbc1cb8cd46ce1f7645b9de249b2ce8460129bb (diff) | |
download | linux-fsl-qoriq-6cc90a5a6061428358d0f726a53fb44af5254111.tar.xz |
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 <shemminger@vyatta.com>
Tested-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/x25_timer.c')
0 files changed, 0 insertions, 0 deletions