Turn the 'dump eeprom' flag into a real option.
This commit is contained in:
parent
378d6d7395
commit
b53bae294f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47507
@ -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)) {
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user