diff options
Diffstat (limited to 'net/irda/irmod.c')
-rw-r--r-- | net/irda/irmod.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/net/irda/irmod.c b/net/irda/irmod.c index 2869b16e417d..826e6c4ca5d5 100644 --- a/net/irda/irmod.c +++ b/net/irda/irmod.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /********************************************************************* | 1 | /********************************************************************* |
2 | * | 2 | * |
3 | * Filename: irmod.c | 3 | * Filename: irmod.c |
4 | * Version: 0.9 | 4 | * Version: 0.9 |
5 | * Description: IrDA stack main entry points | 5 | * Description: IrDA stack main entry points |
@@ -8,19 +8,19 @@ | |||
8 | * Created at: Mon Dec 15 13:55:39 1997 | 8 | * Created at: Mon Dec 15 13:55:39 1997 |
9 | * Modified at: Wed Jan 5 15:12:41 2000 | 9 | * Modified at: Wed Jan 5 15:12:41 2000 |
10 | * Modified by: Dag Brattli <dagb@cs.uit.no> | 10 | * Modified by: Dag Brattli <dagb@cs.uit.no> |
11 | * | 11 | * |
12 | * Copyright (c) 1997, 1999-2000 Dag Brattli, All Rights Reserved. | 12 | * Copyright (c) 1997, 1999-2000 Dag Brattli, All Rights Reserved. |
13 | * Copyright (c) 2000-2004 Jean Tourrilhes <jt@hpl.hp.com> | 13 | * Copyright (c) 2000-2004 Jean Tourrilhes <jt@hpl.hp.com> |
14 | * | 14 | * |
15 | * This program is free software; you can redistribute it and/or | 15 | * This program is free software; you can redistribute it and/or |
16 | * modify it under the terms of the GNU General Public License as | 16 | * modify it under the terms of the GNU General Public License as |
17 | * published by the Free Software Foundation; either version 2 of | 17 | * published by the Free Software Foundation; either version 2 of |
18 | * the License, or (at your option) any later version. | 18 | * the License, or (at your option) any later version. |
19 | * | 19 | * |
20 | * Neither Dag Brattli nor University of Tromsų admit liability nor | 20 | * Neither Dag Brattli nor University of Tromsų admit liability nor |
21 | * provide warranty for any of this software. This material is | 21 | * provide warranty for any of this software. This material is |
22 | * provided "AS-IS" and at no charge. | 22 | * provided "AS-IS" and at no charge. |
23 | * | 23 | * |
24 | ********************************************************************/ | 24 | ********************************************************************/ |
25 | 25 | ||
26 | /* | 26 | /* |
@@ -52,7 +52,7 @@ extern void irda_sysctl_unregister(void); | |||
52 | extern int irsock_init(void); | 52 | extern int irsock_init(void); |
53 | extern void irsock_cleanup(void); | 53 | extern void irsock_cleanup(void); |
54 | /* irlap_frame.c */ | 54 | /* irlap_frame.c */ |
55 | extern int irlap_driver_rcv(struct sk_buff *, struct net_device *, | 55 | extern int irlap_driver_rcv(struct sk_buff *, struct net_device *, |
56 | struct packet_type *, struct net_device *); | 56 | struct packet_type *, struct net_device *); |
57 | 57 | ||
58 | /* | 58 | /* |
@@ -104,16 +104,16 @@ static int __init irda_init(void) | |||
104 | IRDA_DEBUG(0, "%s()\n", __FUNCTION__); | 104 | IRDA_DEBUG(0, "%s()\n", __FUNCTION__); |
105 | 105 | ||
106 | /* Lower layer of the stack */ | 106 | /* Lower layer of the stack */ |
107 | irlmp_init(); | 107 | irlmp_init(); |
108 | irlap_init(); | 108 | irlap_init(); |
109 | 109 | ||
110 | /* Higher layers of the stack */ | 110 | /* Higher layers of the stack */ |
111 | iriap_init(); | 111 | iriap_init(); |
112 | irttp_init(); | 112 | irttp_init(); |
113 | irsock_init(); | 113 | irsock_init(); |
114 | 114 | ||
115 | /* Add IrDA packet type (Start receiving packets) */ | 115 | /* Add IrDA packet type (Start receiving packets) */ |
116 | dev_add_pack(&irda_packet_type); | 116 | dev_add_pack(&irda_packet_type); |
117 | 117 | ||
118 | /* External APIs */ | 118 | /* External APIs */ |
119 | #ifdef CONFIG_PROC_FS | 119 | #ifdef CONFIG_PROC_FS |
@@ -124,7 +124,7 @@ static int __init irda_init(void) | |||
124 | #endif | 124 | #endif |
125 | 125 | ||
126 | /* Driver/dongle support */ | 126 | /* Driver/dongle support */ |
127 | irda_device_init(); | 127 | irda_device_init(); |
128 | 128 | ||
129 | return 0; | 129 | return 0; |
130 | } | 130 | } |
@@ -140,14 +140,14 @@ static void __exit irda_cleanup(void) | |||
140 | /* Remove External APIs */ | 140 | /* Remove External APIs */ |
141 | #ifdef CONFIG_SYSCTL | 141 | #ifdef CONFIG_SYSCTL |
142 | irda_sysctl_unregister(); | 142 | irda_sysctl_unregister(); |
143 | #endif | 143 | #endif |
144 | #ifdef CONFIG_PROC_FS | 144 | #ifdef CONFIG_PROC_FS |
145 | irda_proc_unregister(); | 145 | irda_proc_unregister(); |
146 | #endif | 146 | #endif |
147 | 147 | ||
148 | /* Remove IrDA packet type (stop receiving packets) */ | 148 | /* Remove IrDA packet type (stop receiving packets) */ |
149 | dev_remove_pack(&irda_packet_type); | 149 | dev_remove_pack(&irda_packet_type); |
150 | 150 | ||
151 | /* Remove higher layers */ | 151 | /* Remove higher layers */ |
152 | irsock_cleanup(); | 152 | irsock_cleanup(); |
153 | irttp_cleanup(); | 153 | irttp_cleanup(); |
@@ -177,8 +177,8 @@ static void __exit irda_cleanup(void) | |||
177 | */ | 177 | */ |
178 | subsys_initcall(irda_init); | 178 | subsys_initcall(irda_init); |
179 | module_exit(irda_cleanup); | 179 | module_exit(irda_cleanup); |
180 | 180 | ||
181 | MODULE_AUTHOR("Dag Brattli <dagb@cs.uit.no> & Jean Tourrilhes <jt@hpl.hp.com>"); | 181 | MODULE_AUTHOR("Dag Brattli <dagb@cs.uit.no> & Jean Tourrilhes <jt@hpl.hp.com>"); |
182 | MODULE_DESCRIPTION("The Linux IrDA Protocol Stack"); | 182 | MODULE_DESCRIPTION("The Linux IrDA Protocol Stack"); |
183 | MODULE_LICENSE("GPL"); | 183 | MODULE_LICENSE("GPL"); |
184 | MODULE_ALIAS_NETPROTO(PF_IRDA); | 184 | MODULE_ALIAS_NETPROTO(PF_IRDA); |