Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2003 22:43:09 +0100
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        alpha@FreeBSD.org
Subject:   Re: Floppy detection on miata: solved.
Message-ID:  <20031204224309.E34462@uriah.heep.sax.de>
In-Reply-To: <XFMail.20031204144319.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Thu, Dec 04, 2003 at 02:43:19PM -0500
References:  <20031204181201.321f2cf8.lehmann@ans-netz.de> <XFMail.20031204144319.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
As John Baldwin wrote:

(Hardcoding 1.44 MB floppy drives in the driver source code.)

> The patch looks simple enough.  Basically, for arch's that duon't support
> asking the BIOS about the floppy size, it just assumes a size of 1.44.
> 4.x already does this apparently.

I object.  The driver must not make assumptions about things it
doesn't know from a certain source.  When I restructured the code
in 5.x, I explicitly intented to get rid of the old hacks.

I wouldn't object if /boot/device.hints on the alpha arch shipped with
a default of hint.fd.0.flags="4" though, which basically has the same
effect, but should at least give the careful reader a hint to read the
man page...

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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