summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-12-17 16:53:47 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-12-17 16:53:47 +0000
commit725d90c4d549e6fd477d0bea576575ba93e6e910 (patch)
treefb5a38e256d4b6ee3063d2ceda9c0138f3936e64
parenta226422e8af5c69577b785366cc8553ef82c8d59 (diff)
add support for linksys (eg1032v2, eg1064v2) and dlink (dge530t); from NetBSD
-rw-r--r--sys/dev/pci/if_sk.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index c08f245deca..4958d5d22f6 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.34 2003/10/13 21:22:19 jason Exp $ */
+/* $OpenBSD: if_sk.c,v 1.35 2003/12/17 16:53:46 jason Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -212,6 +212,9 @@ void sk_dump_bytes(const char *, int);
/* supported device vendors */
const struct pci_matchid skc_devices[] = {
{ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C940},
+ { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DGE530T},
+ { PCI_VENDOR_LINKSYS, PCI_PRODUCT_LINKSYS_EG1032},
+ { PCI_VENDOR_LINKSYS, PCI_PRODUCT_LINKSYS_EG1064},
{ PCI_VENDOR_SCHNEIDERKOCH, PCI_PRODUCT_SCHNEIDERKOCH_GE},
{ PCI_VENDOR_SCHNEIDERKOCH, PCI_PRODUCT_SCHNEIDERKOCH_SK9821v2},
};
@@ -1275,6 +1278,9 @@ skc_attach(struct device *parent, struct device *self, void *aux)
break;
case PCI_PRODUCT_SCHNEIDERKOCH_SK9821v2:
case PCI_PRODUCT_3COM_3C940:
+ case PCI_PRODUCT_DLINK_DGE530T:
+ case PCI_PRODUCT_LINKSYS_EG1032:
+ case PCI_PRODUCT_LINKSYS_EG1064:
sc->sk_type = SK_YUKON;
break;
default: