Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
96783436
Commit
96783436
authored
Jul 09, 2008
by
Krzysztof Hałasa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WAN: don't print HD64572 driver versions anymore.
Signed-off-by:
Krzysztof Hałasa
<
khc@pm.waw.pl
>
parent
0954ed82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
26 deletions
+2
-26
drivers/net/wan/pc300too.c
drivers/net/wan/pc300too.c
+1
-13
drivers/net/wan/pci200syn.c
drivers/net/wan/pci200syn.c
+1
-13
No files found.
drivers/net/wan/pc300too.c
View file @
96783436
...
...
@@ -37,9 +37,6 @@
#include "hd64572.h"
static
const
char
*
version
=
"Cyclades PC300 driver version: 1.17"
;
static
const
char
*
devname
=
"PC300"
;
#undef DEBUG_PKT
#define DEBUG_RINGS
...
...
@@ -316,12 +313,6 @@ static int __devinit pc300_pci_init_one(struct pci_dev *pdev,
u32
scaphys
;
/* SCA memory base */
u32
plxphys
;
/* PLX registers memory base */
#ifndef MODULE
static
int
printed_version
;
if
(
!
printed_version
++
)
printk
(
KERN_INFO
"%s
\n
"
,
version
);
#endif
i
=
pci_enable_device
(
pdev
);
if
(
i
)
return
i
;
...
...
@@ -444,7 +435,7 @@ static int __devinit pc300_pci_init_one(struct pci_dev *pdev,
writew
(
0x0041
,
&
card
->
plxbase
->
intr_ctrl_stat
);
/* Allocate IRQ */
if
(
request_irq
(
pdev
->
irq
,
sca_intr
,
IRQF_SHARED
,
devname
,
card
))
{
if
(
request_irq
(
pdev
->
irq
,
sca_intr
,
IRQF_SHARED
,
"pc300"
,
card
))
{
printk
(
KERN_WARNING
"pc300: could not allocate IRQ%d.
\n
"
,
pdev
->
irq
);
pc300_pci_remove_one
(
pdev
);
...
...
@@ -522,9 +513,6 @@ static struct pci_driver pc300_pci_driver = {
static
int
__init
pc300_init_module
(
void
)
{
#ifdef MODULE
printk
(
KERN_INFO
"%s
\n
"
,
version
);
#endif
if
(
pci_clock_freq
<
1000000
||
pci_clock_freq
>
80000000
)
{
printk
(
KERN_ERR
"pc300: Invalid PCI clock frequency
\n
"
);
return
-
EINVAL
;
...
...
drivers/net/wan/pci200syn.c
View file @
96783436
...
...
@@ -33,9 +33,6 @@
#include "hd64572.h"
static
const
char
*
version
=
"Goramo PCI200SYN driver version: 1.16"
;
static
const
char
*
devname
=
"PCI200SYN"
;
#undef DEBUG_PKT
#define DEBUG_RINGS
...
...
@@ -294,12 +291,6 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev,
u32
scaphys
;
/* SCA memory base */
u32
plxphys
;
/* PLX registers memory base */
#ifndef MODULE
static
int
printed_version
;
if
(
!
printed_version
++
)
printk
(
KERN_INFO
"%s
\n
"
,
version
);
#endif
i
=
pci_enable_device
(
pdev
);
if
(
i
)
return
i
;
...
...
@@ -396,7 +387,7 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev,
writew
(
readw
(
p
)
|
0x0040
,
p
);
/* Allocate IRQ */
if
(
request_irq
(
pdev
->
irq
,
sca_intr
,
IRQF_SHARED
,
devname
,
card
))
{
if
(
request_irq
(
pdev
->
irq
,
sca_intr
,
IRQF_SHARED
,
"pci200syn"
,
card
))
{
printk
(
KERN_WARNING
"pci200syn: could not allocate IRQ%d.
\n
"
,
pdev
->
irq
);
pci200_pci_remove_one
(
pdev
);
...
...
@@ -462,9 +453,6 @@ static struct pci_driver pci200_pci_driver = {
static
int
__init
pci200_init_module
(
void
)
{
#ifdef MODULE
printk
(
KERN_INFO
"%s
\n
"
,
version
);
#endif
if
(
pci_clock_freq
<
1000000
||
pci_clock_freq
>
80000000
)
{
printk
(
KERN_ERR
"pci200syn: Invalid PCI clock frequency
\n
"
);
return
-
EINVAL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment