From owner-freebsd-current Sat Dec 11 12:16:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 27A6114E16; Sat, 11 Dec 1999 12:16:54 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id PAA63528; Sat, 11 Dec 1999 15:16:40 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <199912112016.PAA63528@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <12376.944898748@critter.freebsd.dk> Date: Sat, 11 Dec 1999 15:16:40 -0500 (EST) From: John Baldwin To: Poul-Henning Kamp Subject: Re: HEADSUP: wd driver will be retired! Cc: current@FreeBSD.org, Luoqi Chen , Kris Kennaway , Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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