diff options
author | Scott Long <scottl@FreeBSD.org> | 2004-09-03 08:44:23 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2004-09-03 08:44:23 +0000 |
commit | 21b1acfb93264544e0790c12212aadadd49bce41 (patch) | |
tree | d1683c26b29a3213bc315bfbbd02d1fc35f85b1c /sys/dev/iir | |
parent | 7a6d2ca81bc029151bfee95fb36a35d0a2424ed8 (diff) | |
download | src-21b1acfb93264544e0790c12212aadadd49bce41.tar.gz src-21b1acfb93264544e0790c12212aadadd49bce41.zip |
Panic if given a CAM_DATA_PHYS pointer from CAM instead of trying to handle it.
It makes no sense in a PAE environment and is impossible to handle correctly.
This case is also never used right now. This should make the iir(4) driver
ready for PAE.
Notes
Notes:
svn path=/head/; revision=134692
Diffstat (limited to 'sys/dev/iir')
-rw-r--r-- | sys/dev/iir/iir.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sys/dev/iir/iir.c b/sys/dev/iir/iir.c index 0cedf4ddcaad..b1c9992827c5 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; |