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/i386/isa/npx.c | |
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/i386/isa/npx.c')
-rw-r--r-- | sys/i386/isa/npx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index 3d625ba..6b27424 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -421,8 +421,7 @@ npx_attach(dev) int flags; register_t s; - if (resource_int_value("npx", 0, "flags", &flags) != 0) - flags = 0; + flags = device_get_flags(dev); if (flags) device_printf(dev, "flags 0x%x ", flags); |