arc-rawmode.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | arc-rawmode.c (f03aa2d89ad600a1ed21a223f196776f217cfe00) |
---|---|
1/* 2 * Linux ARCnet driver - "raw mode" packet encapsulation (no soft headers) 3 * 4 * Written 1994-1999 by Avery Pennarun. 5 * Derived from skeleton.c by Donald Becker. 6 * 7 * Special thanks to Contemporary Controls, Inc. (www.ccontrols.com) 8 * for sponsoring the further development of this driver. --- 28 unchanged lines hidden (view full) --- 37 38static void rx(struct net_device *dev, int bufnum, 39 struct archdr *pkthdr, int length); 40static int build_header(struct sk_buff *skb, struct net_device *dev, 41 unsigned short type, uint8_t daddr); 42static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, 43 int bufnum); 44 | 1/* 2 * Linux ARCnet driver - "raw mode" packet encapsulation (no soft headers) 3 * 4 * Written 1994-1999 by Avery Pennarun. 5 * Derived from skeleton.c by Donald Becker. 6 * 7 * Special thanks to Contemporary Controls, Inc. (www.ccontrols.com) 8 * for sponsoring the further development of this driver. --- 28 unchanged lines hidden (view full) --- 37 38static void rx(struct net_device *dev, int bufnum, 39 struct archdr *pkthdr, int length); 40static int build_header(struct sk_buff *skb, struct net_device *dev, 41 unsigned short type, uint8_t daddr); 42static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, 43 int bufnum); 44 |
45struct ArcProto rawmode_proto = | 45static struct ArcProto rawmode_proto = |
46{ 47 .suffix = 'r', 48 .mtu = XMTU, 49 .rx = rx, 50 .build_header = build_header, 51 .prepare_tx = prepare_tx, 52 .continue_tx = NULL, 53 .ack_tx = NULL --- 151 unchanged lines hidden --- | 46{ 47 .suffix = 'r', 48 .mtu = XMTU, 49 .rx = rx, 50 .build_header = build_header, 51 .prepare_tx = prepare_tx, 52 .continue_tx = NULL, 53 .ack_tx = NULL --- 151 unchanged lines hidden --- |