Recognize 3c595 (same as 3c590, according to FreeBSD if_vx)
authordm <dm@openbsd.org>
Tue, 13 Feb 1996 17:57:21 +0000 (17:57 +0000)
committerdm <dm@openbsd.org>
Tue, 13 Feb 1996 17:57:21 +0000 (17:57 +0000)
sys/dev/isa/if_ep.c
sys/dev/pci/pcidevs
sys/dev/pci/pcidevs.h
sys/dev/pci/pcidevs_data.h

index 4ee4dcc..673e093 100644 (file)
@@ -331,7 +331,8 @@ epprobe(parent, match, aux)
                struct pci_attach_args *pa = (struct pci_attach_args *) aux;
 
                if (PCI_VENDORID(pa->pa_id) != PCI_VENDOR_3COM ||
-                   PCI_CHIPID(pa->pa_id) != PCI_PRODUCT_3COM_3C590)
+                   (PCI_CHIPID(pa->pa_id) != PCI_PRODUCT_3COM_3C590
+                    && PCI_CHIPID(pa->pa_id) != PCI_PRODUCT_3COM_3C595))
                        return 0;
 
                if (nepcards >= MAXEPCARDS)
index f42454b..201d632 100644 (file)
@@ -121,3 +121,4 @@ product S3 VISION864        0x88c0  UNSUPP  Vision 864
 
 /* 3COM Products */
 product        3COM 3C590      0x5900          3c590
+product        3COM 3C595      0x5950          3c595
index 0985487..169b552 100644 (file)
 
 /* 3COM Products */
 #define        PCI_PRODUCT_3COM_3C590  0x5900          /* 3c590 */
+#define        PCI_PRODUCT_3COM_3C595  0x5950          /* 3c595 */
index 113033d..afbd026 100644 (file)
@@ -217,6 +217,12 @@ struct pci_knowndev pci_knowndevs[] = {
            "3Com",
            "3c590",
        },
+       {
+           PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C595,
+           0,
+           "3Com",
+           "3c595",
+       },
        {
            PCI_VENDOR_OLDNCR, 0,
            PCI_KNOWNDEV_UNSUPP | PCI_KNOWNDEV_NOPROD,