diff options
author | Nate Lawson <njl@FreeBSD.org> | 2004-10-14 22:21:59 +0000 |
---|---|---|
committer | Nate Lawson <njl@FreeBSD.org> | 2004-10-14 22:21:59 +0000 |
commit | e5979322ba19bf6972057bbd2020b03d31f0120e (patch) | |
tree | 0f9116b3f1c78782e732cdc488fb4b329d06e0b3 /sys/i386/isa | |
parent | d749cd6f7c530ad3e705436f0221a8435d69620e (diff) | |
download | src-e5979322ba19bf6972057bbd2020b03d31f0120e.tar.gz src-e5979322ba19bf6972057bbd2020b03d31f0120e.zip |
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
Notes
Notes:
svn path=/head/; revision=136520
Diffstat (limited to 'sys/i386/isa')
-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 3d625baef4db..6b274242d0d3 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); |