aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hfa
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-16 03:16:57 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-16 03:16:57 +0000
commit533294b956a64b5420f2395a9a3bb047608b67fe (patch)
tree43770c3696a3adbe67787f9d9f8ff9d3bb30a425 /sys/dev/hfa
parentc047e5b1a9d3c13f345a17a28dbb2569ad68d123 (diff)
Notes
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r--sys/dev/hfa/hfa_pci.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/hfa/hfa_pci.c b/sys/dev/hfa/hfa_pci.c
index c5c9bd43fda8..f5f448fe82bb 100644
--- a/sys/dev/hfa/hfa_pci.c
+++ b/sys/dev/hfa/hfa_pci.c
@@ -129,19 +129,6 @@ hfa_pci_attach (dev)
error = 0;
pci_enable_busmaster(dev);
- pci_enable_io(dev, SYS_RES_MEMORY);
-
- command = pci_read_config(dev, PCIR_COMMAND, 2);
- if ((command & PCIM_CMD_BUSMASTEREN) == 0) {
- device_printf(dev, "Unable to enable PCI busmastering.\n");
- error = ENXIO;
- goto fail;
- }
- if ((command & PCIM_CMD_MEMEN) == 0) {
- device_printf(dev, "Unable to enable PCI memory resources.\n");
- error = ENXIO;
- goto fail;
- }
sc->mem_rid = PCA200E_PCI_MEMBASE;
sc->mem_type = SYS_RES_MEMORY;