diff options
author | njl <njl@FreeBSD.org> | 2004-10-14 22:21:59 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-10-14 22:21:59 +0000 |
commit | 48e4157e91b19dd6052373a6bdcadbe4f11313c2 (patch) | |
tree | 0f9116b3f1c78782e732cdc488fb4b329d06e0b3 /sys/pc98 | |
parent | bcc253c05805e4d8d61f1a9af593a83806403580 (diff) | |
download | FreeBSD-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/pc98')
-rw-r--r-- | sys/pc98/cbus/fdc.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/fd.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index 616fd9c..6dc029a 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -914,8 +914,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); diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c index 616fd9c..6dc029a 100644 --- a/sys/pc98/pc98/fd.c +++ b/sys/pc98/pc98/fd.c @@ -914,8 +914,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); |