aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iir/iir.c
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2004-09-03 08:44:23 +0000
committerScott Long <scottl@FreeBSD.org>2004-09-03 08:44:23 +0000
commit21b1acfb93264544e0790c12212aadadd49bce41 (patch)
treed1683c26b29a3213bc315bfbbd02d1fc35f85b1c /sys/dev/iir/iir.c
parent7a6d2ca81bc029151bfee95fb36a35d0a2424ed8 (diff)
Notes
Diffstat (limited to 'sys/dev/iir/iir.c')
-rw-r--r--sys/dev/iir/iir.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/sys/dev/iir/iir.c b/sys/dev/iir/iir.c
index 0cedf4ddcaad5..b1c9992827c58 100644
--- a/sys/dev/iir/iir.c
+++ b/sys/dev/iir/iir.c
@@ -874,13 +874,7 @@ gdt_raw_cmd(struct gdt_softc *gdt, union ccb *ccb, int *lock)
}
splx(s);
} else {
- struct bus_dma_segment seg;
-
- /* Pointer to physical buffer */
- seg.ds_addr =
- (bus_addr_t)ccb->csio.data_ptr;
- seg.ds_len = ccb->csio.dxfer_len;
- gdtexecuteccb(gccb, &seg, 1, 0);
+ panic("iir: CAM_DATA_PHYS not supported");
}
} else {
struct bus_dma_segment *segs;
@@ -989,13 +983,7 @@ gdt_cache_cmd(struct gdt_softc *gdt, union ccb *ccb, int *lock)
}
splx(s);
} else {
- struct bus_dma_segment seg;
-
- /* Pointer to physical buffer */
- seg.ds_addr =
- (bus_addr_t)ccb->csio.data_ptr;
- seg.ds_len = ccb->csio.dxfer_len;
- gdtexecuteccb(gccb, &seg, 1, 0);
+ panic("iir: CAM_DATA_PHYS not supported");
}
} else {
struct bus_dma_segment *segs;