summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti/if_tireg.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-03-21 07:17:27 +0000
committerscottl <scottl@FreeBSD.org>2005-03-21 07:17:27 +0000
commit677dba2c50dd1c74f69ce0884d597d8acc791637 (patch)
treee42327fda9944e594a891cfeefbdda788fc8b0c2 /sys/dev/ti/if_tireg.h
parent6d63884eb360b53e6d726ceb4c7021677f1b0ab3 (diff)
downloadFreeBSD-src-677dba2c50dd1c74f69ce0884d597d8acc791637.zip
FreeBSD-src-677dba2c50dd1c74f69ce0884d597d8acc791637.tar.gz
Start the process of modernizing the Tigon driver by using busdma for the
descriptor and configuration data. Thanks to Martin Nilsson for providing hardware.
Diffstat (limited to 'sys/dev/ti/if_tireg.h')
-rw-r--r--sys/dev/ti/if_tireg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ti/if_tireg.h b/sys/dev/ti/if_tireg.h
index e38cdd6..6e438d4 100644
--- a/sys/dev/ti/if_tireg.h
+++ b/sys/dev/ti/if_tireg.h
@@ -1000,6 +1000,10 @@ struct ti_softc {
u_int8_t ti_copper; /* 1000baseTX card */
u_int8_t ti_linkstat; /* Link state */
int ti_hdrsplit; /* enable header splitting */
+ bus_dma_tag_t ti_parent_dmat;
+ bus_dma_tag_t ti_rdata_dmat;
+ bus_dmamap_t ti_rdata_dmamap;
+ uint32_t ti_rdata_phys;
struct ti_ring_data *ti_rdata; /* rings */
struct ti_chain_data ti_cdata; /* mbufs */
#define ti_ev_prodidx ti_rdata->ti_ev_prodidx_r
OpenPOWER on IntegriCloud