diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-07-09 15:30:17 -0400 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-11-21 20:49:48 -0500 |
commit | 967834361a4beb3bbd3069189c192dc6fdeef8a9 (patch) | |
tree | 5ab9b849a283891f16208426aa7c3c7f3be6e526 /drivers/net/wan/pci200syn.c | |
parent | 0954ed826921bcf11352e05a58d598c493e6bdfb (diff) |
WAN: don't print HD64572 driver versions anymore.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'drivers/net/wan/pci200syn.c')
-rw-r--r-- | drivers/net/wan/pci200syn.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c index bfcf4f67b4c0..a16311a79e9a 100644 --- a/drivers/net/wan/pci200syn.c +++ b/drivers/net/wan/pci200syn.c | |||
@@ -33,9 +33,6 @@ | |||
33 | 33 | ||
34 | #include "hd64572.h" | 34 | #include "hd64572.h" |
35 | 35 | ||
36 | static const char* version = "Goramo PCI200SYN driver version: 1.16"; | ||
37 | static const char* devname = "PCI200SYN"; | ||
38 | |||
39 | #undef DEBUG_PKT | 36 | #undef DEBUG_PKT |
40 | #define DEBUG_RINGS | 37 | #define DEBUG_RINGS |
41 | 38 | ||
@@ -294,12 +291,6 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev, | |||
294 | u32 scaphys; /* SCA memory base */ | 291 | u32 scaphys; /* SCA memory base */ |
295 | u32 plxphys; /* PLX registers memory base */ | 292 | u32 plxphys; /* PLX registers memory base */ |
296 | 293 | ||
297 | #ifndef MODULE | ||
298 | static int printed_version; | ||
299 | if (!printed_version++) | ||
300 | printk(KERN_INFO "%s\n", version); | ||
301 | #endif | ||
302 | |||
303 | i = pci_enable_device(pdev); | 294 | i = pci_enable_device(pdev); |
304 | if (i) | 295 | if (i) |
305 | return i; | 296 | return i; |
@@ -396,7 +387,7 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev, | |||
396 | writew(readw(p) | 0x0040, p); | 387 | writew(readw(p) | 0x0040, p); |
397 | 388 | ||
398 | /* Allocate IRQ */ | 389 | /* Allocate IRQ */ |
399 | if (request_irq(pdev->irq, sca_intr, IRQF_SHARED, devname, card)) { | 390 | if (request_irq(pdev->irq, sca_intr, IRQF_SHARED, "pci200syn", card)) { |
400 | printk(KERN_WARNING "pci200syn: could not allocate IRQ%d.\n", | 391 | printk(KERN_WARNING "pci200syn: could not allocate IRQ%d.\n", |
401 | pdev->irq); | 392 | pdev->irq); |
402 | pci200_pci_remove_one(pdev); | 393 | pci200_pci_remove_one(pdev); |
@@ -462,9 +453,6 @@ static struct pci_driver pci200_pci_driver = { | |||
462 | 453 | ||
463 | static int __init pci200_init_module(void) | 454 | static int __init pci200_init_module(void) |
464 | { | 455 | { |
465 | #ifdef MODULE | ||
466 | printk(KERN_INFO "%s\n", version); | ||
467 | #endif | ||
468 | if (pci_clock_freq < 1000000 || pci_clock_freq > 80000000) { | 456 | if (pci_clock_freq < 1000000 || pci_clock_freq > 80000000) { |
469 | printk(KERN_ERR "pci200syn: Invalid PCI clock frequency\n"); | 457 | printk(KERN_ERR "pci200syn: Invalid PCI clock frequency\n"); |
470 | return -EINVAL; | 458 | return -EINVAL; |