Floppy detection on miata: solved.

Joerg Wunsch j at uriah.heep.sax.de
Thu Dec 4 13:50:13 PST 2003


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. ;-)


More information about the freebsd-alpha mailing list