Add $Id. Recognize motherboard aic7870 based controllers.

This commit is contained in:
Justin T. Gibbs 1995-01-16 16:31:57 +00:00
parent f61afda9a4
commit 344e176820
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5649
2 changed files with 14 additions and 0 deletions

View File

@ -18,6 +18,8 @@
* Justin T. Gibbs.
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
* $Id$
*/
#include <pci.h>
@ -31,6 +33,7 @@
#define PCI_BASEADR0 PCI_MAP_REG_START
#define PCI_DEVICE_ID_ADAPTEC_2940 0x71789004ul
#define PCI_DEVICE_ID_ADAPTEC_2940_MB 0x70789004ul
static char* aic7870_probe __P((pcici_t tag, pcidi_t type));
void aic7870_attach __P((pcici_t config_id, int unit));
@ -50,6 +53,10 @@ aic7870_probe (pcici_t tag, pcidi_t type)
case PCI_DEVICE_ID_ADAPTEC_2940:
return ("Adaptec 294X SCSI host adapter");
break;
case PCI_DEVICE_ID_ADAPTEC_2940_MB:
return ("Adaptec aic7870 SCSI host adapter"
": on Motherboard");
break;
default:
break;
}

View File

@ -18,6 +18,8 @@
* Justin T. Gibbs.
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
* $Id$
*/
#include <pci.h>
@ -31,6 +33,7 @@
#define PCI_BASEADR0 PCI_MAP_REG_START
#define PCI_DEVICE_ID_ADAPTEC_2940 0x71789004ul
#define PCI_DEVICE_ID_ADAPTEC_2940_MB 0x70789004ul
static char* aic7870_probe __P((pcici_t tag, pcidi_t type));
void aic7870_attach __P((pcici_t config_id, int unit));
@ -50,6 +53,10 @@ aic7870_probe (pcici_t tag, pcidi_t type)
case PCI_DEVICE_ID_ADAPTEC_2940:
return ("Adaptec 294X SCSI host adapter");
break;
case PCI_DEVICE_ID_ADAPTEC_2940_MB:
return ("Adaptec aic7870 SCSI host adapter"
": on Motherboard");
break;
default:
break;
}