From: dm Date: Tue, 13 Feb 1996 17:57:21 +0000 (+0000) Subject: Recognize 3c595 (same as 3c590, according to FreeBSD if_vx) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3a666b08af1c5a3b3a36db6816cab1b5c2bd4873;p=openbsd Recognize 3c595 (same as 3c590, according to FreeBSD if_vx) --- diff --git a/sys/dev/isa/if_ep.c b/sys/dev/isa/if_ep.c index 4ee4dcc4135..673e0938875 100644 --- a/sys/dev/isa/if_ep.c +++ b/sys/dev/isa/if_ep.c @@ -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) diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs index f42454bfcc8..201d632cfd8 100644 --- a/sys/dev/pci/pcidevs +++ b/sys/dev/pci/pcidevs @@ -121,3 +121,4 @@ product S3 VISION864 0x88c0 UNSUPP Vision 864 /* 3COM Products */ product 3COM 3C590 0x5900 3c590 +product 3COM 3C595 0x5950 3c595 diff --git a/sys/dev/pci/pcidevs.h b/sys/dev/pci/pcidevs.h index 09854876a29..169b55235ba 100644 --- a/sys/dev/pci/pcidevs.h +++ b/sys/dev/pci/pcidevs.h @@ -126,3 +126,4 @@ /* 3COM Products */ #define PCI_PRODUCT_3COM_3C590 0x5900 /* 3c590 */ +#define PCI_PRODUCT_3COM_3C595 0x5950 /* 3c595 */ diff --git a/sys/dev/pci/pcidevs_data.h b/sys/dev/pci/pcidevs_data.h index 113033d2d7d..afbd026f09c 100644 --- a/sys/dev/pci/pcidevs_data.h +++ b/sys/dev/pci/pcidevs_data.h @@ -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,