summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-19 11:54:03 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-19 11:54:03 +0000
commit6f919bc1201ceda14c6eff889729cdd9742d236e (patch)
tree14ba040a3c2c3f57232980232bf9a07f0ab0ea2e /sys
parent1dcb02862efc15b08367fda1f2c8a67da7f4fa30 (diff)
Davicom DM9009 support
tested by Lucas Reddinger <lucas at wlwdesigns.com>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_dc_pci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c
index 50df4b65d7c..5b02d14980d 100644
--- a/sys/dev/pci/if_dc_pci.c
+++ b/sys/dev/pci/if_dc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_pci.c,v 1.34 2002/10/20 16:46:28 henning Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.35 2003/04/19 11:54:02 henning Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -86,6 +86,7 @@
struct dc_type dc_devs[] = {
{ PCI_VENDOR_DEC, PCI_PRODUCT_DEC_21140 },
{ PCI_VENDOR_DEC, PCI_PRODUCT_DEC_21142 },
+ { PCI_VENDOR_DAVICOM, PCI_PRODUCT_DAVICOM_DM9009 },
{ PCI_VENDOR_DAVICOM, PCI_PRODUCT_DAVICOM_DM9100 },
{ PCI_VENDOR_DAVICOM, PCI_PRODUCT_DAVICOM_DM9102 },
{ PCI_VENDOR_ADMTEK, PCI_PRODUCT_ADMTEK_AL981 },
@@ -311,7 +312,8 @@ void dc_pci_attach(parent, self, aux)
}
case PCI_VENDOR_DAVICOM:
if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_DAVICOM_DM9100 ||
- PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_DAVICOM_DM9102) {
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_DAVICOM_DM9102 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_DAVICOM_DM9009) {
found = 1;
sc->dc_type = DC_TYPE_DM9102;
sc->dc_flags |= DC_TX_COALESCE|DC_TX_INTR_ALWAYS;