From d7be8cb6e933900aeb07be34216ae2d3ee698a61 Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Sun, 22 Jan 1995 00:47:50 +0000 Subject: [PATCH] Change the string returned in the aic7870 motherboard probe case. Change #define to a more appropriate name. --- sys/i386/pci/aic7870.c | 9 ++++----- sys/pci/aic7870.c | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/sys/i386/pci/aic7870.c b/sys/i386/pci/aic7870.c index 3f9c2874920a..373fea584408 100644 --- a/sys/i386/pci/aic7870.c +++ b/sys/i386/pci/aic7870.c @@ -19,7 +19,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id$ + * $Id: aic7870.c,v 1.2 1995/01/16 16:31:57 gibbs Exp $ */ #include @@ -33,7 +33,7 @@ #define PCI_BASEADR0 PCI_MAP_REG_START #define PCI_DEVICE_ID_ADAPTEC_2940 0x71789004ul -#define PCI_DEVICE_ID_ADAPTEC_2940_MB 0x70789004ul +#define PCI_DEVICE_ID_ADAPTEC_AIC7870 0x70789004ul static char* aic7870_probe __P((pcici_t tag, pcidi_t type)); void aic7870_attach __P((pcici_t config_id, int unit)); @@ -53,9 +53,8 @@ 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"); + case PCI_DEVICE_ID_ADAPTEC_AIC7870: + return ("Adaptec aic7870 SCSI host adapter"); break; default: break; diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c index 3f9c2874920a..373fea584408 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$ + * $Id: aic7870.c,v 1.2 1995/01/16 16:31:57 gibbs Exp $ */ #include @@ -33,7 +33,7 @@ #define PCI_BASEADR0 PCI_MAP_REG_START #define PCI_DEVICE_ID_ADAPTEC_2940 0x71789004ul -#define PCI_DEVICE_ID_ADAPTEC_2940_MB 0x70789004ul +#define PCI_DEVICE_ID_ADAPTEC_AIC7870 0x70789004ul static char* aic7870_probe __P((pcici_t tag, pcidi_t type)); void aic7870_attach __P((pcici_t config_id, int unit)); @@ -53,9 +53,8 @@ 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"); + case PCI_DEVICE_ID_ADAPTEC_AIC7870: + return ("Adaptec aic7870 SCSI host adapter"); break; default: break;