From 3804d310f307192af4be11661dcf3d01632eda82 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 21 Sep 2005 08:33:05 +0000 Subject: allocate space in each ccb to store a passthrough command --- sys/dev/ic/amivar.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/dev/ic/amivar.h') 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]; -- cgit v1.2.3