linux/drivers/net/wan
Akinobu Mita 09669585b5 [PATCH] n2: fix confusing error code
modprobe n2 with no parameters or no such devices
will get confusing error message.

# modprobe n2
...  Kernel does not have module support

This patch replaces return code from -ENOSYS to -EINVAL.

Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>

 drivers/net/wan/n2.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-10-31 20:22:05 -05:00
..
lmc IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
.gitignore
c101.c [PATCH] WAN: fix C101 card carrier handling 2006-08-19 17:51:25 -04:00
cosa.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cosa.h
cycx_drv.c
cycx_main.c drivers/net: eliminate irq handler impossible checks, needless casts 2006-10-06 14:56:04 -04:00
cycx_x25.c
dlci.c [PATCH] remove unnecessary config.h includes from drivers/net/ 2006-08-14 14:00:43 -04:00
dscc4.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
farsync.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
farsync.h
hd6457x.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hd64570.h
hd64572.h
hdlc_cisco.c [IPV4]: annotate struct in_ifaddr 2006-09-28 18:00:55 -07:00
hdlc_fr.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_ppp.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_raw_eth.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_raw.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_x25.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hostess_sv11.c [PATCH] irq-flags: drivers/net: Use the new IRQF_ constants 2006-07-02 13:58:51 -07:00
Kconfig [NET] sealevel: uses arp_broken_ops 2006-10-30 15:24:33 -08:00
lapbether.c
Makefile [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
n2.c [PATCH] n2: fix confusing error code 2006-10-31 20:22:05 -05:00
pc300_drv.c [PATCH] WAN/pc300: handle, propagate minor errors 2006-10-21 14:08:24 -04:00
pc300_tty.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
pc300-falc-lh.h
pc300.h [PATCH] git-netdev-all: pc300_tty build fix 2006-09-27 16:18:24 -04:00
pci200syn.c drivers/net: Remove deprecated use of pci_module_init() 2006-08-19 17:48:59 -04:00
sbni.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sbni.h
sdla.c drivers/net: eliminate irq handler impossible checks, needless casts 2006-10-06 14:56:04 -04:00
sealevel.c [PATCH] irq-flags: drivers/net: Use the new IRQF_ constants 2006-07-02 13:58:51 -07:00
syncppp.c [PATCH] Uninitialized variable in drivers/net/wan/syncppp.c 2006-09-29 09:18:23 -07:00
wanxl.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
x25_asy.h
z85230.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
z85230.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00