diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-04-16 03:16:57 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-04-16 03:16:57 +0000 |
commit | 74c95b7f29ae970fc99cad21e8ea772eb2557bd1 (patch) | |
tree | 43770c3696a3adbe67787f9d9f8ff9d3bb30a425 /sys/dev/sound/pci | |
parent | ac7452631f13ef6bbb59e825e8e3ebb14d8e9a46 (diff) | |
download | FreeBSD-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/sound/pci')
-rw-r--r-- | sys/dev/sound/pci/ich.c | 1 | ||||
-rw-r--r-- | sys/dev/sound/pci/via8233.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/ich.c b/sys/dev/sound/pci/ich.c index 610dee4..aa5e856 100644 --- a/sys/dev/sound/pci/ich.c +++ b/sys/dev/sound/pci/ich.c @@ -685,7 +685,6 @@ ich_pci_attach(device_t dev) pci_write_config(dev, PCIR_ICH_LEGACY, ICH_LEGACY_ENABLE, 1); } - pci_enable_io(dev, SYS_RES_IOPORT); /* * Enable bus master. On ich4 this may prevent the detection of * the primary codec becoming ready in ich_init(). diff --git a/sys/dev/sound/pci/via8233.c b/sys/dev/sound/pci/via8233.c index 3988445..883012c 100644 --- a/sys/dev/sound/pci/via8233.c +++ b/sys/dev/sound/pci/via8233.c @@ -739,7 +739,6 @@ via_attach(device_t dev) return ENXIO; } - pci_enable_io(dev, SYS_RES_IOPORT); pci_set_powerstate(dev, PCI_POWERSTATE_D0); pci_enable_busmaster(dev); |