freebsd-skq/sys/dev/fdc
Warner Losh 530a692468 Fix a couple of problems with the probe code when used with pnpbios
resources.  When allocating 6 ports for a 4 port range isa code
returns an error.  I'm not sure yet why this is the case, but suspect
it is just a non-regularity in how the resource allocation code works
which should be corrected.  Use 1 as the ports size in this case.
However, in the hints case, we have to specify the length, so use 6 in
that case.  I believe that this is also acpi friendly.

Also, complain when we can't allocate FDOUT register space.  Right now we
silently fail when we can't.  This failure is referred to above.

When there's no resource for FDCTL, go ahead and allocate one by hand.
Many PNPBIOS tables don't list this resource, and our hints mechanism also
doesn't cover that range.  If we can't allocate it, whine, but fake up
something.  Before, we were always bogusly faking it and no one noticed
the sham (save the original author who has now fixed his private shame).
2005-03-10 18:09:25 +00:00
..
fdc_acpi.c Only fall back to probing the floppy drives via hints if there is a failure 2004-09-29 19:08:34 +00:00
fdc_isa.c Fix a couple of problems with the probe code when used with pnpbios 2005-03-10 18:09:25 +00:00
fdc_pccard.c MFp4: overhaul of resource allocation 2005-01-19 07:46:38 +00:00
fdc.c Add missing () 2005-02-28 13:49:06 +00:00
fdcvar.h MFp4: overhaul of resource allocation 2005-01-19 07:46:38 +00:00