diff options
author | olof@lixom.net <olof@lixom.net> | 2007-05-12 15:57:36 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-15 17:44:39 -0400 |
commit | fd17825480b2de3076727c677f8e257623705963 (patch) | |
tree | c893416aaa2d1f6264ea68c24f2781a39dd8ce55 /drivers/net/pasemi_mac.c | |
parent | 52a9435183f961e1bb3c146a62bfbecf93d15d58 (diff) |
pasemi_mac: Terminate PCI ID list
This caused some very interesting behaviour depending on what happened to
be built at the same time. Add terminating empty entry to the list of IDs.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pasemi_mac.c')
-rw-r--r-- | drivers/net/pasemi_mac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c index 39e33aeca11a..933d56476894 100644 --- a/drivers/net/pasemi_mac.c +++ b/drivers/net/pasemi_mac.c | |||
@@ -1209,6 +1209,7 @@ static void __devexit pasemi_mac_remove(struct pci_dev *pdev) | |||
1209 | static struct pci_device_id pasemi_mac_pci_tbl[] = { | 1209 | static struct pci_device_id pasemi_mac_pci_tbl[] = { |
1210 | { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa005) }, | 1210 | { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa005) }, |
1211 | { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa006) }, | 1211 | { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa006) }, |
1212 | { }, | ||
1212 | }; | 1213 | }; |
1213 | 1214 | ||
1214 | MODULE_DEVICE_TABLE(pci, pasemi_mac_pci_tbl); | 1215 | MODULE_DEVICE_TABLE(pci, pasemi_mac_pci_tbl); |