aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata/ata-pci.c')
-rw-r--r--sys/dev/ata/ata-pci.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c
index 48a31e69883d..426c1ee36e0b 100644
--- a/sys/dev/ata/ata-pci.c
+++ b/sys/dev/ata/ata-pci.c
@@ -147,17 +147,9 @@ ata_pci_detach(device_t dev)
if (ctlr->chipdeinit != NULL)
ctlr->chipdeinit(dev);
if (ctlr->r_res2) {
-#ifdef __sparc64__
- bus_space_unmap(rman_get_bustag(ctlr->r_res2),
- rman_get_bushandle(ctlr->r_res2), rman_get_size(ctlr->r_res2));
-#endif
bus_release_resource(dev, ctlr->r_type2, ctlr->r_rid2, ctlr->r_res2);
}
if (ctlr->r_res1) {
-#ifdef __sparc64__
- bus_space_unmap(rman_get_bustag(ctlr->r_res1),
- rman_get_bushandle(ctlr->r_res1), rman_get_size(ctlr->r_res1));
-#endif
bus_release_resource(dev, ctlr->r_type1, ctlr->r_rid1, ctlr->r_res1);
}