summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-10-14 22:21:59 +0000
committernjl <njl@FreeBSD.org>2004-10-14 22:21:59 +0000
commit48e4157e91b19dd6052373a6bdcadbe4f11313c2 (patch)
tree0f9116b3f1c78782e732cdc488fb4b329d06e0b3 /sys/dev/fdc
parentbcc253c05805e4d8d61f1a9af593a83806403580 (diff)
downloadFreeBSD-src-48e4157e91b19dd6052373a6bdcadbe4f11313c2.zip
FreeBSD-src-48e4157e91b19dd6052373a6bdcadbe4f11313c2.tar.gz
Remove local hacks to set flags now that the device probe does this for us.
Tested on every device except sio_pci and the pc98 fd.c. Perhaps something similar should be done for the "disabled" hints also. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 8afaadd..c17e5f2 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -1697,8 +1697,6 @@ fdc_add_child(device_t dev, const char *name, int unit)
device_set_ivars(child, ivar);
ivar->fdunit = unit;
ivar->fdtype = FDT_NONE;
- if (resource_int_value(name, unit, "flags", &flags) == 0)
- device_set_flags(child, flags);
if (resource_disabled(name, unit))
device_disable(child);
return (child);
OpenPOWER on IntegriCloud