summaryrefslogtreecommitdiffstats
path: root/sys/dev/atkbdc
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/atkbdc
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/atkbdc')
-rw-r--r--sys/dev/atkbdc/atkbdc_isa.c2
-rw-r--r--sys/dev/atkbdc/atkbdc_subr.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/atkbdc/atkbdc_isa.c b/sys/dev/atkbdc/atkbdc_isa.c
index 153ed9f..d0476a3 100644
--- a/sys/dev/atkbdc/atkbdc_isa.c
+++ b/sys/dev/atkbdc/atkbdc_isa.c
@@ -252,8 +252,6 @@ atkbdc_add_child(device_t bus, int order, char *name, int unit)
resource_list_add(&ivar->resources, SYS_RES_IRQ, ivar->rid,
t, t, 1);
- if (resource_int_value(name, unit, "flags", &t) == 0)
- device_set_flags(child, t);
if (resource_disabled(name, unit))
device_disable(child);
diff --git a/sys/dev/atkbdc/atkbdc_subr.c b/sys/dev/atkbdc/atkbdc_subr.c
index 153ed9f..d0476a3 100644
--- a/sys/dev/atkbdc/atkbdc_subr.c
+++ b/sys/dev/atkbdc/atkbdc_subr.c
@@ -252,8 +252,6 @@ atkbdc_add_child(device_t bus, int order, char *name, int unit)
resource_list_add(&ivar->resources, SYS_RES_IRQ, ivar->rid,
t, t, 1);
- if (resource_int_value(name, unit, "flags", &t) == 0)
- device_set_flags(child, t);
if (resource_disabled(name, unit))
device_disable(child);
OpenPOWER on IntegriCloud