aboutsummaryrefslogtreecommitdiff
path: root/at76c503.h
diff options
context:
space:
mode:
authorjal2 <jal2>2003-03-21 22:01:32 +0000
committerjal2 <jal2>2003-03-21 22:01:32 +0000
commitb6429a8500d6c15967fd11f4220af29691a7480c (patch)
treecb5e02301af45d1d10a85444244d990b8a045315 /at76c503.h
parentabe1ce11bc6d6e3bea5c3955574e8bbcbe92a4f3 (diff)
Alex 'First phase of RX optimization' patch (email, 2003-02-21)alex_patch_0_9_first_rxopt
Diffstat (limited to 'at76c503.h')
-rw-r--r--at76c503.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/at76c503.h b/at76c503.h
index 270a316..dbc9a3b 100644
--- a/at76c503.h
+++ b/at76c503.h
@@ -152,6 +152,7 @@ struct at76c503_command{
} __attribute__ ((packed));
#define MAX_PACKET 1536
+#define AT76C503_RX_HDRLEN 12
struct at76c503_rx_buffer {
u16 wlength;
@@ -372,8 +373,7 @@ struct at76c503 {
char num_bulk_in; /* number of bulk in endpoints we have */
char num_bulk_out; /* number of bulk out endpoints we have */
- unsigned char * bulk_in_buffer; /* the buffer to receive data */
- int bulk_in_size; /* the size of the receive buffer */
+ struct sk_buff * rx_skb; /* skbuff for receiving packets */
__u8 bulk_in_endpointAddr; /* the address of the bulk in endpoint */
unsigned char * bulk_out_buffer; /* the buffer to send data */