summaryrefslogtreecommitdiffstats
path: root/sys/pci/aic7870.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1995-02-03 17:08:17 +0000
committergibbs <gibbs@FreeBSD.org>1995-02-03 17:08:17 +0000
commit74f933a4ff197325fc1328384988f204e783c0a1 (patch)
tree6e63666760a17f6bd36034978b841a42fab94843 /sys/pci/aic7870.c
parent216e2af04b838e3312c38eeb7b50834742b16865 (diff)
downloadFreeBSD-src-74f933a4ff197325fc1328384988f204e783c0a1.zip
FreeBSD-src-74f933a4ff197325fc1328384988f204e783c0a1.tar.gz
#include<kernel.h> to quiet a compiler warning having to do with the
DATA_SET (pcidevice_set, ahc_device) macro. Maybe this will allow the aic7870 to be probed again. I don't have a PCI machine here to test it.
Diffstat (limited to 'sys/pci/aic7870.c')
-rw-r--r--sys/pci/aic7870.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c
index edac4a2..f875006 100644
--- a/sys/pci/aic7870.c
+++ b/sys/pci/aic7870.c
@@ -19,13 +19,14 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: aic7870.c,v 1.4 1995/02/02 12:36:14 davidg Exp $
+ * $Id: aic7870.c,v 1.5 1995/02/02 13:12:13 davidg Exp $
*/
#include <pci.h>
#if NPCI > 0
#include <sys/param.h>
#include <sys/systm.h>
+#include <kernel.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
#include <pci/pcireg.h>
OpenPOWER on IntegriCloud