mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
4e1c1fa28b
commit
ee9e2737a1
1 changed files with 0 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue