Set fdc_dev in attach

This commit is contained in:
imp 2004-07-13 02:44:40 +00:00
parent 02b4d8a438
commit d35148311b

View File

@ -799,6 +799,7 @@ fdc_attach(device_t dev)
int i, error, dunit;
fdc = device_get_softc(dev);
fdc->fdc_dev = dev;
error = fdc_alloc_resources(fdc);
if (error) {
device_printf(dev, "cannot re-acquire resources\n");