summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-16 03:16:57 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-16 03:16:57 +0000
commit74c95b7f29ae970fc99cad21e8ea772eb2557bd1 (patch)
tree43770c3696a3adbe67787f9d9f8ff9d3bb30a425 /sys/dev/hme
parentac7452631f13ef6bbb59e825e8e3ebb14d8e9a46 (diff)
downloadFreeBSD-src-74c95b7f29ae970fc99cad21e8ea772eb2557bd1.zip
FreeBSD-src-74c95b7f29ae970fc99cad21e8ea772eb2557bd1.tar.gz
- Don't call pci_enable_io() in drivers (unless needed for resume).
- Don't test memory/port status and emit an error message; the PCI bus code will do this now.
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/hme/if_hme_pci.c b/sys/dev/hme/if_hme_pci.c
index 5c06c61..8a89b6b 100644
--- a/sys/dev/hme/if_hme_pci.c
+++ b/sys/dev/hme/if_hme_pci.c
@@ -137,7 +137,6 @@ hme_pci_attach(device_t dev)
* gross; but the hme comes up with neither enabled.
*/
pci_enable_busmaster(dev);
- pci_enable_io(dev, SYS_RES_MEMORY);
sc->sc_pci = 1; /* XXXXX should all be done in bus_dma. */
sc->sc_dev = dev;
OpenPOWER on IntegriCloud