summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_fxp_pci.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2001-09-04 23:46:24 +0000
committerNiels Provos <provos@cvs.openbsd.org>2001-09-04 23:46:24 +0000
commit09d9a1b95ec7600e6009b9e1de3cf829a002933d (patch)
tree1c5a6804c9b8016a6dec8b6ca67201793af6b20b /sys/dev/pci/if_fxp_pci.c
parentcbc185f793c715b11af29820da2c1e88b2ce77fa (diff)
recognize intel pro/100 cards; okay deraadt@
Diffstat (limited to 'sys/dev/pci/if_fxp_pci.c')
-rw-r--r--sys/dev/pci/if_fxp_pci.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/dev/pci/if_fxp_pci.c b/sys/dev/pci/if_fxp_pci.c
index 55318bd41ba..fc5abc6d437 100644
--- a/sys/dev/pci/if_fxp_pci.c
+++ b/sys/dev/pci/if_fxp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fxp_pci.c,v 1.9 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_fxp_pci.c,v 1.10 2001/09/04 23:46:23 provos Exp $ */
/*
* Copyright (c) 1995, David Greenman
@@ -105,6 +105,10 @@ fxp_pci_match(parent, match, aux)
case PCI_PRODUCT_INTEL_82559:
case PCI_PRODUCT_INTEL_82559ER:
case PCI_PRODUCT_INTEL_82562:
+ case PCI_PRODUCT_INTEL_PRO_100_VE_0:
+ case PCI_PRODUCT_INTEL_PRO_100_VE_1:
+ case PCI_PRODUCT_INTEL_PRO_100_VM_0:
+ case PCI_PRODUCT_INTEL_PRO_100_VM_1:
return (1);
}
@@ -175,6 +179,13 @@ fxp_pci_attach(parent, self, aux)
*/
sc->not_82557 = (rev >= 4) ? 1 : 0;
break;
+ case PCI_PRODUCT_INTEL_PRO_100_VE_0:
+ case PCI_PRODUCT_INTEL_PRO_100_VE_1:
+ case PCI_PRODUCT_INTEL_PRO_100_VM_0:
+ case PCI_PRODUCT_INTEL_PRO_100_VM_1:
+ sc->sc_flags |= FXPF_HAS_RESUME_BUG;
+ sc->not_82557 = 0;
+ break;
default:
sc->not_82557 = 0;
break;