Skip to content

Commit

Permalink
pasemi_mac: Terminate PCI ID list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
olof@lixom.net authored and Jeff Garzik committed May 15, 2007
1 parent 52a9435 commit fd17825
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/pasemi_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1209,6 +1209,7 @@ static void __devexit pasemi_mac_remove(struct pci_dev *pdev)
static struct pci_device_id pasemi_mac_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa005) },
{ PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa006) },
{ },
};

MODULE_DEVICE_TABLE(pci, pasemi_mac_pci_tbl);
Expand Down

0 comments on commit fd17825

Please sign in to comment.