summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1995-10-08 17:46:11 +0000
committergibbs <gibbs@FreeBSD.org>1995-10-08 17:46:11 +0000
commit0f62a1bc9292605b0b5581acdc61ced2ebbd8712 (patch)
treec6d864708c444a3a832b88d8d4def12eb2c01dc6 /sys
parentc3dd7bc8c4ca398805d9de9926b5c543e1583de2 (diff)
downloadFreeBSD-src-0f62a1bc9292605b0b5581acdc61ced2ebbd8712.zip
FreeBSD-src-0f62a1bc9292605b0b5581acdc61ced2ebbd8712.tar.gz
Identify the 2940 *Ultra* SCSI adapter. We treat it as a normal 2940
for now since I don't have any documentation on this card yet and it is software compatible with the earlier cards. The 2940 *Ultra* is Adaptec's push to take SCSI to 20MHz bus rates. Its based on the aic7880 chip which is the successor to the aic7870.
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/aic7870.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c
index 05506b4..92ae08b 100644
--- a/sys/pci/aic7870.c
+++ b/sys/pci/aic7870.c
@@ -19,7 +19,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: aic7870.c,v 1.13 1995/08/20 03:18:09 gibbs Exp $
+ * $Id: aic7870.c,v 1.14 1995/09/05 23:53:48 gibbs Exp $
*/
#include <pci.h>
@@ -35,6 +35,7 @@
#include <i386/scsi/aic7xxx.h>
#define PCI_BASEADR0 PCI_MAP_REG_START
+#define PCI_DEVICE_ID_ADAPTEC_2940U 0x81789004ul
#define PCI_DEVICE_ID_ADAPTEC_3940 0x72789004ul
#define PCI_DEVICE_ID_ADAPTEC_2940 0x71789004ul
#define PCI_DEVICE_ID_ADAPTEC_AIC7870 0x70789004ul
@@ -76,6 +77,9 @@ aic7870_probe (pcici_t tag, pcidi_t type)
case PCI_DEVICE_ID_ADAPTEC_3940:
return ("Adaptec 3940 SCSI host adapter");
break;
+ case PCI_DEVICE_ID_ADAPTEC_2940U:
+ return ("Adaptec 2940 Ultra SCSI host adapter");
+ break;
case PCI_DEVICE_ID_ADAPTEC_2940:
return ("Adaptec 2940 SCSI host adapter");
break;
@@ -119,6 +123,7 @@ aic7870_attach(config_id, unit)
/* Even count implies second channel */
ahc_f |= AHC_CHNLB;
break;
+ case PCI_DEVICE_ID_ADAPTEC_2940U:
case PCI_DEVICE_ID_ADAPTEC_2940:
ahc_t = AHC_294;
break;
OpenPOWER on IntegriCloud