For the moment, treat failures to attach floppy drives as non-fatal

errors for the attachment process for the floppy controller.  This is
a band-aide because it doesn't try any of the fallback methods when
_FDE isn't long enough, but should be sufficient for people
experiencing the dreaded mutex not initialized panic.
This commit is contained in:
Warner Losh 2004-09-16 01:51:21 +00:00
parent 4e1c1fa28b
commit ee9e2737a1

View file

@ -137,7 +137,6 @@ fdc_acpi_attach(device_t dev)
fde = (uint32_t *)obj->Buffer.Pointer;
if (obj->Buffer.Length < 20) {
device_printf(dev, "_FDE too small\n");
error = ENXIO;
goto out;
}
break;
@ -150,7 +149,6 @@ fdc_acpi_attach(device_t dev)
fde = malloc(pkg->Package.Count * sizeof(uint32_t),
M_TEMP, M_NOWAIT | M_ZERO);
if (fde == NULL) {
error = ENOMEM;
goto out;
}
for (i = 0; i < pkg->Package.Count; i++) {