summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx/aic7xxx_93cx6.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1999-05-25 20:15:41 +0000
committergibbs <gibbs@FreeBSD.org>1999-05-25 20:15:41 +0000
commit42991c5609367acc41c5bda9bfa64f9cb3c9e31a (patch)
treea352224a16d51f576f05c5d51ecc16e9c4f0825a /sys/dev/aic7xxx/aic7xxx_93cx6.c
parentc8f266a43e2612158788dca22273171fda80f8e7 (diff)
downloadFreeBSD-src-42991c5609367acc41c5bda9bfa64f9cb3c9e31a.zip
FreeBSD-src-42991c5609367acc41c5bda9bfa64f9cb3c9e31a.tar.gz
Turn the 'dump eeprom' flag into a real option.
Diffstat (limited to 'sys/dev/aic7xxx/aic7xxx_93cx6.c')
-rw-r--r--sys/dev/aic7xxx/aic7xxx_93cx6.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_93cx6.c b/sys/dev/aic7xxx/aic7xxx_93cx6.c
index b61c2dc..19d64a9 100644
--- a/sys/dev/aic7xxx/aic7xxx_93cx6.c
+++ b/sys/dev/aic7xxx/aic7xxx_93cx6.c
@@ -18,7 +18,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: 93cx6.c,v 1.1 1998/09/15 07:24:16 gibbs Exp $
+ * $Id: 93cx6.c,v 1.2 1999/04/07 23:02:45 gibbs Exp $
*/
/*
@@ -55,6 +55,8 @@
*
*/
+#include "opt_aic7xxx.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <machine/bus_memio.h>
@@ -160,7 +162,7 @@ read_seeprom(sd, buf, start_addr, count)
SEEPROM_OUTB(sd, temp);
CLOCK_PULSE(sd, sd->sd_RDY);
}
-#ifdef DUMP_93CX6_EEPROM
+#ifdef AHC_DUMP_EEPROM
printf("\nSerial EEPROM:");
for (k = 0; k < count; k = k + 1) {
if (((k % 8) == 0) && (k != 0)) {
OpenPOWER on IntegriCloud