diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-03-09 20:33:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-03-09 20:33:35 +0000 |
commit | 116674acc97ba75a720329996877077d988443a2 (patch) | |
tree | 6a3f2ff0b612ae2ee8a3f3509370c9e6333a53b3 /drivers/net/wan | |
parent | 71118c319fcae4a138f16e35b4f7e0a6d53ce2ca (diff) |
Merge with Linux 2.4.2.
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/cosa.c | 2 | ||||
-rw-r--r-- | drivers/net/wan/cycx_main.c | 2 | ||||
-rw-r--r-- | drivers/net/wan/cycx_x25.c | 2 | ||||
-rw-r--r-- | drivers/net/wan/dlci.c | 2 | ||||
-rw-r--r-- | drivers/net/wan/lmc/lmc_ioctl.h | 2 | ||||
-rw-r--r-- | drivers/net/wan/lmc/lmc_main.c | 4 | ||||
-rw-r--r-- | drivers/net/wan/lmc/lmc_media.c | 4 | ||||
-rw-r--r-- | drivers/net/wan/lmc/lmc_proto.c | 4 | ||||
-rw-r--r-- | drivers/net/wan/lmc/lmc_var.h | 2 | ||||
-rw-r--r-- | drivers/net/wan/lmc/lmc_ver.h | 4 | ||||
-rw-r--r-- | drivers/net/wan/sbni.c | 4 | ||||
-rw-r--r-- | drivers/net/wan/sdla.c | 2 | ||||
-rw-r--r-- | drivers/net/wan/sdla_chdlc.c | 4 | ||||
-rw-r--r-- | drivers/net/wan/sdla_fr.c | 4 | ||||
-rw-r--r-- | drivers/net/wan/sdla_ppp.c | 4 | ||||
-rw-r--r-- | drivers/net/wan/sdla_x25.c | 2 | ||||
-rw-r--r-- | drivers/net/wan/sdlamain.c | 2 | ||||
-rw-r--r-- | drivers/net/wan/z85230.h | 2 |
18 files changed, 27 insertions, 25 deletions
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index 9e73fc270..40bc8205a 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c @@ -82,7 +82,7 @@ #include <linux/config.h> #include <linux/module.h> #include <linux/kernel.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/poll.h> #include <linux/fs.h> #include <linux/devfs_fs_kernel.h> diff --git a/drivers/net/wan/cycx_main.c b/drivers/net/wan/cycx_main.c index 0426143af..687057314 100644 --- a/drivers/net/wan/cycx_main.c +++ b/drivers/net/wan/cycx_main.c @@ -38,7 +38,7 @@ #include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/errno.h> /* return codes */ #include <linux/string.h> /* inline memset(), etc. */ -#include <linux/malloc.h> /* kmalloc(), kfree() */ +#include <linux/slab.h> /* kmalloc(), kfree() */ #include <linux/kernel.h> /* printk(), and other useful stuff */ #include <linux/module.h> /* support for loadable modules */ #include <linux/ioport.h> /* request_region(), release_region() */ diff --git a/drivers/net/wan/cycx_x25.c b/drivers/net/wan/cycx_x25.c index 1103907bd..bd0e0498f 100644 --- a/drivers/net/wan/cycx_x25.c +++ b/drivers/net/wan/cycx_x25.c @@ -82,7 +82,7 @@ #include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/errno.h> /* return codes */ #include <linux/string.h> /* inline memset(), etc. */ -#include <linux/malloc.h> /* kmalloc(), kfree() */ +#include <linux/slab.h> /* kmalloc(), kfree() */ #include <linux/wanrouter.h> /* WAN router definitions */ #include <asm/byteorder.h> /* htons(), etc. */ #include <linux/if_arp.h> /* ARPHRD_HWX25 */ diff --git a/drivers/net/wan/dlci.c b/drivers/net/wan/dlci.c index af905fc09..f7ed9f37d 100644 --- a/drivers/net/wan/dlci.c +++ b/drivers/net/wan/dlci.c @@ -39,7 +39,7 @@ #include <linux/ptrace.h> #include <linux/ioport.h> #include <linux/in.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/string.h> #include <linux/init.h> #include <asm/system.h> diff --git a/drivers/net/wan/lmc/lmc_ioctl.h b/drivers/net/wan/lmc/lmc_ioctl.h index 31eaaa673..1f756e6fd 100644 --- a/drivers/net/wan/lmc/lmc_ioctl.h +++ b/drivers/net/wan/lmc/lmc_ioctl.h @@ -13,7 +13,7 @@ * Matt Thomas (matt@3am-software.com). * * This software may be used and distributed according to the terms - * of the GNU Public License version 2, incorporated herein by reference. + * of the GNU General Public License version 2, incorporated herein by reference. */ #define LMCIOCGINFO SIOCDEVPRIVATE+3 /* get current state */ diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index 30ec7ab8e..eb327f0f9 100644 --- a/drivers/net/wan/lmc/lmc_main.c +++ b/drivers/net/wan/lmc/lmc_main.c @@ -14,7 +14,7 @@ * Allan Cox * * This software may be used and distributed according to the terms - * of the GNU Public License version 2, incorporated herein by reference. + * of the GNU General Public License version 2, incorporated herein by reference. * * Driver for the LanMedia LMC5200, LMC5245, LMC1000, LMC1200 cards. * @@ -46,7 +46,7 @@ #include <linux/ptrace.h> #include <linux/errno.h> #include <linux/ioport.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/interrupt.h> #include <linux/pci.h> #include <linux/delay.h> diff --git a/drivers/net/wan/lmc/lmc_media.c b/drivers/net/wan/lmc/lmc_media.c index 8df3cb36c..e8fd6b617 100644 --- a/drivers/net/wan/lmc/lmc_media.c +++ b/drivers/net/wan/lmc/lmc_media.c @@ -9,7 +9,7 @@ #include <linux/ptrace.h> #include <linux/errno.h> #include <linux/ioport.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/interrupt.h> #include <linux/pci.h> #include <asm/segment.h> @@ -56,7 +56,7 @@ * Matt Thomas (matt@3am-software.com). * * This software may be used and distributed according to the terms - * of the GNU Public License version 2, incorporated herein by reference. + * of the GNU General Public License version 2, incorporated herein by reference. */ /* diff --git a/drivers/net/wan/lmc/lmc_proto.c b/drivers/net/wan/lmc/lmc_proto.c index c15104f6a..3760c2585 100644 --- a/drivers/net/wan/lmc/lmc_proto.c +++ b/drivers/net/wan/lmc/lmc_proto.c @@ -14,7 +14,7 @@ * Allan Cox * * This software may be used and distributed according to the terms - * of the GNU Public License version 2, incorporated herein by reference. + * of the GNU General Public License version 2, incorporated herein by reference. * * Driver for the LanMedia LMC5200, LMC5245, LMC1000, LMC1200 cards. */ @@ -27,7 +27,7 @@ #include <linux/ptrace.h> #include <linux/errno.h> #include <linux/ioport.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/interrupt.h> #include <linux/pci.h> #include <asm/segment.h> diff --git a/drivers/net/wan/lmc/lmc_var.h b/drivers/net/wan/lmc/lmc_var.h index 9f50aada0..f4e92e432 100644 --- a/drivers/net/wan/lmc/lmc_var.h +++ b/drivers/net/wan/lmc/lmc_var.h @@ -14,7 +14,7 @@ * Matt Thomas (matt@3am-software.com). * * This software may be used and distributed according to the terms - * of the GNU Public License version 2, incorporated herein by reference. + * of the GNU General Public License version 2, incorporated herein by reference. */ #include <linux/timer.h> diff --git a/drivers/net/wan/lmc/lmc_ver.h b/drivers/net/wan/lmc/lmc_ver.h index 1f3826617..1e9e2f5f7 100644 --- a/drivers/net/wan/lmc/lmc_ver.h +++ b/drivers/net/wan/lmc/lmc_ver.h @@ -12,7 +12,7 @@ * Matt Thomas (matt@3am-software.com). * * This software may be used and distributed according to the terms - * of the GNU Public License version 2, incorporated herein by reference. + * of the GNU General Public License version 2, incorporated herein by reference. */ /* @@ -25,7 +25,7 @@ * made the souce code not only hard to read but version problems hard * to track down. If I'm overiding a function/etc with something in * this file it will be prefixed by "LMC_" which will mean look - * here for the the version dependant change that's been done. + * here for the version dependant change that's been done. * */ diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index b4073b00f..9ca0e84e8 100644 --- a/drivers/net/wan/sbni.c +++ b/drivers/net/wan/sbni.c @@ -5,7 +5,7 @@ * Written 1999 by Yaroslav Polyakov (xenon@granch.ru). * * This software may be used and distributed according to the terms - * of the GNU Public License, incorporated herein by reference. + * of the GNU General Public License, incorporated herein by reference. * * // Whole developers team: * // Yaroslav Polyakov (xenon@granch.ru) @@ -66,7 +66,7 @@ #include <linux/fcntl.h> #include <linux/ioport.h> #include <linux/interrupt.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/spinlock.h> diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c index 1eb66b44e..7e39f7b7b 100644 --- a/drivers/net/wan/sdla.c +++ b/drivers/net/wan/sdla.c @@ -43,7 +43,7 @@ #include <linux/ptrace.h> #include <linux/ioport.h> #include <linux/in.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/string.h> #include <linux/timer.h> #include <linux/errno.h> diff --git a/drivers/net/wan/sdla_chdlc.c b/drivers/net/wan/sdla_chdlc.c index efdf2069d..dd4f43e10 100644 --- a/drivers/net/wan/sdla_chdlc.c +++ b/drivers/net/wan/sdla_chdlc.c @@ -28,7 +28,7 @@ #include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/errno.h> /* return codes */ #include <linux/string.h> /* inline memset(), etc. */ -#include <linux/malloc.h> /* kmalloc(), kfree() */ +#include <linux/slab.h> /* kmalloc(), kfree() */ #include <linux/wanrouter.h> /* WAN router definitions */ #include <linux/wanpipe.h> /* WANPIPE common user API definitions */ #include <linux/if_arp.h> /* ARPHRD_* defines */ @@ -867,7 +867,7 @@ static void if_tx_timeout (struct net_device *dev) card->devname); /* unbusy the interface */ - netif_start_queue (dev); + netif_wake_queue (dev); } diff --git a/drivers/net/wan/sdla_fr.c b/drivers/net/wan/sdla_fr.c index 69054c9f2..93c9cf933 100644 --- a/drivers/net/wan/sdla_fr.c +++ b/drivers/net/wan/sdla_fr.c @@ -114,7 +114,7 @@ #include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/errno.h> /* return codes */ #include <linux/string.h> /* inline memset(), etc. */ -#include <linux/malloc.h> /* kmalloc(), kfree() */ +#include <linux/slab.h> /* kmalloc(), kfree() */ #include <linux/wanrouter.h> /* WAN router definitions */ #include <linux/wanpipe.h> /* WANPIPE common user API definitions */ #include <linux/if_arp.h> /* ARPHRD_* defines */ @@ -1133,7 +1133,7 @@ static void if_tx_timeout (struct net_device *dev) printk (KERN_INFO "%s: Transmit timed out\n", chan->name); chan->drvstats_if_send.if_send_tbusy_timeout++; - netif_start_queue (dev); + netif_wake_queue (dev); } diff --git a/drivers/net/wan/sdla_ppp.c b/drivers/net/wan/sdla_ppp.c index 8c7d5c694..8216db813 100644 --- a/drivers/net/wan/sdla_ppp.c +++ b/drivers/net/wan/sdla_ppp.c @@ -80,7 +80,7 @@ #include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/errno.h> /* return codes */ #include <linux/string.h> /* inline memset(), etc. */ -#include <linux/malloc.h> /* kmalloc(), kfree() */ +#include <linux/slab.h> /* kmalloc(), kfree() */ #include <linux/wanrouter.h> /* WAN router definitions */ #include <linux/wanpipe.h> /* WANPIPE common user API definitions */ #include <linux/if_arp.h> /* ARPHRD_* defines */ @@ -819,7 +819,7 @@ static void if_tx_timeout (struct net_device *dev) ++card->wandev.stats.collisions; /* unbusy the card (because only one interface per card) */ - netif_start_queue(dev); + netif_wake_queue(dev); } diff --git a/drivers/net/wan/sdla_x25.c b/drivers/net/wan/sdla_x25.c index ab70aec0c..9afd8ae91 100644 --- a/drivers/net/wan/sdla_x25.c +++ b/drivers/net/wan/sdla_x25.c @@ -43,7 +43,7 @@ #include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/errno.h> /* return codes */ #include <linux/string.h> /* inline memset(), etc. */ -#include <linux/malloc.h> /* kmalloc(), kfree() */ +#include <linux/slab.h> /* kmalloc(), kfree() */ #include <linux/wanrouter.h> /* WAN router definitions */ #include <linux/wanpipe.h> /* WANPIPE common user API definitions */ #include <asm/byteorder.h> /* htons(), etc. */ diff --git a/drivers/net/wan/sdlamain.c b/drivers/net/wan/sdlamain.c index 4ab0de121..cbbe2b351 100644 --- a/drivers/net/wan/sdlamain.c +++ b/drivers/net/wan/sdlamain.c @@ -39,7 +39,7 @@ #include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/errno.h> /* return codes */ #include <linux/string.h> /* inline memset(), etc. */ -#include <linux/malloc.h> /* kmalloc(), kfree() */ +#include <linux/slab.h> /* kmalloc(), kfree() */ #include <linux/kernel.h> /* printk(), and other useful stuff */ #include <linux/module.h> /* support for loadable modules */ #include <linux/ioport.h> /* request_region(), release_region() */ diff --git a/drivers/net/wan/z85230.h b/drivers/net/wan/z85230.h index 8dc92a535..a92c56316 100644 --- a/drivers/net/wan/z85230.h +++ b/drivers/net/wan/z85230.h @@ -8,6 +8,8 @@ #ifndef _Z8530_H #define _Z8530_H +#include <linux/tty.h> + /* Conversion routines to/from brg time constants from/to bits * per second. */ |