aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/Kconfig6
-rw-r--r--drivers/net/hamradio/dmascc.c4
-rw-r--r--drivers/net/tun.c4
3 files changed, 8 insertions, 6 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index f234ba3f0404..7d170cd381c3 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -920,8 +920,7 @@ config ENC28J60
920 ---help--- 920 ---help---
921 Support for the Microchip EN28J60 ethernet chip. 921 Support for the Microchip EN28J60 ethernet chip.
922 922
923 To compile this driver as a module, choose M here and read 923 To compile this driver as a module, choose M here. The module will be
924 <file:Documentation/networking/net-modules.txt>. The module will be
925 called enc28j60. 924 called enc28j60.
926 925
927config ENC28J60_WRITEVERIFY 926config ENC28J60_WRITEVERIFY
@@ -2041,8 +2040,7 @@ config IGB
2041 More specific information on configuring the driver is in 2040 More specific information on configuring the driver is in
2042 <file:Documentation/networking/e1000.txt>. 2041 <file:Documentation/networking/e1000.txt>.
2043 2042
2044 To compile this driver as a module, choose M here and read 2043 To compile this driver as a module, choose M here. The module
2045 <file:Documentation/networking/net-modules.txt>. The module
2046 will be called igb. 2044 will be called igb.
2047 2045
2048source "drivers/net/ixp2000/Kconfig" 2046source "drivers/net/ixp2000/Kconfig"
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c
index 11b83dae00ac..e04bf9926441 100644
--- a/drivers/net/hamradio/dmascc.c
+++ b/drivers/net/hamradio/dmascc.c
@@ -262,8 +262,8 @@ static void tm_isr(struct scc_priv *priv);
262 262
263static int io[MAX_NUM_DEVS] __initdata = { 0, }; 263static int io[MAX_NUM_DEVS] __initdata = { 0, };
264 264
265/* Beware! hw[] is also used in cleanup_module(). */ 265/* Beware! hw[] is also used in dmascc_exit(). */
266static struct scc_hardware hw[NUM_TYPES] __initdata_or_module = HARDWARE; 266static struct scc_hardware hw[NUM_TYPES] = HARDWARE;
267 267
268 268
269/* Global variables */ 269/* Global variables */
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 46339f6bcd00..038c1ef94d2e 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -529,9 +529,13 @@ static int tun_set_iff(struct file *file, struct ifreq *ifr)
529 529
530 if (ifr->ifr_flags & IFF_NO_PI) 530 if (ifr->ifr_flags & IFF_NO_PI)
531 tun->flags |= TUN_NO_PI; 531 tun->flags |= TUN_NO_PI;
532 else
533 tun->flags &= ~TUN_NO_PI;
532 534
533 if (ifr->ifr_flags & IFF_ONE_QUEUE) 535 if (ifr->ifr_flags & IFF_ONE_QUEUE)
534 tun->flags |= TUN_ONE_QUEUE; 536 tun->flags |= TUN_ONE_QUEUE;
537 else
538 tun->flags &= ~TUN_ONE_QUEUE;
535 539
536 file->private_data = tun; 540 file->private_data = tun;
537 tun->attached = 1; 541 tun->attached = 1;