1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-20 02:38:43 +00:00

Turn the 'dump eeprom' flag into a real option.

This commit is contained in:
Justin T. Gibbs 1999-05-25 20:15:41 +00:00
parent 378d6d7395
commit b53bae294f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47507
2 changed files with 8 additions and 4 deletions

View File

@ -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)) {

View File

@ -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)) {