diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-19 20:48:03 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-19 20:48:03 +0000 |
commit | d1f055fe4fdbb78e5e1449ec1d3e6a221ceb6960 (patch) | |
tree | 30e467f48802e27dd3324e285bf2150181216f7e /sys/dev | |
parent | b17b5966654d8347623ebf5cfcf952ae3a80905f (diff) |
proper dmaable memory allocations; oops
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/twevar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/twevar.h b/sys/dev/ic/twevar.h index 98d75ed75d8..dc82a65c839 100644 --- a/sys/dev/ic/twevar.h +++ b/sys/dev/ic/twevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: twevar.h,v 1.1 2000/09/15 16:56:13 mickey Exp $ */ +/* $OpenBSD: twevar.h,v 1.2 2001/02/19 20:48:02 mickey Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -46,6 +46,7 @@ struct twe_ccb { void *ccb_data; void *ccb_realdata; bus_dmamap_t ccb_dmamap; + bus_dma_segment_t ccb_2bseg; }; typedef TAILQ_HEAD(twe_queue_head, twe_ccb) twe_queue_head; @@ -61,6 +62,7 @@ struct twe_softc { void *sc_cmds; bus_dmamap_t sc_cmdmap; + bus_dma_segment_t sc_cmdseg; struct twe_ccb sc_ccbs[TWE_MAXCMDS]; twe_queue_head sc_free_ccb; twe_queue_head sc_ccbq; |