From b53bae294fea1d37f2957b780fe575dcb998cb62 Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Tue, 25 May 1999 20:15:41 +0000 Subject: [PATCH] Turn the 'dump eeprom' flag into a real option. --- sys/dev/aic7xxx/93cx6.c | 6 ++++-- sys/dev/aic7xxx/aic7xxx_93cx6.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sys/dev/aic7xxx/93cx6.c b/sys/dev/aic7xxx/93cx6.c index b61c2dcfbced..19d64a9f330c 100644 --- a/sys/dev/aic7xxx/93cx6.c +++ b/sys/dev/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 #include #include @@ -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)) { diff --git a/sys/dev/aic7xxx/aic7xxx_93cx6.c b/sys/dev/aic7xxx/aic7xxx_93cx6.c index b61c2dcfbced..19d64a9f330c 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 #include #include @@ -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)) {