aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/i4l/isdn_ppp.c
diff options
context:
space:
mode:
authorKarsten Keil <kkeil@suse.de>2007-10-08 23:37:11 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:54:57 -0400
commitd62a38d1ab350f787e4941e42a3d3e97971e38f5 (patch)
treeb1bfb1e5123e10943653f5ad5063449311ca7836 /drivers/isdn/i4l/isdn_ppp.c
parent3607c44676583e80122c1fed23f34d003cdd6979 (diff)
[ISDN]: Change I4L to use alloc_netdev().
Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/i4l/isdn_ppp.c')
-rw-r--r--drivers/isdn/i4l/isdn_ppp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c
index 387392cb3d68..0e5e59f84344 100644
--- a/drivers/isdn/i4l/isdn_ppp.c
+++ b/drivers/isdn/i4l/isdn_ppp.c
@@ -360,7 +360,7 @@ isdn_ppp_release(int min, struct file *file)
360 * isdn_ppp_free() sets is->lp to NULL and lp->ppp_slot to -1 360 * isdn_ppp_free() sets is->lp to NULL and lp->ppp_slot to -1
361 * removing the IPPP_CONNECT flag omits calling of isdn_ppp_wakeup_daemon() 361 * removing the IPPP_CONNECT flag omits calling of isdn_ppp_wakeup_daemon()
362 */ 362 */
363 isdn_net_hangup(&p->dev); 363 isdn_net_hangup(p->dev);
364 } 364 }
365 for (i = 0; i < NUM_RCV_BUFFS; i++) { 365 for (i = 0; i < NUM_RCV_BUFFS; i++) {
366 kfree(is->rq[i].buf); 366 kfree(is->rq[i].buf);
@@ -531,7 +531,7 @@ isdn_ppp_ioctl(int min, struct file *file, unsigned int cmd, unsigned long arg)
531 if (lp) { 531 if (lp) {
532 /* OK .. we are ready to send buffers */ 532 /* OK .. we are ready to send buffers */
533 is->pppcfg = val; /* isdn_ppp_xmit test for SC_ENABLE_IP !!! */ 533 is->pppcfg = val; /* isdn_ppp_xmit test for SC_ENABLE_IP !!! */
534 netif_wake_queue(&lp->netdev->dev); 534 netif_wake_queue(lp->netdev->dev);
535 break; 535 break;
536 } 536 }
537 } 537 }
@@ -1023,7 +1023,7 @@ void isdn_ppp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buf
1023static void 1023static void
1024isdn_ppp_push_higher(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buff *skb, int proto) 1024isdn_ppp_push_higher(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buff *skb, int proto)
1025{ 1025{
1026 struct net_device *dev = &net_dev->dev; 1026 struct net_device *dev = net_dev->dev;
1027 struct ippp_struct *is, *mis; 1027 struct ippp_struct *is, *mis;
1028 isdn_net_local *mlp = NULL; 1028 isdn_net_local *mlp = NULL;
1029 int slot; 1029 int slot;