summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-14 09:00:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-14 09:00:54 +0000
commit31e703f0523dc6883f7444677a239978d5a3e255 (patch)
tree17238f246c012e5c27513b8719f696926b26c2f7
parent2612a6e6d7faf972f1c145fefca7bd7e4ae3d8d5 (diff)
better 3c59x and 3c9xx support; netbsd pr#2840; curt@portal.ca
-rw-r--r--sys/dev/pci/if_ep_pci.c9
-rw-r--r--sys/dev/pci/pcidevs12
2 files changed, 17 insertions, 4 deletions
diff --git a/sys/dev/pci/if_ep_pci.c b/sys/dev/pci/if_ep_pci.c
index b49bee13719..226773e7ef4 100644
--- a/sys/dev/pci/if_ep_pci.c
+++ b/sys/dev/pci/if_ep_pci.c
@@ -97,6 +97,8 @@ ep_pci_match(parent, match, aux)
switch (PCI_PRODUCT(pa->pa_id)) {
case PCI_PRODUCT_3COM_3C590:
case PCI_PRODUCT_3COM_3C595:
+ case PCI_PRODUCT_3COM_3C900:
+ case PCI_PRODUCT_3COM_3C905:
break;
default:
return 0;
@@ -154,10 +156,15 @@ ep_pci_attach(parent, self, aux)
case PCI_PRODUCT_3COM_3C590:
model = "3Com 3C590 Ethernet";
break;
-
case PCI_PRODUCT_3COM_3C595:
model = "3Com 3C595 Ethernet";
break;
+ case PCI_PRODUCT_3COM_3C900:
+ model = "3Com 3C900 Ethernet";
+ break;
+ case PCI_PRODUCT_3COM_3C905:
+ model = "3Com 3C905 Ethernet";
+ break;
default:
model = "unknown model!";
}
diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs
index de747fb3258..982d8c82475 100644
--- a/sys/dev/pci/pcidevs
+++ b/sys/dev/pci/pcidevs
@@ -1,4 +1,4 @@
-$OpenBSD: pcidevs,v 1.11 1996/06/21 15:29:56 chuck Exp $
+$OpenBSD: pcidevs,v 1.12 1996/10/14 09:00:53 deraadt Exp $
/* $NetBSD: pcidevs,v 1.8 1996/05/07 01:59:45 thorpej Exp $ */
@@ -406,8 +406,14 @@ vendor ARK 0xedd8 Ark Logic (or Arc? or Hercules?)
*/
/* 3COM Products */
-product 3COM 3C590 0x5900 3c590
-product 3COM 3C595 0x5950 3c595
+product 3COM 3C590 0x5900 3c590 10Mbps
+product 3COM 3C595 0x5950 3c595 100Base-TX
+product 3COM 3C595 0x5951 3c595 100Base-T4
+product 3COM 3C595 0x5952 3c595 100Base-T/MII
+product 3COM 3C900 0x9000 3c900 10Base-T
+product 3COM 3C900 0x9001 3c900 10Mbps-Combo
+product 3COM 3C905 0x9050 3c905 100Base-TX
+product 3COM 3C905 0x9051 3c905 100Base-T4
/* Acer products */
product ACER M1435 0x1435 M1435