git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
net
/
irda
/
irnet
/
irnet_ppp.c
diff --git
a/net/irda/irnet/irnet_ppp.c
b/net/irda/irnet/irnet_ppp.c
index
b81d56c
..
123f92f
100644
(file)
--- a/
net/irda/irnet/irnet_ppp.c
+++ b/
net/irda/irnet/irnet_ppp.c
@@
-16,6
+16,12
@@
#include "irnet_ppp.h" /* Private header */
/* Please put other headers in irnet.h - Thanks */
#include "irnet_ppp.h" /* Private header */
/* Please put other headers in irnet.h - Thanks */
+/* Generic PPP callbacks (to call us) */
+static struct ppp_channel_ops irnet_ppp_ops = {
+ .start_xmit = ppp_irnet_send,
+ .ioctl = ppp_irnet_ioctl
+};
+
/************************* CONTROL CHANNEL *************************/
/*
* When a pppd instance is not active on /dev/irnet, it acts as a control
/************************* CONTROL CHANNEL *************************/
/*
* When a pppd instance is not active on /dev/irnet, it acts as a control
@@
-1095,7
+1101,7
@@
irnet_init(void)
/*
* Module exit
*/
/*
* Module exit
*/
-void __exit
+
static
void __exit
irnet_cleanup(void)
{
irda_irnet_cleanup();
irnet_cleanup(void)
{
irda_irnet_cleanup();
@@
-1111,3
+1117,4
@@
module_exit(irnet_cleanup);
MODULE_AUTHOR("Jean Tourrilhes <jt@hpl.hp.com>");
MODULE_DESCRIPTION("IrNET : Synchronous PPP over IrDA");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Jean Tourrilhes <jt@hpl.hp.com>");
MODULE_DESCRIPTION("IrNET : Synchronous PPP over IrDA");
MODULE_LICENSE("GPL");
+MODULE_ALIAS_CHARDEV(10, 187);