summaryrefslogtreecommitdiff
path: root/sys/dev/ic/malo.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/malo.h')
-rw-r--r--sys/dev/ic/malo.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/sys/dev/ic/malo.h b/sys/dev/ic/malo.h
index aec76150c15..a6f36994ec9 100644
--- a/sys/dev/ic/malo.h
+++ b/sys/dev/ic/malo.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: malo.h,v 1.3 2006/10/17 10:31:26 claudio Exp $ */
+/* $OpenBSD: malo.h,v 1.4 2006/10/17 19:40:39 claudio Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -30,11 +30,27 @@ struct malo_rx_ring {
int next;
};
+struct malo_tx_desc;
+struct malo_tx_data;
+
+struct malo_tx_ring {
+ bus_dmamap_t map;
+ bus_dma_segment_t seg;
+ bus_addr_t physaddr;
+ struct malo_tx_desc *desc;
+ struct malo_tx_data *data;
+ int count;
+ int queued;
+ int cur;
+ int next;
+ int stat;
+};
+
struct malo_softc {
struct device sc_dev;
struct ieee80211com sc_ic;
- struct malo_rx_ring sc_rxring0;
- struct malo_rx_ring sc_rxring1;
+ struct malo_rx_ring sc_rxring;
+ struct malo_tx_ring sc_txring;
bus_dma_tag_t sc_dmat;
bus_space_tag_t sc_mem1_bt;