diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-02-18 22:06:10 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-02-18 22:06:10 +0000 |
commit | aba4e552a2f2c1492441acbccedd8e0a4c53f916 (patch) | |
tree | 23921efb2b4af590160f034a89ff3da2ecca6e47 /net/irda | |
parent | 9e17e1aa1cf1cb497d2f67147a51831888affcf3 (diff) |
Merge with Linux 2.3.43.
Diffstat (limited to 'net/irda')
-rw-r--r-- | net/irda/irda_device.c | 10 | ||||
-rw-r--r-- | net/irda/wrapper.c | 30 |
2 files changed, 19 insertions, 21 deletions
diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c index 0e272947d..d1d89b1e4 100644 --- a/net/irda/irda_device.c +++ b/net/irda/irda_device.c @@ -6,7 +6,7 @@ * Status: Experimental. * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Sat Oct 9 09:22:27 1999 - * Modified at: Wed Jan 5 14:17:16 2000 + * Modified at: Sun Jan 23 17:41:24 2000 * Modified by: Dag Brattli <dagb@cs.uit.no> * * Copyright (c) 1999-2000 Dag Brattli, All Rights Reserved. @@ -55,7 +55,8 @@ #include <net/irda/wrapper.h> extern int irtty_init(void); -extern int pc87108_init(void); +extern int nsc_ircc_init(void); +extern int ircc_init(void); extern int w83977af_init(void); extern int esi_init(void); extern int tekram_init(void); @@ -121,7 +122,7 @@ int __init irda_device_init( void) w83977af_init(); #endif #ifdef CONFIG_NSC_FIR - pc87108_init(); + nsc_ircc_init(); #endif #ifdef CONFIG_TOSHIBA_FIR toshoboe_init(); @@ -144,9 +145,6 @@ int __init irda_device_init( void) #ifdef CONFIG_LITELINK_DONGLE litelink_init(); #endif -#ifdef CONFIG_AIRPORT_DONGLE - airport_init(); -#endif #ifdef CONFIG_OLD_BELKIN old_belkin_init(); #endif diff --git a/net/irda/wrapper.c b/net/irda/wrapper.c index 13e4d0465..623328af1 100644 --- a/net/irda/wrapper.c +++ b/net/irda/wrapper.c @@ -6,12 +6,12 @@ * Status: Stable * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Mon Aug 4 20:40:53 1997 - * Modified at: Sun Dec 12 13:46:40 1999 + * Modified at: Fri Jan 28 13:21:09 2000 * Modified by: Dag Brattli <dagb@cs.uit.no> * Modified at: Fri May 28 3:11 CST 1999 * Modified by: Horst von Brand <vonbrand@sleipnir.valparaiso.cl> * - * Copyright (c) 1998-1999 Dag Brattli <dagb@cs.uit.no>, + * Copyright (c) 1998-2000 Dag Brattli <dagb@cs.uit.no>, * All Rights Reserved. * * This program is free software; you can redistribute it and/or @@ -41,19 +41,19 @@ static inline int stuff_byte(__u8 byte, __u8 *buf); static void state_outside_frame(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte); + iobuff_t *rx_buff, __u8 byte); static void state_begin_frame(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte); + iobuff_t *rx_buff, __u8 byte); static void state_link_escape(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte); + iobuff_t *rx_buff, __u8 byte); static void state_inside_frame(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte); + iobuff_t *rx_buff, __u8 byte); static void (*state[])(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte) = + iobuff_t *rx_buff, __u8 byte) = { state_outside_frame, state_begin_frame, @@ -180,7 +180,7 @@ inline void async_bump(struct net_device *dev, struct net_device_stats *stats, return; } - /* Align IP header to 20 bytes */ + /* Align IP header to 20 bytes */ skb_reserve(skb, 1); /* Copy data without CRC */ @@ -205,7 +205,7 @@ inline void async_bump(struct net_device *dev, struct net_device_stats *stats, */ inline void async_unwrap_char(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte) + iobuff_t *rx_buff, __u8 byte) { (*state[rx_buff->state])(dev, stats, rx_buff, byte); } @@ -218,7 +218,7 @@ inline void async_unwrap_char(struct net_device *dev, */ static void state_outside_frame(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte) + iobuff_t *rx_buff, __u8 byte) { switch (byte) { case BOF: @@ -245,7 +245,7 @@ static void state_outside_frame(struct net_device *dev, */ static void state_begin_frame(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte) + iobuff_t *rx_buff, __u8 byte) { /* Time to initialize receive buffer */ rx_buff->data = rx_buff->head; @@ -276,14 +276,14 @@ static void state_begin_frame(struct net_device *dev, } /* - * Function state_link_escape (idev, byte) + * Function state_link_escape (dev, byte) * * Found link escape character * */ static void state_link_escape(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte) + iobuff_t *rx_buff, __u8 byte) { switch (byte) { case BOF: /* New frame? */ @@ -315,14 +315,14 @@ static void state_link_escape(struct net_device *dev, } /* - * Function state_inside_frame (idev, byte) + * Function state_inside_frame (dev, byte) * * Handle bytes received within a frame * */ static void state_inside_frame(struct net_device *dev, struct net_device_stats *stats, - struct iobuff_t *rx_buff, __u8 byte) + iobuff_t *rx_buff, __u8 byte) { int ret = 0; |