patch-2.3.26 linux/include/net/irda/smc-ircc.h
Next file: linux/include/net/irda/uircc.h
Previous file: linux/include/net/irda/irport.h
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Tue Nov 2 17:07:08 1999
- Orig file:
v2.3.25/linux/include/net/irda/smc-ircc.h
- Orig date:
Mon Jun 7 16:18:58 1999
diff -u --recursive --new-file v2.3.25/linux/include/net/irda/smc-ircc.h linux/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 @@
/* 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
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)