mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 11:26:42 +07:00
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>
This commit is contained in:
parent
5fc05f8764
commit
688328c7ec
@ -1246,8 +1246,8 @@ netxen_nic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
int pci_func_id = PCI_FUNC(pdev->devfn);
|
||||
uint8_t revision_id;
|
||||
|
||||
if (pdev->revision >= NX_P3_A0 && pdev->revision < NX_P3_B1) {
|
||||
pr_warning("%s: chip revisions between 0x%x-0x%x"
|
||||
if (pdev->revision >= NX_P3_A0 && pdev->revision <= NX_P3_B1) {
|
||||
pr_warning("%s: chip revisions between 0x%x-0x%x "
|
||||
"will not be enabled.\n",
|
||||
module_name(THIS_MODULE), NX_P3_A0, NX_P3_B1);
|
||||
return -ENODEV;
|
||||
|
Loading…
Reference in New Issue
Block a user