diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2005-09-21 08:33:05 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2005-09-21 08:33:05 +0000 |
commit | 3804d310f307192af4be11661dcf3d01632eda82 (patch) | |
tree | 7d92833871d47989f0a82720138706259530cefe /sys/dev/ic/amivar.h | |
parent | 7dfdd409e944b8cd621bf2a3bc7dc3ac815579ef (diff) |
allocate space in each ccb to store a passthrough command
Diffstat (limited to 'sys/dev/ic/amivar.h')
-rw-r--r-- | sys/dev/ic/amivar.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/amivar.h b/sys/dev/ic/amivar.h index 6202d9b9c8d..cca134c54d5 100644 --- a/sys/dev/ic/amivar.h +++ b/sys/dev/ic/amivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: amivar.h,v 1.23 2005/09/19 07:45:28 dlg Exp $ */ +/* $OpenBSD: amivar.h,v 1.24 2005/09/21 08:33:04 dlg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -33,6 +33,8 @@ struct ami_ccb { struct ami_softc *ccb_sc; struct ami_iocmd *ccb_cmd; paddr_t ccb_cmdpa; + struct ami_passthrough *ccb_pt; + paddr_t ccb_ptpa; struct ami_sgent *ccb_sglist; paddr_t ccb_sglistpa; struct scsi_xfer *ccb_xs; @@ -94,6 +96,10 @@ struct ami_softc { bus_dmamap_t sc_cmdmap; bus_dma_segment_t sc_cmdseg[1]; + void *sc_pts; + bus_dmamap_t sc_ptmap; + bus_dma_segment_t sc_ptseg[1]; + void *sc_sgents; bus_dmamap_t sc_sgmap; bus_dma_segment_t sc_sgseg[1]; |