summaryrefslogtreecommitdiffstats
path: root/sys/dev/amd/amd.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-12-14 19:20:57 +0000
committerscottl <scottl@FreeBSD.org>2002-12-14 19:20:57 +0000
commitb1c8782cb78630c917841bcd70388cb29fe44d76 (patch)
tree32e1a0524d7039cc3080c9c20c44c18fa54467f3 /sys/dev/amd/amd.h
parent6a31ca3bbad2335d31231e96245cd3e95492ffd4 (diff)
downloadFreeBSD-src-b1c8782cb78630c917841bcd70388cb29fe44d76.zip
FreeBSD-src-b1c8782cb78630c917841bcd70388cb29fe44d76.tar.gz
Convert the use of vtophys() for doing autosense to use busdma. Also correct
some error codes that get returned to CAM.
Diffstat (limited to 'sys/dev/amd/amd.h')
-rw-r--r--sys/dev/amd/amd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/amd/amd.h b/sys/dev/amd/amd.h
index 85f4f80..6171bcf 100644
--- a/sys/dev/amd/amd.h
+++ b/sys/dev/amd/amd.h
@@ -197,6 +197,10 @@ struct amd_softc {
bus_space_tag_t tag;
bus_space_handle_t bsh;
bus_dma_tag_t buffer_dmat; /* dmat for buffer I/O */
+ bus_dma_tag_t sense_dmat; /* dmat for sense buffer */
+ bus_dmamap_t sense_dmamap;
+ struct scsi_sense_data *sense_buffers;
+ bus_addr_t sense_busaddr;
int unit;
int last_phase;
OpenPOWER on IntegriCloud