projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ixp4xx: add Mikael Petterssons patch works for 2.6.33 & 2.6.35
[openwrt.git]
/
target
/
linux
/
generic-2.4
/
patches
/
200-i4l.patch
diff --git
a/target/linux/generic-2.4/patches/200-i4l.patch
b/target/linux/generic-2.4/patches/200-i4l.patch
index
c735255
..
8f7caa8
100644
(file)
--- a/
target/linux/generic-2.4/patches/200-i4l.patch
+++ b/
target/linux/generic-2.4/patches/200-i4l.patch
@@
-14460,7
+14460,7
@@
#ifdef CONFIG_NETDEVICES
case IIOCNETAIF:
/* Add a network-interface */
#ifdef CONFIG_NETDEVICES
case IIOCNETAIF:
/* Add a network-interface */
-@@ -165
4,22 +1808
,12 @@ isdn_open(struct inode *ino, struct file
+@@ -165
7,22 +1811
,12 @@ isdn_open(struct inode *ino, struct file
int chidx;
int retval = -ENODEV;
int chidx;
int retval = -ENODEV;
@@
-14487,7
+14487,7
@@
}
if (!dev->channels)
goto out;
}
if (!dev->channels)
goto out;
-@@ -169
2,6 +1836
,9 @@ isdn_open(struct inode *ino, struct file
+@@ -169
5,6 +1839
,9 @@ isdn_open(struct inode *ino, struct file
if (drvidx < 0)
goto out;
isdn_lock_drivers();
if (drvidx < 0)
goto out;
isdn_lock_drivers();
@@
-14497,7
+14497,7
@@
retval = 0;
goto out;
}
retval = 0;
goto out;
}
-@@ -170
4,6 +1851
,10 @@ isdn_open(struct inode *ino, struct file
+@@ -170
7,6 +1854
,10 @@ isdn_open(struct inode *ino, struct file
}
#endif
out:
}
#endif
out:
@@
-14508,7
+14508,7
@@
return retval;
}
return retval;
}
-@@ -171
2,25 +1863
,11 @@ isdn_close(struct inode *ino, struct fil
+@@ -171
5,25 +1866
,11 @@ isdn_close(struct inode *ino, struct fil
{
uint minor = MINOR(ino->i_rdev);
{
uint minor = MINOR(ino->i_rdev);
@@
-14537,7
+14537,7
@@
}
isdn_unlock_drivers();
if (minor <= ISDN_MINOR_BMAX)
}
isdn_unlock_drivers();
if (minor <= ISDN_MINOR_BMAX)
-@@ -17
38,6 +1875
,12 @@ isdn_close(struct inode *ino, struct fil
+@@ -17
41,6 +1878
,12 @@ isdn_close(struct inode *ino, struct fil
if (minor <= ISDN_MINOR_CTRLMAX) {
if (dev->profd == current)
dev->profd = NULL;
if (minor <= ISDN_MINOR_CTRLMAX) {
if (dev->profd == current)
dev->profd = NULL;
@@
-14550,7
+14550,7
@@
goto out;
}
#ifdef CONFIG_ISDN_PPP
goto out;
}
#ifdef CONFIG_ISDN_PPP
-@@ -174
6,13 +1889
,19 @@ isdn_close(struct inode *ino, struct fil
+@@ -174
9,13 +1892
,19 @@ isdn_close(struct inode *ino, struct fil
#endif
out:
#endif
out:
@@
-14570,7
+14570,7
@@
llseek: no_llseek,
read: isdn_read,
write: isdn_write,
llseek: no_llseek,
read: isdn_read,
write: isdn_write,
-@@ -180
5,6 +1954
,15 @@ isdn_get_free_channel(int usage, int l2_
+@@ -180
8,6 +1957
,15 @@ isdn_get_free_channel(int usage, int l2_
if (USG_NONE(dev->usage[i]) &&
(dev->drvmap[i] != -1)) {
int d = dev->drvmap[i];
if (USG_NONE(dev->usage[i]) &&
(dev->drvmap[i] != -1)) {
int d = dev->drvmap[i];
@@
-14586,7
+14586,7
@@
if ((dev->usage[i] & ISDN_USAGE_EXCLUSIVE) &&
((pre_dev != d) || (pre_chan != dev->chanmap[i])))
continue;
if ((dev->usage[i] & ISDN_USAGE_EXCLUSIVE) &&
((pre_dev != d) || (pre_chan != dev->chanmap[i])))
continue;
-@@ -182
3,7 +1981
,11 @@ isdn_get_free_channel(int usage, int l2_
+@@ -182
6,7 +1984
,11 @@ isdn_get_free_channel(int usage, int l2_
restore_flags(flags);
return i;
} else {
restore_flags(flags);
return i;
} else {
@@
-14598,7
+14598,7
@@
dev->usage[i] &= ISDN_USAGE_EXCLUSIVE;
dev->usage[i] |= usage;
isdn_info_update();
dev->usage[i] &= ISDN_USAGE_EXCLUSIVE;
dev->usage[i] |= usage;
isdn_info_update();
-@@ -201
0,7 +2172
,7 @@ isdn_add_channels(driver *d, int drvidx,
+@@ -201
3,7 +2175
,7 @@ isdn_add_channels(driver *d, int drvidx,
if ((adding) && (d->rcverr))
kfree(d->rcverr);
if ((adding) && (d->rcverr))
kfree(d->rcverr);
@@
-14607,7
+14607,7
@@
printk(KERN_WARNING "register_isdn: Could not alloc rcverr\n");
return -1;
}
printk(KERN_WARNING "register_isdn: Could not alloc rcverr\n");
return -1;
}
-@@ -20
18,7 +2180
,7 @@ isdn_add_channels(driver *d, int drvidx,
+@@ -20
21,7 +2183
,7 @@ isdn_add_channels(driver *d, int drvidx,
if ((adding) && (d->rcvcount))
kfree(d->rcvcount);
if ((adding) && (d->rcvcount))
kfree(d->rcvcount);
@@
-14616,7
+14616,7
@@
printk(KERN_WARNING "register_isdn: Could not alloc rcvcount\n");
if (!adding) kfree(d->rcverr);
return -1;
printk(KERN_WARNING "register_isdn: Could not alloc rcvcount\n");
if (!adding) kfree(d->rcverr);
return -1;
-@@ -203
0,7 +2192
,8 @@ isdn_add_channels(driver *d, int drvidx,
+@@ -203
3,7 +2195
,8 @@ isdn_add_channels(driver *d, int drvidx,
skb_queue_purge(&d->rpqueue[j]);
kfree(d->rpqueue);
}
skb_queue_purge(&d->rpqueue[j]);
kfree(d->rpqueue);
}
@@
-14626,7
+14626,7
@@
printk(KERN_WARNING "register_isdn: Could not alloc rpqueue\n");
if (!adding) {
kfree(d->rcvcount);
printk(KERN_WARNING "register_isdn: Could not alloc rpqueue\n");
if (!adding) {
kfree(d->rcvcount);
-@@ -204
4,7 +2207
,8 @@ isdn_add_channels(driver *d, int drvidx,
+@@ -204
7,7 +2210
,8 @@ isdn_add_channels(driver *d, int drvidx,
if ((adding) && (d->rcv_waitq))
kfree(d->rcv_waitq);
if ((adding) && (d->rcv_waitq))
kfree(d->rcv_waitq);
@@
-14636,7
+14636,7
@@
if (!d->rcv_waitq) {
printk(KERN_WARNING "register_isdn: Could not alloc rcv_waitq\n");
if (!adding) {
if (!d->rcv_waitq) {
printk(KERN_WARNING "register_isdn: Could not alloc rcv_waitq\n");
if (!adding) {
-@@ -20
68,7 +2232
,9 @@ isdn_add_channels(driver *d, int drvidx,
+@@ -20
71,7 +2235
,9 @@ isdn_add_channels(driver *d, int drvidx,
if (dev->chanmap[k] < 0) {
dev->chanmap[k] = j;
dev->drvmap[k] = drvidx;
if (dev->chanmap[k] < 0) {
dev->chanmap[k] = j;
dev->drvmap[k] = drvidx;
@@
-14646,7
+14646,7
@@
break;
}
restore_flags(flags);
break;
}
restore_flags(flags);
-@@ -213
2,6 +2298
,7 @@ int DIVERT_REG_NAME(isdn_divert_if *i_di
+@@ -213
5,6 +2301
,7 @@ int DIVERT_REG_NAME(isdn_divert_if *i_di
i_div->ll_cmd = isdn_command; /* set command function */
i_div->drv_to_name = map_drvname;
i_div->name_to_drv = map_namedrv;
i_div->ll_cmd = isdn_command; /* set command function */
i_div->drv_to_name = map_drvname;
i_div->name_to_drv = map_namedrv;
@@
-14654,7
+14654,7
@@
MOD_INC_USE_COUNT;
divert_if = i_div; /* remember interface */
return(DIVERT_NO_ERR);
MOD_INC_USE_COUNT;
divert_if = i_div; /* remember interface */
return(DIVERT_NO_ERR);
-@@ -21
69,7 +2336
,7 @@ register_isdn(isdn_if * i)
+@@ -21
72,7 +2339
,7 @@ register_isdn(isdn_if * i)
printk(KERN_WARNING "register_isdn: No write routine given.\n");
return 0;
}
printk(KERN_WARNING "register_isdn: No write routine given.\n");
return 0;
}
@@
-14663,7
+14663,7
@@
printk(KERN_WARNING "register_isdn: Could not alloc driver-struct\n");
return 0;
}
printk(KERN_WARNING "register_isdn: Could not alloc driver-struct\n");
return 0;
}
-@@ -22
29,6 +2396
,7 @@ isdn_getrev(const char *revision)
+@@ -22
32,6 +2399
,7 @@ isdn_getrev(const char *revision)
return rev;
}
return rev;
}
@@
-14671,7
+14671,7
@@
#ifdef CONFIG_DEVFS_FS
static devfs_handle_t devfs_handle;
#ifdef CONFIG_DEVFS_FS
static devfs_handle_t devfs_handle;
-@@ -23
18,6 +2486
,7 @@ static void isdn_cleanup_devfs(void)
+@@ -23
21,6 +2489
,7 @@ static void isdn_cleanup_devfs(void)
}
#endif /* CONFIG_DEVFS_FS */
}
#endif /* CONFIG_DEVFS_FS */
@@
-14679,7
+14679,7
@@
/*
* Allocate and initialize all data, register modem-devices
/*
* Allocate and initialize all data, register modem-devices
-@@ -233
5,7 +2504
,6 @@ static int __init isdn_init(void)
+@@ -233
8,7 +2507
,6 @@ static int __init isdn_init(void)
init_timer(&dev->timer);
dev->timer.function = isdn_timer_funct;
init_MUTEX(&dev->sem);
init_timer(&dev->timer);
dev->timer.function = isdn_timer_funct;
init_MUTEX(&dev->sem);
@@
-14687,7
+14687,7
@@
for (i = 0; i < ISDN_MAX_CHANNELS; i++) {
dev->drvmap[i] = -1;
dev->chanmap[i] = -1;
for (i = 0; i < ISDN_MAX_CHANNELS; i++) {
dev->drvmap[i] = -1;
dev->chanmap[i] = -1;
-@@ -23
49,7 +2517
,9 @@ static int __init isdn_init(void)
+@@ -23
52,7 +2520
,9 @@ static int __init isdn_init(void)
vfree(dev);
return -EIO;
}
vfree(dev);
return -EIO;
}
@@
-14697,7
+14697,7
@@
if ((i = isdn_tty_modem_init()) < 0) {
printk(KERN_WARNING "isdn: Could not register tty devices\n");
if (i == -3)
if ((i = isdn_tty_modem_init()) < 0) {
printk(KERN_WARNING "isdn: Could not register tty devices\n");
if (i == -3)
-@@ -23
57,7 +2527
,9 @@ static int __init isdn_init(void)
+@@ -23
60,7 +2530
,9 @@ static int __init isdn_init(void)
if (i <= -2)
tty_unregister_driver(&dev->mdm.tty_modem);
vfree(dev);
if (i <= -2)
tty_unregister_driver(&dev->mdm.tty_modem);
vfree(dev);
@@
-14707,7
+14707,7
@@
devfs_unregister_chrdev(ISDN_MAJOR, "isdn");
return -EIO;
}
devfs_unregister_chrdev(ISDN_MAJOR, "isdn");
return -EIO;
}
-@@ -23
68,7 +2540
,9 @@ static int __init isdn_init(void)
+@@ -23
71,7 +2543
,9 @@ static int __init isdn_init(void)
tty_unregister_driver(&dev->mdm.cua_modem);
for (i = 0; i < ISDN_MAX_CHANNELS; i++)
kfree(dev->mdm.info[i].xmit_buf - 4);
tty_unregister_driver(&dev->mdm.cua_modem);
for (i = 0; i < ISDN_MAX_CHANNELS; i++)
kfree(dev->mdm.info[i].xmit_buf - 4);
@@
-14717,7
+14717,7
@@
devfs_unregister_chrdev(ISDN_MAJOR, "isdn");
vfree(dev);
return -EIO;
devfs_unregister_chrdev(ISDN_MAJOR, "isdn");
vfree(dev);
return -EIO;
-@@ -239
4,6 +2568
,9 @@ static int __init isdn_init(void)
+@@ -239
7,6 +2571
,9 @@ static int __init isdn_init(void)
printk("\n");
#endif
isdn_info_update();
printk("\n");
#endif
isdn_info_update();
@@
-14727,7
+14727,7
@@
return 0;
}
return 0;
}
-@@ -240
2,7 +2579
,7 @@ static int __init isdn_init(void)
+@@ -240
5,7 +2582
,7 @@ static int __init isdn_init(void)
*/
static void __exit isdn_exit(void)
{
*/
static void __exit isdn_exit(void)
{
@@
-14736,7
+14736,7
@@
int i;
#ifdef CONFIG_ISDN_PPP
int i;
#ifdef CONFIG_ISDN_PPP
-@@ -243
6,13 +2613
,18 @@ static void __exit isdn_exit(void)
+@@ -243
9,13 +2616
,18 @@ static void __exit isdn_exit(void)
printk(KERN_WARNING "isdn: controldevice busy, remove cancelled\n");
restore_flags(flags);
} else {
printk(KERN_WARNING "isdn: controldevice busy, remove cancelled\n");
restore_flags(flags);
} else {
@@
-17070,20
+17070,19
@@
netif_rx(skb);
return;
}
netif_rx(skb);
return;
}
-@@ -2160,
8
+2915,10 @@ isdn_net_find_icall(int di, int ch, int
+@@ -2160,
7
+2915,10 @@ isdn_net_find_icall(int di, int ch, int
isdn_net_phone *n;
ulong flags;
isdn_net_phone *n;
ulong flags;
- char nr[
32
];
+ char nr[
ISDN_MSNLEN
];
- char *my_eaz;
- char *my_eaz;
--
+#ifdef CONFIG_ISDN_WITH_ABC
+ if(dev->net_verbose > 2)
+ printk(KERN_DEBUG "n_fi: di=%d ch=%d idx=%d usg=0x%04X\n", di, ch, idx,dev->usage[idx]);
+#endif
+#ifdef CONFIG_ISDN_WITH_ABC
+ if(dev->net_verbose > 2)
+ printk(KERN_DEBUG "n_fi: di=%d ch=%d idx=%d usg=0x%04X\n", di, ch, idx,dev->usage[idx]);
+#endif
+
/* Search name in netdev-chain */
save_flags(flags);
/* Search name in netdev-chain */
save_flags(flags);
- cli();
-@@ -2180,17 +2937,15 @@ isdn_net_find_icall(int di, int ch, int
+@@ -2182,17 +2940,15 @@ isdn_net_find_icall(int di, int ch, int
eaz = setup->eazmsn;
if (dev->net_verbose > 1)
printk(KERN_INFO "isdn_net: call from %s,%d,%d -> %s\n", nr, si1, si2, eaz);
eaz = setup->eazmsn;
if (dev->net_verbose > 1)
printk(KERN_INFO "isdn_net: call from %s,%d,%d -> %s\n", nr, si1, si2, eaz);
@@
-17110,7
+17109,7
@@
ematch = wret = swapped = 0;
#ifdef ISDN_DEBUG_NET_ICALL
printk(KERN_DEBUG "n_fi: di=%d ch=%d idx=%d usg=%d\n", di, ch, idx,
ematch = wret = swapped = 0;
#ifdef ISDN_DEBUG_NET_ICALL
printk(KERN_DEBUG "n_fi: di=%d ch=%d idx=%d usg=%d\n", di, ch, idx,
-@@ -221
0,25 +2965
,8 @@ p = dev->netdev;
+@@ -221
2,25 +2968
,8 @@ p = dev->netdev;
break;
}
swapped = 0;
break;
}
swapped = 0;
@@
-17138,7
+17137,7
@@
/* Remember if more numbers eventually can match */
if (matchret > wret)
wret = matchret;
/* Remember if more numbers eventually can match */
if (matchret > wret)
wret = matchret;
-@@ -223
6,17 +2974
,122 @@ p = dev->netdev;
+@@ -223
8,17 +2977
,122 @@ p = dev->netdev;
printk(KERN_DEBUG "n_fi: if='%s', l.msn=%s, l.flags=%d, l.dstate=%d\n",
lp->name, lp->msn, lp->flags, lp->dialstate);
#endif
printk(KERN_DEBUG "n_fi: if='%s', l.msn=%s, l.flags=%d, l.dstate=%d\n",
lp->name, lp->msn, lp->flags, lp->dialstate);
#endif
@@
-17261,7
+17260,7
@@
if (dev->usage[idx] & ISDN_USAGE_EXCLUSIVE) {
if ((lp->pre_channel != ch) ||
(lp->pre_device != di)) {
if (dev->usage[idx] & ISDN_USAGE_EXCLUSIVE) {
if ((lp->pre_channel != ch) ||
(lp->pre_device != di)) {
-@@ -237
5,6 +3218
,12 @@ p = dev->netdev;
+@@ -237
7,6 +3221
,12 @@ p = dev->netdev;
continue;
}
}
continue;
}
}
@@
-17274,7
+17273,7
@@
if (lp->flags & ISDN_NET_CALLBACK) {
int chi;
/*
if (lp->flags & ISDN_NET_CALLBACK) {
int chi;
/*
-@@ -242
7,6 +3276
,47 @@ p = dev->netdev;
+@@ -242
9,6 +3279
,47 @@ p = dev->netdev;
restore_flags(flags);
return 0;
} else {
restore_flags(flags);
return 0;
} else {
@@
-17322,7
+17321,7
@@
printk(KERN_DEBUG "%s: call from %s -> %s accepted\n", lp->name, nr,
eaz);
/* if this interface is dialing, it does it probably on a different
printk(KERN_DEBUG "%s: call from %s -> %s accepted\n", lp->name, nr,
eaz);
/* if this interface is dialing, it does it probably on a different
-@@ -251
6,7 +3406
,11 @@ isdn_net_force_dial_lp(isdn_net_local *
+@@ -251
8,7 +3409
,11 @@ isdn_net_force_dial_lp(isdn_net_local *
lp->l3_proto,
lp->pre_device,
lp->pre_channel,
lp->l3_proto,
lp->pre_device,
lp->pre_channel,
@@
-17334,7
+17333,7
@@
) < 0) {
printk(KERN_WARNING "isdn_net_force_dial: No channel for %s\n", lp->name);
restore_flags(flags);
) < 0) {
printk(KERN_WARNING "isdn_net_force_dial: No channel for %s\n", lp->name);
restore_flags(flags);
-@@ -2
599,7 +3493
,11 @@ isdn_net_new(char *name, struct net_devi
+@@ -2
601,7 +3496
,11 @@ isdn_net_new(char *name, struct net_devi
strcpy(netdev->local->name, " ");
else
strcpy(netdev->local->name, name);
strcpy(netdev->local->name, " ");
else
strcpy(netdev->local->name, name);
@@
-17346,7
+17345,7
@@
netdev->dev.priv = netdev->local;
netdev->dev.init = isdn_net_init;
netdev->local->p_encap = ISDN_NET_ENCAP_RAWIP;
netdev->dev.priv = netdev->local;
netdev->dev.init = isdn_net_init;
netdev->local->p_encap = ISDN_NET_ENCAP_RAWIP;
-@@ -261
7,11 +3515
,13 @@ isdn_net_new(char *name, struct net_devi
+@@ -261
9,11 +3518
,13 @@ isdn_net_new(char *name, struct net_devi
((isdn_net_local *) q->priv)->slave = &(netdev->dev);
} else {
/* Device shall be a master */
((isdn_net_local *) q->priv)->slave = &(netdev->dev);
} else {
/* Device shall be a master */
@@
-17360,7
+17359,7
@@
if (register_netdev(&netdev->dev) != 0) {
printk(KERN_WARNING "isdn_net: Could not register net-device\n");
kfree(netdev->local);
if (register_netdev(&netdev->dev) != 0) {
printk(KERN_WARNING "isdn_net: Could not register net-device\n");
kfree(netdev->local);
-@@ -26
58,6 +3558
,9 @@ isdn_net_new(char *name, struct net_devi
+@@ -26
60,6 +3561
,9 @@ isdn_net_new(char *name, struct net_devi
netdev->local->hupflags = ISDN_INHUP; /* Do hangup even on incoming calls */
netdev->local->onhtime = 10; /* Default hangup-time for saving costs
of those who forget configuring this */
netdev->local->hupflags = ISDN_INHUP; /* Do hangup even on incoming calls */
netdev->local->onhtime = 10; /* Default hangup-time for saving costs
of those who forget configuring this */
@@
-17370,7
+17369,7
@@
netdev->local->dialmax = 1;
netdev->local->flags = ISDN_NET_CBHUP | ISDN_NET_DM_MANUAL; /* Hangup before Callback, manual dial */
netdev->local->cbdelay = 25; /* Wait 5 secs before Callback */
netdev->local->dialmax = 1;
netdev->local->flags = ISDN_NET_CBHUP | ISDN_NET_DM_MANUAL; /* Hangup before Callback, manual dial */
netdev->local->cbdelay = 25; /* Wait 5 secs before Callback */
-@@ -283
1,7 +3734
,6 @@ isdn_net_setcfg(isdn_net_ioctl_cfg * cfg
+@@ -283
3,7 +3737
,6 @@ isdn_net_setcfg(isdn_net_ioctl_cfg * cfg
/* If binding is exclusive, try to grab the channel */
save_flags(flags);
/* If binding is exclusive, try to grab the channel */
save_flags(flags);
@@
-17378,7
+17377,7
@@
if ((i = isdn_get_free_channel(ISDN_USAGE_NET,
lp->l2_proto, lp->l3_proto, drvidx,
chidx, lp->msn)) < 0) {
if ((i = isdn_get_free_channel(ISDN_USAGE_NET,
lp->l2_proto, lp->l3_proto, drvidx,
chidx, lp->msn)) < 0) {
-@@ -28
59,6 +3761
,9 @@ isdn_net_setcfg(isdn_net_ioctl_cfg * cfg
+@@ -28
62,6 +3765
,9 @@ isdn_net_setcfg(isdn_net_ioctl_cfg * cfg
lp->pre_device = drvidx;
lp->pre_channel = chidx;
lp->onhtime = cfg->onhtime;
lp->pre_device = drvidx;
lp->pre_channel = chidx;
lp->onhtime = cfg->onhtime;
@@
-17388,7
+17387,7
@@
lp->charge = cfg->charge;
lp->l2_proto = cfg->l2_proto;
lp->l3_proto = cfg->l3_proto;
lp->charge = cfg->charge;
lp->l2_proto = cfg->l2_proto;
lp->l3_proto = cfg->l3_proto;
-@@ -293
2,6 +3837
,9 @@ isdn_net_setcfg(isdn_net_ioctl_cfg * cfg
+@@ -293
5,6 +3841
,9 @@ isdn_net_setcfg(isdn_net_ioctl_cfg * cfg
}
}
lp->p_encap = cfg->p_encap;
}
}
lp->p_encap = cfg->p_encap;
@@
-17398,8
+17397,8
@@
return 0;
}
return -ENODEV;
return 0;
}
return -ENODEV;
-@@ -30
07,6 +3915
,9 @@ isdn_net_addphone(isdn_net_ioctl_phone *
-
strcpy(n->num, phone->phone)
;
+@@ -30
11,6 +3920
,9 @@ isdn_net_addphone(isdn_net_ioctl_phone *
+
n->num[sizeof(n->num) - 1] = 0
;
n->next = p->local->phone[phone->outgoing & 1];
p->local->phone[phone->outgoing & 1] = n;
+#ifdef CONFIG_ISDN_WITH_ABC
n->next = p->local->phone[phone->outgoing & 1];
p->local->phone[phone->outgoing & 1] = n;
+#ifdef CONFIG_ISDN_WITH_ABC
@@
-17408,7
+17407,7
@@
return 0;
}
return -ENODEV;
return 0;
}
return -ENODEV;
-@@ -310
0,6 +4011
,9 @@ isdn_net_delphone(isdn_net_ioctl_phone *
+@@ -310
4,6 +4016
,9 @@ isdn_net_delphone(isdn_net_ioctl_phone *
else
p->local->phone[inout] = n->next;
kfree(n);
else
p->local->phone[inout] = n->next;
kfree(n);
@@
-17418,7
+17417,7
@@
restore_flags(flags);
return 0;
}
restore_flags(flags);
return 0;
}
-@@ -313
5,6 +4049
,9 @@ isdn_net_rmallphone(isdn_net_dev * p)
+@@ -313
9,6 +4054
,9 @@ isdn_net_rmallphone(isdn_net_dev * p)
p->local->phone[i] = NULL;
}
p->local->dial = NULL;
p->local->phone[i] = NULL;
}
p->local->dial = NULL;
@@
-17428,7
+17427,7
@@
restore_flags(flags);
return 0;
}
restore_flags(flags);
return 0;
}
-@@ -32
18,6 +4135
,10 @@ isdn_net_realrm(isdn_net_dev * p, isdn_n
+@@ -32
22,6 +4140
,10 @@ isdn_net_realrm(isdn_net_dev * p, isdn_n
/* If no more net-devices remain, disable auto-hangup timer */
if (dev->netdev == NULL)
isdn_timer_ctrl(ISDN_TIMER_NETHANGUP, 0);
/* If no more net-devices remain, disable auto-hangup timer */
if (dev->netdev == NULL)
isdn_timer_ctrl(ISDN_TIMER_NETHANGUP, 0);
This page took
0.038818 seconds
and
4
git commands to generate.