summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-08-27 23:29:53 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-08-27 23:29:53 +0000
commit8107efd6251ab64fe10cd98852f23703a6a50288 (patch)
tree22f45798bcc3e5f81b77fc1bbe1b4904d2b5651a /sys/dev/pci
parent396099206aae4ad71db158a345e3e8a74fcc70c7 (diff)
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.)
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ahc_pci.c5
1 files changed, 4 insertions, 1 deletions
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;