From 8107efd6251ab64fe10cd98852f23703a6a50288 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Fri, 27 Aug 1999 23:29:53 +0000 Subject: Add device ID for 398XUW, such as found on some RAID controllers. (This allows, for instance, an AAA-131CF to function as a normal SCSI controller with this driver.) --- sys/dev/pci/ahc_pci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/ahc_pci.c b/sys/dev/pci/ahc_pci.c index dd95b79973b..30eb9463c54 100644 --- a/sys/dev/pci/ahc_pci.c +++ b/sys/dev/pci/ahc_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahc_pci.c,v 1.9 1998/01/07 11:03:25 deraadt Exp $ */ +/* $OpenBSD: ahc_pci.c,v 1.10 1999/08/27 23:29:52 downsj Exp $ */ /* $NetBSD: ahc_pci.c,v 1.9 1996/10/21 22:56:24 thorpej Exp $ */ /* @@ -89,6 +89,7 @@ #endif /* defined(__NetBSD__) */ #define PCI_DEVICE_ID_ADAPTEC_3940U 0x82789004ul +#define PCI_DEVICE_ID_ADAPTEC_398XU 0x83789004ul #define PCI_DEVICE_ID_ADAPTEC_2944U 0x84789004ul #define PCI_DEVICE_ID_ADAPTEC_2940U 0x81789004ul #define PCI_DEVICE_ID_ADAPTEC_2940AU 0x61789004ul @@ -270,6 +271,7 @@ ahc_pci_probe(parent, match, aux) switch (pa->pa_id) { case PCI_DEVICE_ID_ADAPTEC_3940U: + case PCI_DEVICE_ID_ADAPTEC_398XU: case PCI_DEVICE_ID_ADAPTEC_2944U: case PCI_DEVICE_ID_ADAPTEC_2940U: case PCI_DEVICE_ID_ADAPTEC_2940AU: @@ -363,6 +365,7 @@ ahc_pci_attach(parent, self, aux) case PCI_DEVICE_ID_ADAPTEC_2940AU: ahc_t = AHC_294AU; break; + case PCI_DEVICE_ID_ADAPTEC_398XU: /* XXX */ case PCI_DEVICE_ID_ADAPTEC_AIC7880: ahc_t = AHC_AIC7880; break; -- cgit v1.2.3