Fix detection of RealTek 8129 PCI cards. Apparently, these cards
report a hardware rev of 0x00000000. Sadly, the 8169 gigE MAC also reports 0x00000000, so testing against this for exclusion results in both cards being skipped by rl_probe(). Make the 8169 test more specific by matching against both the hwrev and the PCI ID for this chip. PR: kern/60824
This commit is contained in:
parent
880a2ed129
commit
d4d6be2b78
@ -877,7 +877,8 @@ rl_probe(dev)
|
||||
|
||||
/* Don't attach to 8139C+ or 8169/8110 chips. */
|
||||
if (hwrev == RL_HWREV_8139CPLUS ||
|
||||
hwrev == RL_HWREV_8169 ||
|
||||
(hwrev == RL_HWREV_8169 &&
|
||||
t->rl_did == RT_DEVICEID_8169) ||
|
||||
hwrev == RL_HWREV_8169S ||
|
||||
hwrev == RL_HWREV_8110S) {
|
||||
t++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user