patch-2.3.24 linux/include/net/irda/w83977af_ir.h
Next file: linux/include/net/irda/wrapper.h
Previous file: linux/include/net/irda/uircc.h
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Mon Oct 25 20:49:42 1999
- Orig file:
v2.3.23/linux/include/net/irda/w83977af_ir.h
- Orig date:
Sun May 30 10:27:04 1999
diff -u --recursive --new-file v2.3.23/linux/include/net/irda/w83977af_ir.h linux/include/net/irda/w83977af_ir.h
@@ -6,7 +6,7 @@
* Status: Experimental.
* Author: Paul VanderSpek
* Created at: Thu Nov 19 13:55:34 1998
- * Modified at: Mon May 3 12:07:25 1999
+ * Modified at: Fri Oct 15 16:06:46 1999
* Modified by: Dag Brattli <dagb@cs.uit.no>
*
* Copyright (c) 1998-1999 Dag Brattli, All Rights Reserved.
@@ -170,12 +170,22 @@
int tx_buff_offsets[10]; /* Offsets between frames in tx_buff */
int tx_len; /* Number of frames in tx_buff */
- struct irda_device idev;
+ 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 */
+
+ __u32 flags; /* Interface flags */
};
static inline void switch_bank( int iobase, int set)
{
- outb( set, iobase+SSR);
+ outb(set, iobase+SSR);
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)