mirror of https://gitee.com/openkylin/linux.git
remove broken URLs from net drivers' output
Remove broken URLs (www.scyld.com) from network drivers' logging output. URLs in comments and other strings are left intact. Signed-off-by: Markus Dahms <dahms@fh-brandenburg.de> Acked-by: Jesper Juhl <jesper.juhl@gmail.com> Acked-by: Alan Cox <alan@redhat.com> igned-off-by: Adrian Bunk <bunk@stusta.de>
This commit is contained in:
parent
b96687768a
commit
2c2a8c531e
|
@ -95,8 +95,7 @@ static int max_interrupt_work = 10;
|
|||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
|
||||
static char versionA[] __initdata = DRV_NAME ".c:" DRV_VERSION " " DRV_RELDATE " becker@scyld.com\n";
|
||||
static char versionB[] __initdata = "http://www.scyld.com/network/3c509.html\n";
|
||||
static char version[] __initdata = DRV_NAME ".c:" DRV_VERSION " " DRV_RELDATE " becker@scyld.com\n";
|
||||
|
||||
#if defined(CONFIG_PM) && (defined(CONFIG_MCA) || defined(CONFIG_EISA))
|
||||
#define EL3_SUSPEND
|
||||
|
@ -360,7 +359,7 @@ static int __init el3_common_init(struct net_device *dev)
|
|||
printk(", IRQ %d.\n", dev->irq);
|
||||
|
||||
if (el3_debug > 0)
|
||||
printk(KERN_INFO "%s" KERN_INFO "%s", versionA, versionB);
|
||||
printk(KERN_INFO "%s", version);
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ static int vortex_debug = 1;
|
|||
|
||||
|
||||
static char version[] __devinitdata =
|
||||
DRV_NAME ": Donald Becker and others. www.scyld.com/network/vortex.html\n";
|
||||
DRV_NAME ": Donald Becker and others.\n";
|
||||
|
||||
MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
|
||||
MODULE_DESCRIPTION("3Com 3c59x/3c9xx ethernet driver ");
|
||||
|
|
|
@ -31,10 +31,8 @@
|
|||
|
||||
*/
|
||||
|
||||
static const char versionA[] =
|
||||
static const char version[] =
|
||||
"atp.c:v1.09=ac 2002/10/01 Donald Becker <becker@scyld.com>\n";
|
||||
static const char versionB[] =
|
||||
" http://www.scyld.com/network/atp.html\n";
|
||||
|
||||
/* The user-configurable values.
|
||||
These may be modified when a driver module is loaded.*/
|
||||
|
@ -324,7 +322,7 @@ static int __init atp_probe1(long ioaddr)
|
|||
|
||||
#ifndef MODULE
|
||||
if (net_debug)
|
||||
printk(KERN_INFO "%s" KERN_INFO "%s", versionA, versionB);
|
||||
printk(KERN_INFO "%s", version);
|
||||
#endif
|
||||
|
||||
printk(KERN_NOTICE "%s: Pocket adapter found at %#3lx, IRQ %d, SAPROM "
|
||||
|
@ -926,7 +924,7 @@ static void set_rx_mode_8012(struct net_device *dev)
|
|||
|
||||
static int __init atp_init_module(void) {
|
||||
if (debug) /* Emit version even if no cards detected. */
|
||||
printk(KERN_INFO "%s" KERN_INFO "%s", versionA, versionB);
|
||||
printk(KERN_INFO "%s", version);
|
||||
return atp_init();
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
static const char * const version =
|
||||
"eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html\n"
|
||||
"eepro100.c:v1.09j-t 9/29/99 Donald Becker\n"
|
||||
"eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others\n";
|
||||
|
||||
/* A few user-configurable values that apply to all boards.
|
||||
|
|
|
@ -93,8 +93,6 @@ static int rx_copybreak;
|
|||
static char version[] __devinitdata =
|
||||
DRV_NAME ".c:v1.11 1/7/2001 Written by Donald Becker <becker@scyld.com>\n";
|
||||
static char version2[] __devinitdata =
|
||||
" http://www.scyld.com/network/epic100.html\n";
|
||||
static char version3[] __devinitdata =
|
||||
" (unofficial 2.4.x kernel port, version " DRV_VERSION ", " DRV_RELDATE ")\n";
|
||||
|
||||
MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
|
||||
|
@ -323,8 +321,8 @@ static int __devinit epic_init_one (struct pci_dev *pdev,
|
|||
#ifndef MODULE
|
||||
static int printed_version;
|
||||
if (!printed_version++)
|
||||
printk (KERN_INFO "%s" KERN_INFO "%s" KERN_INFO "%s",
|
||||
version, version2, version3);
|
||||
printk (KERN_INFO "%s" KERN_INFO "%s",
|
||||
version, version2);
|
||||
#endif
|
||||
|
||||
card_idx++;
|
||||
|
@ -1596,8 +1594,8 @@ static int __init epic_init (void)
|
|||
{
|
||||
/* when a module, this is printed whether or not devices are found in probe */
|
||||
#ifdef MODULE
|
||||
printk (KERN_INFO "%s" KERN_INFO "%s" KERN_INFO "%s",
|
||||
version, version2, version3);
|
||||
printk (KERN_INFO "%s" KERN_INFO "%s",
|
||||
version, version2);
|
||||
#endif
|
||||
|
||||
return pci_register_driver(&epic_driver);
|
||||
|
|
|
@ -131,7 +131,6 @@ static const char version[] __devinitdata =
|
|||
KERN_INFO DRV_NAME " dp8381x driver, version "
|
||||
DRV_VERSION ", " DRV_RELDATE "\n"
|
||||
KERN_INFO " originally by Donald Becker <becker@scyld.com>\n"
|
||||
KERN_INFO " http://www.scyld.com/network/natsemi.html\n"
|
||||
KERN_INFO " 2.4.x kernel port by Jeff Garzik, Tjeerd Mulder\n";
|
||||
|
||||
MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
|
||||
|
|
|
@ -63,8 +63,7 @@ static int options[MAX_UNITS];
|
|||
|
||||
/* These identify the driver base version and may not be removed. */
|
||||
static char version[] __devinitdata =
|
||||
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " D. Becker/P. Gortmaker\n"
|
||||
KERN_INFO " http://www.scyld.com/network/ne2k-pci.html\n";
|
||||
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " D. Becker/P. Gortmaker\n";
|
||||
|
||||
#if defined(__powerpc__)
|
||||
#define inl_le(addr) le32_to_cpu(inl(addr))
|
||||
|
|
|
@ -110,8 +110,7 @@ static char *media[MAX_UNITS];
|
|||
|
||||
/* These identify the driver base version and may not be removed. */
|
||||
static char version[] =
|
||||
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker\n"
|
||||
KERN_INFO " http://www.scyld.com/network/sundance.html\n";
|
||||
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker\n";
|
||||
|
||||
MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
|
||||
MODULE_DESCRIPTION("Sundance Alta Ethernet driver");
|
||||
|
|
|
@ -109,7 +109,6 @@ static int gx_fix;
|
|||
/* These identify the driver base version and may not be removed. */
|
||||
static char version[] __devinitdata =
|
||||
KERN_INFO DRV_NAME ".c:v1.05 1/09/2001 Written by Donald Becker <becker@scyld.com>\n"
|
||||
KERN_INFO " http://www.scyld.com/network/yellowfin.html\n"
|
||||
KERN_INFO " (unofficial 2.4.x port, " DRV_VERSION ", " DRV_RELDATE ")\n";
|
||||
|
||||
MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
|
||||
|
|
Loading…
Reference in New Issue