1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/dev/fdc
Nate Lawson 20819082dc Fix ACPI floppy enumeration for three types of divergent behavior.
* Some systems have _FDE and child floppy devices, but no _FDI.  This seems
  to be compatible with the standard.  Don't error out if there is no _FDI.
  Instead, continue on to the next device.  The normal fd probe will take
  care of this device.
* Some systems have _FDE but no child devices in AML.  For these, add a
  second pass that compares the results of _FDE to the presence of devices.
  If not present, add the missing device.
* Some BIOS authors didn't read the spec.  They use tape drive values for
  all fdc(4) devices.  Since this isn't grossly incompatible with the
  required boolean value, use them.  They also define the _FDE items as a
  package instead of buffer.  Regenerate the buffer from the package if it
  is present.

Tested by:	tjr, marcel
2004-07-28 22:35:41 +00:00
..
fdc_acpi.c Fix ACPI floppy enumeration for three types of divergent behavior. 2004-07-28 22:35:41 +00:00
fdc_isa.c Remove duplicate include. 2004-07-17 10:05:32 +00:00
fdc_pccard.c Clean up resources properly if attach fails. Always reset ISA drives on 2004-07-15 16:41:07 +00:00
fdc.c Correct typo. 2004-07-17 10:05:56 +00:00
fdcreg.h
fdcvar.h Re-work for fdc_acpi. Expose fdc_add_child() and move the static 2004-07-15 16:39:40 +00:00