Subject: Re: isbad() missing
To: None <aardvark@krl.com>
From: Chuck Cranor <chuck@dworkin.wustl.edu>
List: port-sun3
Date: 03/02/1997 17:52:11
>The xy and xc drivers call isbad() to check for a bad block on a recoverable
>error (e.g., in xdc_error()). At link time, isbad comes up missing.
>It's source in sun3/sun3/disksubr.c has been #if-0ed out. Is there some
>reason why (before I go blindly un#if-0ing it back in)?
hi don-
gwr seems to have #if0'd it in revision 1.15 of disksubr.c.
the cvs logs says:
----------------------------
revision 1.15
date: 1996/12/17 21:11:21; author: gwr; state: Exp; lines: +7 -3
Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!) Also get rid of __BROKEN_INDIRECT_CONFIG
----------------------------
so, i think this is just a loose "-W" end that hasn't been cleaned up
yet. certainly xd/xy need isbad() in order to handle bad144 blocks.
so, it should be safe to put the function back in.
chuck