Commit cefa7b19 authored by Dave Jones's avatar Dave Jones Committed by Jeff Garzik

Add missing MODULE_LICENSE tags to several net drivers.

Also... surprise!  Andrew Morton's aic7xxx build fix
is also included.  Ah well, 1001 people probably applied
the same patch by hand, and it's easy to merge, so oh well.
parent 580f6a52
...@@ -630,3 +630,4 @@ void lance_set_multicast (struct net_device *dev) ...@@ -630,3 +630,4 @@ void lance_set_multicast (struct net_device *dev)
netif_start_queue (dev); netif_start_queue (dev);
} }
MODULE_LICENSE("GPL");
...@@ -83,6 +83,7 @@ void cleanup_module(void) ...@@ -83,6 +83,7 @@ void cleanup_module(void)
arcnet_unregister_proto(&rawmode_proto); arcnet_unregister_proto(&rawmode_proto);
} }
MODULE_LICENSE("GPL");
#endif /* MODULE */ #endif /* MODULE */
......
...@@ -295,6 +295,7 @@ MODULE_PARM(node, "i"); ...@@ -295,6 +295,7 @@ MODULE_PARM(node, "i");
MODULE_PARM(io, "i"); MODULE_PARM(io, "i");
MODULE_PARM(irq, "i"); MODULE_PARM(irq, "i");
MODULE_PARM(device, "s"); MODULE_PARM(device, "s");
MODULE_LICENSE("GPL");
int init_module(void) int init_module(void)
{ {
......
...@@ -163,6 +163,7 @@ void __init arcnet_init(void) ...@@ -163,6 +163,7 @@ void __init arcnet_init(void)
static int debug = ARCNET_DEBUG; static int debug = ARCNET_DEBUG;
MODULE_PARM(debug, "i"); MODULE_PARM(debug, "i");
MODULE_LICENSE("GPL");
int __init init_module(void) int __init init_module(void)
{ {
......
...@@ -133,6 +133,7 @@ MODULE_PARM(timeout, "i"); ...@@ -133,6 +133,7 @@ MODULE_PARM(timeout, "i");
MODULE_PARM(backplane, "i"); MODULE_PARM(backplane, "i");
MODULE_PARM(clockp, "i"); MODULE_PARM(clockp, "i");
MODULE_PARM(clockm, "i"); MODULE_PARM(clockm, "i");
MODULE_LICENSE("GPL");
static void com20020isa_open_close(struct net_device *dev, bool open) static void com20020isa_open_close(struct net_device *dev, bool open)
{ {
......
...@@ -57,6 +57,7 @@ MODULE_PARM(timeout, "i"); ...@@ -57,6 +57,7 @@ MODULE_PARM(timeout, "i");
MODULE_PARM(backplane, "i"); MODULE_PARM(backplane, "i");
MODULE_PARM(clockp, "i"); MODULE_PARM(clockp, "i");
MODULE_PARM(clockm, "i"); MODULE_PARM(clockm, "i");
MODULE_LICENSE("GPL");
static void com20020pci_open_close(struct net_device *dev, bool open) static void com20020pci_open_close(struct net_device *dev, bool open)
{ {
......
...@@ -356,6 +356,8 @@ EXPORT_SYMBOL(com20020_check); ...@@ -356,6 +356,8 @@ EXPORT_SYMBOL(com20020_check);
EXPORT_SYMBOL(com20020_found); EXPORT_SYMBOL(com20020_found);
EXPORT_SYMBOL(com20020_remove); EXPORT_SYMBOL(com20020_remove);
MODULE_LICENSE("GPL");
int init_module(void) int init_module(void)
{ {
BUGLVL(D_NORMAL) printk(VERSION); BUGLVL(D_NORMAL) printk(VERSION);
......
...@@ -383,6 +383,7 @@ static char *device; /* use eg. device=arc1 to change name */ ...@@ -383,6 +383,7 @@ static char *device; /* use eg. device=arc1 to change name */
MODULE_PARM(io, "i"); MODULE_PARM(io, "i");
MODULE_PARM(irq, "i"); MODULE_PARM(irq, "i");
MODULE_PARM(device, "s"); MODULE_PARM(device, "s");
MODULE_LICENSE("GPL");
int init_module(void) int init_module(void)
{ {
......
...@@ -617,6 +617,7 @@ MODULE_PARM(io, "i"); ...@@ -617,6 +617,7 @@ MODULE_PARM(io, "i");
MODULE_PARM(irq, "i"); MODULE_PARM(irq, "i");
MODULE_PARM(shmem, "i"); MODULE_PARM(shmem, "i");
MODULE_PARM(device, "s"); MODULE_PARM(device, "s");
MODULE_LICENSE("GPL");
int init_module(void) int init_module(void)
{ {
......
...@@ -68,6 +68,8 @@ void __init arcnet_rfc1051_init(void) ...@@ -68,6 +68,8 @@ void __init arcnet_rfc1051_init(void)
#ifdef MODULE #ifdef MODULE
MODULE_LICENSE("GPL");
int __init init_module(void) int __init init_module(void)
{ {
printk(VERSION); printk(VERSION);
......
...@@ -70,6 +70,8 @@ void __init arcnet_rfc1201_init(void) ...@@ -70,6 +70,8 @@ void __init arcnet_rfc1201_init(void)
#ifdef MODULE #ifdef MODULE
MODULE_LICENSE("GPL");
int __init init_module(void) int __init init_module(void)
{ {
printk(VERSION); printk(VERSION);
......
...@@ -847,3 +847,5 @@ static void __exit ariadne_cleanup(void) ...@@ -847,3 +847,5 @@ static void __exit ariadne_cleanup(void)
module_init(ariadne_probe); module_init(ariadne_probe);
module_exit(ariadne_cleanup); module_exit(ariadne_cleanup);
MODULE_LICENSE("GPL");
...@@ -423,3 +423,5 @@ static void __exit ariadne2_cleanup(void) ...@@ -423,3 +423,5 @@ static void __exit ariadne2_cleanup(void)
module_init(ariadne2_probe); module_init(ariadne2_probe);
module_exit(ariadne2_cleanup); module_exit(ariadne2_cleanup);
MODULE_LICENSE("GPL");
...@@ -919,12 +919,4 @@ static void slow_sane_block_output(struct net_device *dev, int count, const unsi ...@@ -919,12 +919,4 @@ static void slow_sane_block_output(struct net_device *dev, int count, const unsi
#endif #endif
} }
/* MODULE_LICENSE("GPL");
* Local variables:
* compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c daynaport.c"
* version-control: t
* c-basic-offset: 4
* tab-width: 4
* kept-new-versions: 5
* End:
*/
...@@ -1063,6 +1063,7 @@ static void decode_data(unsigned char inbyte, struct sixpack *sp) ...@@ -1063,6 +1063,7 @@ static void decode_data(unsigned char inbyte, struct sixpack *sp)
MODULE_AUTHOR("Andreas Knsgen <ajk@ccac.rwth-aachen.de>"); MODULE_AUTHOR("Andreas Knsgen <ajk@ccac.rwth-aachen.de>");
MODULE_DESCRIPTION("6pack driver for AX.25"); MODULE_DESCRIPTION("6pack driver for AX.25");
MODULE_LICENSE("GPL");
module_init(sixpack_init_driver); module_init(sixpack_init_driver);
module_exit(sixpack_exit_driver); module_exit(sixpack_exit_driver);
...@@ -1416,6 +1416,7 @@ MODULE_PARM_DESC(iobase, "baycom io base address"); ...@@ -1416,6 +1416,7 @@ MODULE_PARM_DESC(iobase, "baycom io base address");
MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu"); MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu");
MODULE_DESCRIPTION("Baycom epp amateur radio modem driver"); MODULE_DESCRIPTION("Baycom epp amateur radio modem driver");
MODULE_LICENSE("GPL");
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
......
...@@ -493,6 +493,7 @@ MODULE_PARM_DESC(iobase, "baycom io base address"); ...@@ -493,6 +493,7 @@ MODULE_PARM_DESC(iobase, "baycom io base address");
MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu"); MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu");
MODULE_DESCRIPTION("Baycom par96 and picpar amateur radio modem driver"); MODULE_DESCRIPTION("Baycom par96 and picpar amateur radio modem driver");
MODULE_LICENSE("GPL");
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
......
...@@ -609,6 +609,7 @@ MODULE_PARM_DESC(baud, "baycom baud rate (300 to 4800)"); ...@@ -609,6 +609,7 @@ MODULE_PARM_DESC(baud, "baycom baud rate (300 to 4800)");
MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu"); MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu");
MODULE_DESCRIPTION("Baycom ser12 full duplex amateur radio modem driver"); MODULE_DESCRIPTION("Baycom ser12 full duplex amateur radio modem driver");
MODULE_LICENSE("GPL");
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
......
...@@ -649,6 +649,7 @@ MODULE_PARM_DESC(irq, "baycom irq number"); ...@@ -649,6 +649,7 @@ MODULE_PARM_DESC(irq, "baycom irq number");
MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu"); MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu");
MODULE_DESCRIPTION("Baycom ser12 half duplex amateur radio modem driver"); MODULE_DESCRIPTION("Baycom ser12 half duplex amateur radio modem driver");
MODULE_LICENSE("GPL");
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
......
...@@ -645,5 +645,6 @@ static void __exit bpq_cleanup_driver(void) ...@@ -645,5 +645,6 @@ static void __exit bpq_cleanup_driver(void)
MODULE_AUTHOR("Joerg Reuter DL1BKE <jreuter@yaina.de>"); MODULE_AUTHOR("Joerg Reuter DL1BKE <jreuter@yaina.de>");
MODULE_DESCRIPTION("Transmit and receive AX.25 packets over Ethernet"); MODULE_DESCRIPTION("Transmit and receive AX.25 packets over Ethernet");
MODULE_LICENSE("GPL");
module_init(bpq_init_driver); module_init(bpq_init_driver);
module_exit(bpq_cleanup_driver); module_exit(bpq_cleanup_driver);
...@@ -305,6 +305,7 @@ static unsigned long rand; ...@@ -305,6 +305,7 @@ static unsigned long rand;
MODULE_AUTHOR("Klaus Kudielka"); MODULE_AUTHOR("Klaus Kudielka");
MODULE_DESCRIPTION("Driver for high-speed SCC boards"); MODULE_DESCRIPTION("Driver for high-speed SCC boards");
MODULE_PARM(io, "1-" __MODULE_STRING(MAX_NUM_DEVS) "i"); MODULE_PARM(io, "1-" __MODULE_STRING(MAX_NUM_DEVS) "i");
MODULE_LICENSE("GPL");
int init_module(void) { int init_module(void) {
......
...@@ -902,6 +902,7 @@ static void __exit hdlcdrv_cleanup_driver(void) ...@@ -902,6 +902,7 @@ static void __exit hdlcdrv_cleanup_driver(void)
MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu"); MODULE_AUTHOR("Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu");
MODULE_DESCRIPTION("Packet Radio network interface HDLC encoder/decoder"); MODULE_DESCRIPTION("Packet Radio network interface HDLC encoder/decoder");
MODULE_LICENSE("GPL");
module_init(hdlcdrv_init_driver); module_init(hdlcdrv_init_driver);
module_exit(hdlcdrv_cleanup_driver); module_exit(hdlcdrv_cleanup_driver);
......
...@@ -1008,6 +1008,7 @@ MODULE_AUTHOR("Hans Albas PE1AYX <hans@esrac.ele.tue.nl>"); ...@@ -1008,6 +1008,7 @@ MODULE_AUTHOR("Hans Albas PE1AYX <hans@esrac.ele.tue.nl>");
MODULE_DESCRIPTION("KISS driver for AX.25 over TTYs"); MODULE_DESCRIPTION("KISS driver for AX.25 over TTYs");
MODULE_PARM(ax25_maxdev, "i"); MODULE_PARM(ax25_maxdev, "i");
MODULE_PARM_DESC(ax25_maxdev, "number of MKISS devices"); MODULE_PARM_DESC(ax25_maxdev, "number of MKISS devices");
MODULE_LICENSE("GPL");
module_init(mkiss_init_driver); module_init(mkiss_init_driver);
module_exit(mkiss_exit_driver); module_exit(mkiss_exit_driver);
......
...@@ -2180,5 +2180,6 @@ static void __exit scc_cleanup_driver(void) ...@@ -2180,5 +2180,6 @@ static void __exit scc_cleanup_driver(void)
MODULE_AUTHOR("Joerg Reuter <jreuter@yaina.de>"); MODULE_AUTHOR("Joerg Reuter <jreuter@yaina.de>");
MODULE_DESCRIPTION("AX.25 Device Driver for Z8530 based HDLC cards"); MODULE_DESCRIPTION("AX.25 Device Driver for Z8530 based HDLC cards");
MODULE_SUPPORTED_DEVICE("Z8530 based SCC cards for Amateur Radio"); MODULE_SUPPORTED_DEVICE("Z8530 based SCC cards for Amateur Radio");
MODULE_LICENSE("GPL");
module_init(scc_init_driver); module_init(scc_init_driver);
module_exit(scc_cleanup_driver); module_exit(scc_cleanup_driver);
...@@ -1179,6 +1179,7 @@ static void __exit yam_cleanup_driver(void) ...@@ -1179,6 +1179,7 @@ static void __exit yam_cleanup_driver(void)
MODULE_AUTHOR("Frederic Rible F1OAT frible@teaser.fr"); MODULE_AUTHOR("Frederic Rible F1OAT frible@teaser.fr");
MODULE_DESCRIPTION("Yam amateur radio modem driver"); MODULE_DESCRIPTION("Yam amateur radio modem driver");
MODULE_LICENSE("GPL");
module_init(yam_init_driver); module_init(yam_init_driver);
module_exit(yam_cleanup_driver); module_exit(yam_cleanup_driver);
......
...@@ -1626,3 +1626,4 @@ MODULE_PARM(qos_mtt_bits, "i"); ...@@ -1626,3 +1626,4 @@ MODULE_PARM(qos_mtt_bits, "i");
MODULE_PARM_DESC(qos_mtt_bits, "Minimum Turn Time"); MODULE_PARM_DESC(qos_mtt_bits, "Minimum Turn Time");
MODULE_AUTHOR("Roman Weissgaerber <weissg@vienna.at>, Dag Brattli <dag@brattli.net> and Jean Tourrilhes <jt@hpl.hp.com>"); MODULE_AUTHOR("Roman Weissgaerber <weissg@vienna.at>, Dag Brattli <dag@brattli.net> and Jean Tourrilhes <jt@hpl.hp.com>");
MODULE_DESCRIPTION("IrDA-USB Dongle Driver"); MODULE_DESCRIPTION("IrDA-USB Dongle Driver");
MODULE_LICENSE("GPL");
...@@ -271,6 +271,7 @@ int __init rr_hippi_probe (struct net_device *dev) ...@@ -271,6 +271,7 @@ int __init rr_hippi_probe (struct net_device *dev)
#if LINUX_VERSION_CODE > 0x20118 #if LINUX_VERSION_CODE > 0x20118
MODULE_AUTHOR("Jes Sorensen <Jes.Sorensen@cern.ch>"); MODULE_AUTHOR("Jes Sorensen <Jes.Sorensen@cern.ch>");
MODULE_DESCRIPTION("Essential RoadRunner HIPPI driver"); MODULE_DESCRIPTION("Essential RoadRunner HIPPI driver");
MODULE_LICENSE("GPL");
#endif #endif
int init_module(void) int init_module(void)
......
...@@ -720,3 +720,5 @@ int sgiseeq_probe(struct net_device *dev) ...@@ -720,3 +720,5 @@ int sgiseeq_probe(struct net_device *dev)
(struct sgiseeq_regs *) (KSEG1ADDR(0x1fbd4000)), (struct sgiseeq_regs *) (KSEG1ADDR(0x1fbd4000)),
&hpc3c0->ethregs, SGI_ENET_IRQ); &hpc3c0->ethregs, SGI_ENET_IRQ);
} }
MODULE_LICENSE("GPL");
...@@ -620,3 +620,5 @@ static int sonic_init(struct net_device *dev) ...@@ -620,3 +620,5 @@ static int sonic_init(struct net_device *dev)
return 0; return 0;
} }
MODULE_LICENSE("GPL");
...@@ -445,7 +445,7 @@ static void ahc_linux_free_device(struct ahc_softc*, ...@@ -445,7 +445,7 @@ static void ahc_linux_free_device(struct ahc_softc*,
struct ahc_linux_device*); struct ahc_linux_device*);
static void ahc_linux_run_device_queue(struct ahc_softc*, static void ahc_linux_run_device_queue(struct ahc_softc*,
struct ahc_linux_device*); struct ahc_linux_device*);
static void ahc_linux_setup_tag_info(char *p, char *end); static void ahc_linux_setup_tag_info(char *p, char *end, char *s);
static int ahc_linux_next_unit(void); static int ahc_linux_next_unit(void);
static int ahc_linux_halt(struct notifier_block *nb, u_long event, void *buf); static int ahc_linux_halt(struct notifier_block *nb, u_long event, void *buf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment