summaryrefslogtreecommitdiffstats
path: root/include/net/irda/smc-ircc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/irda/smc-ircc.h')
-rw-r--r--include/net/irda/smc-ircc.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/include/net/irda/smc-ircc.h b/include/net/irda/smc-ircc.h
index 2c5cbf4fd..0bb336b93 100644
--- a/include/net/irda/smc-ircc.h
+++ b/include/net/irda/smc-ircc.h
@@ -1,6 +1,6 @@
/*********************************************************************
*
- * Filename: smc.h
+ * Filename: smc-ircc.h
* Version:
* Description:
* Status: Experimental.
@@ -21,6 +21,8 @@
*
********************************************************************/
+#include <net/irda/irport.h>
+
#ifndef SMC_IRCC_H
#define SMC_IRCC_H
@@ -149,12 +151,26 @@ struct st_fifo {
/* Private data for each instance */
struct ircc_cb {
+ struct net_device *netdev; /* Yes! we are some kind of netdevice */
+ struct net_device_stats stats;
+
+ struct irlap_cb *irlap; /* The link layer we are binded to */
+
+ struct chipio_t io; /* IrDA controller information */
+ struct iobuff_t tx_buff; /* Transmit buffer */
+ struct iobuff_t rx_buff; /* Receive buffer */
+ struct qos_info qos; /* QoS capabilities for this device */
+
+ struct irport_cb irport;
+
+ __u32 flags; /* Interface flags */
+
struct st_fifo st_fifo;
int tx_buff_offsets[10]; /* Offsets between frames in tx_buff */
- int tx_len; /* Number of frames in tx_buff */
+ int tx_len; /* Number of frames in tx_buff */
+
- struct irda_device idev;
};
#endif