Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 15:25:14 +0200 (CEST)
From:      Soren Schmidt <sos@freebsd.dk>
To:        brian@Awfulhak.org (Brian Somers)
Cc:        bde@zeta.org.au, brian@Awfulhak.org, brian@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/boot/biosboot table.c
Message-ID:  <199905251325.PAA56320@freebsd.dk>
In-Reply-To: <199905251126.MAA01355@keep.lan.Awfulhak.org> from Brian Somers at "May 25, 1999 12:26:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Brian Somers wrote:
> > 
> > My version passes the typed-in device name to the kernel and the kernel
> > ignores the boot blocks' guess of the major if it can make sense of
> > the name.  I might finish this if anyone still uses the old boot blocks.
> > It doesn't work right for "ad", because ad_cdevsw lies about the driver
> > name -- it claims to be "wd" for compatibility, so lookups of "ad" fail.
> > This also breaks the lookups for -r and -a -- you have to misspecify
> > "ad" as "wd" and not configure the real "wd" so that there is no conflict.

Just remove the ifdef NOTYET in ata-disk.c and it will tell its real
name thats the way I use it with a hacked boot2.c.
I think the right way would be to have the device name in the label
that way the system can tell which driver to use easily, and you 
can change it just as easily for tesing/whatever reasons.

> It looks like this stuff should wait 'till Søren's happy with `ad' 
> and `wd' goes away.

I dont think we can get rid of wd totally, it is still needed for 
retro HW as st506 & ESDI disks, but we can remove all other things from it
(the atapistuff etc), and have it be a retro driver only.
Or perchance I'm just dreaming.

-Søren


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




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