]> err.no Git - linux-2.6/commit
[netdrvr] netxen: fix netxen_pci_tbl[] breakage
authorAl Viro <viro@ZenIV.linux.org.uk>
Mon, 23 Jun 2008 01:04:50 +0000 (02:04 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 27 Jun 2008 05:30:46 +0000 (01:30 -0400)
commit70081ac55df939363b27c1ebd27c51f510129139
tree87336b296b8ec71264760927b9eefa50f5ecd949
parentc5643cab7bf663ae049b11be43de8819683176dd
[netdrvr] netxen: fix netxen_pci_tbl[] breakage

PCI_DEVICE_CLASS sets .device and .vendor to PCI_ANY_DEV,
which overrides the effect of preceding PCI_DEVICE() and makes
all elements of netxen_pci_tbl[] identical.  Introduced in the
commit dcd56fdbaeae1008044687b973c4a3e852e8a726.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/netxen/netxen_nic_main.c