Floppy detection on miata: solved.
Bernd Walter
ticso at cicely12.cicely.de
Thu Dec 4 15:18:42 PST 2003
On Thu, Dec 04, 2003 at 10:43:09PM +0100, Joerg Wunsch wrote:
> 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...
That's way better.
Alphas usually have a single 1.44M floppy - some OEM systems have
none.
I doubt that anyone is using an alpha with an 1.2M or other size
floppy of any kind and those still have the option to configure
their own requirements.
--
B.Walter BWCT http://www.bwct.de
ticso at bwct.de info at bwct.de
More information about the freebsd-alpha
mailing list