Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 15:16:40 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        current@FreeBSD.org, Luoqi Chen <luoqi@watermarkgroup.com>, Kris Kennaway <kris@hub.freebsd.org>, Warner Losh <imp@village.org>
Subject:   Re: HEADSUP: wd driver will be retired!
Message-ID:  <199912112016.PAA63528@server.baldwin.cx>
In-Reply-To: <12376.944898748@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

On 11-Dec-99 Poul-Henning Kamp wrote:
> In message <199912110132.SAA26623@harmony.village.org>, Warner Losh writes:
>>In message <7881.944870115@critter.freebsd.dk> Poul-Henning Kamp writes:
>>: You overlook one simple thing here:  If we want the ata driver tested,
>>: we need to make existing kernel configs break, otherwise people
>>: will not change them to use ata.  We know this from bitter experience.
>>
>>If all you are talking about is something like:
>>
>>Index: files.i386
>>===================================================================
>>RCS file: /home/imp/FreeBSD/CVS/src/sys/i386/conf/files.i386,v
>>retrieving revision 1.282
>>diff -u -r1.282 files.i386
>>--- files.i386        1999/11/28 17:51:06     1.282
>>+++ files.i386        1999/12/11 01:31:00
>>@@ -318,6 +318,7 @@
>> i386/isa/stallion.c          optional        stl
>> i386/isa/tw.c                        optional        tw
>> i386/isa/vesa.c                      optional        vga
>>+i386/isa/SirNotAppaeringInThisKerenl.c               optional        wd
>> i386/isa/wd.c                        optional        wd
>> i386/isa/wd.c                        optional        wdc
>> i386/isa/wfd.c                       optional        wfd
>>
>>
>>I could go along with that.
> 
> And probably an 
>       #error "Don't use this driver, use ata-disk instead"
> in wd.d

What about no change to files.i386 (so that if someone's computer can't handle
ata for the moment its one less step they have to go to compile a kernel with
the old system), keep the #error above, but wrap it in a #ifndef
FORCE_WD/#endif or something similar.  Then, if someone does have to have the
old drivers for some reason, they can stick 'option FORCE_WD' in their kernel
config.  You could then choose where to document FORCE_WD.. either in expanding
the #error message to be more verbose and detailing the existance of this
option if it's use is necessary (my preference), or make it a "closely guarded
secret" you have to post a question to -current to get.  -current people are
not bozos, if you complete the ata driver enough in the ata message, they will
switch to it, and they will know to even if they are a luser who's not reading
-current like they should.

FWIW, I've been using ata on my -current test box since I've started running
-current (about two months) w/o any problems.

> --
> Poul-Henning Kamp             FreeBSD coreteam member
> phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
> FreeBSD -- It will take a long time before progress goes too far!

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912112016.PAA63528>