summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2003-08-15 22:46:47 +0000
committerwpaul <wpaul@FreeBSD.org>2003-08-15 22:46:47 +0000
commite1eceb5931c86971fe8095a889e8e9aca3c6d54e (patch)
treebe6ed1c4d0d558d2f97df5b91e2d1c5b0213ae9a
parent61f9cda4e431dcd0ddd5bf60d504c042e0a6b43a (diff)
downloadFreeBSD-src-e1eceb5931c86971fe8095a889e8e9aca3c6d54e.zip
FreeBSD-src-e1eceb5931c86971fe8095a889e8e9aca3c6d54e.tar.gz
It appears in some configurations with an on-board RTL8100 chip (in this
case, a "Vortex86" mini PC), the PCI device ID value in the EEPROM (0x8100) does not agree with the PCI device ID returned by pci_get_device() (0x8139). This means that while rl_probe() matches the device, rl_attach() doesn't. Work around this by adding an entry to the rl_devs table for the 8100 with a device ID of 0x8100. Also, get rid of extra instance of __FBSDID(). One is enough.
-rw-r--r--sys/pci/if_rl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 68cf049..ffd9a26 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -186,8 +186,6 @@ MODULE_DEPEND(rl, miibus, 1, 1, 1);
#include <pci/if_rlreg.h>
-__FBSDID("$FreeBSD$");
-
#define RL_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP)
/*
OpenPOWER on IntegriCloud