summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio_pci.c
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/sio/sio_pci.c
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/sio/sio_pci.c')
-rw-r--r--sys/dev/sio/sio_pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/sio/sio_pci.c b/sys/dev/sio/sio_pci.c
index efd32ba..d79f12a 100644
--- a/sys/dev/sio/sio_pci.c
+++ b/sys/dev/sio/sio_pci.c
@@ -96,7 +96,6 @@ sio_pci_attach(dev)
{
u_int32_t type;
struct pci_ids *id;
- int flags;
type = pci_get_devid(dev);
id = pci_ids;
@@ -105,9 +104,6 @@ sio_pci_attach(dev)
if (id->desc == NULL)
return (ENXIO);
sio_pci_kludge_unit(dev);
- if (resource_int_value("sio", device_get_unit(dev), "flags", &flags)
- == 0)
- device_set_flags(dev, flags);
return (sioattach(dev, id->rid, 0UL));
}
OpenPOWER on IntegriCloud