diff options
author | imp <imp@FreeBSD.org> | 2004-09-16 01:51:21 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-09-16 01:51:21 +0000 |
commit | 591b9b7da0831115593669d020d1854529e4c582 (patch) | |
tree | 381419737d01c5ccce92dc9c401ecb368cb3e7b1 /sys/dev/fdc | |
parent | 942021ba90d83665505ecb9bb164a0f67a130063 (diff) | |
download | FreeBSD-src-591b9b7da0831115593669d020d1854529e4c582.zip FreeBSD-src-591b9b7da0831115593669d020d1854529e4c582.tar.gz |
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.
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r-- | sys/dev/fdc/fdc_acpi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc_acpi.c b/sys/dev/fdc/fdc_acpi.c index 9c03778..da4d384 100644 --- a/sys/dev/fdc/fdc_acpi.c +++ b/sys/dev/fdc/fdc_acpi.c @@ -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++) { |