mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Add $Id. Recognize motherboard aic7870 based controllers.
This commit is contained in:
parent
f61afda9a4
commit
344e176820
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5649
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user