aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-03-17 18:24:39 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-22 23:32:38 -0400
commit688328c7ec3cd0dc3b16342aeb045d28012cc955 (patch)
tree0f125081f3d992007a2ce302156f410003995f09 /drivers/net/netxen
parent5fc05f8764f301138003ff562a31ad3721f1675f (diff)
netxen: The driver doesn't work on NX_P3_B1 so cause probe to fail.
I haven't been able to get link up on a NX_P3_B1 since 2.6.31. The driver complains about a firmware hang instead. When I asked I was told rev 0x41 was a preproduction rev. So disable support in the driver so no one is surprised the code doesn't work. Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r--drivers/net/netxen/netxen_nic_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 08780ef1c1f8..9a7a0f3c36c4 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -1246,8 +1246,8 @@ netxen_nic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1246 int pci_func_id = PCI_FUNC(pdev->devfn); 1246 int pci_func_id = PCI_FUNC(pdev->devfn);
1247 uint8_t revision_id; 1247 uint8_t revision_id;
1248 1248
1249 if (pdev->revision >= NX_P3_A0 && pdev->revision < NX_P3_B1) { 1249 if (pdev->revision >= NX_P3_A0 && pdev->revision <= NX_P3_B1) {
1250 pr_warning("%s: chip revisions between 0x%x-0x%x" 1250 pr_warning("%s: chip revisions between 0x%x-0x%x "
1251 "will not be enabled.\n", 1251 "will not be enabled.\n",
1252 module_name(THIS_MODULE), NX_P3_A0, NX_P3_B1); 1252 module_name(THIS_MODULE), NX_P3_A0, NX_P3_B1);
1253 return -ENODEV; 1253 return -ENODEV;