Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
20060be5
Commit
20060be5
authored
Nov 23, 2002
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o fealnx: fix up some printk paramenters
parent
8f2b95f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/net/fealnx.c
drivers/net/fealnx.c
+4
-4
No files found.
drivers/net/fealnx.c
View file @
20060be5
...
@@ -1155,8 +1155,8 @@ static void netdev_timer(unsigned long data)
...
@@ -1155,8 +1155,8 @@ static void netdev_timer(unsigned long data)
unsigned
int
old_linkok
=
np
->
linkok
;
unsigned
int
old_linkok
=
np
->
linkok
;
if
(
debug
)
if
(
debug
)
printk
(
KERN_DEBUG
"%s: Media selection timer tick, status %8.8
l
x "
printk
(
KERN_DEBUG
"%s: Media selection timer tick, status %8.8x "
"config %8.8
l
x.
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
),
"config %8.8x.
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
),
readl
(
ioaddr
+
TCRRCR
));
readl
(
ioaddr
+
TCRRCR
));
if
(
np
->
flags
==
HAS_MII_XCVR
)
{
if
(
np
->
flags
==
HAS_MII_XCVR
)
{
...
@@ -1184,7 +1184,7 @@ static void tx_timeout(struct net_device *dev)
...
@@ -1184,7 +1184,7 @@ static void tx_timeout(struct net_device *dev)
long
ioaddr
=
dev
->
base_addr
;
long
ioaddr
=
dev
->
base_addr
;
int
i
;
int
i
;
printk
(
KERN_WARNING
"%s: Transmit timed out, status %8.8
l
x,"
printk
(
KERN_WARNING
"%s: Transmit timed out, status %8.8x,"
" resetting...
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
));
" resetting...
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
));
{
{
...
@@ -1555,7 +1555,7 @@ static void intr_handler(int irq, void *dev_instance, struct pt_regs *rgs)
...
@@ -1555,7 +1555,7 @@ static void intr_handler(int irq, void *dev_instance, struct pt_regs *rgs)
np
->
stats
.
rx_crc_errors
+=
(
readl
(
ioaddr
+
TALLY
)
&
0x7fff0000
)
>>
16
;
np
->
stats
.
rx_crc_errors
+=
(
readl
(
ioaddr
+
TALLY
)
&
0x7fff0000
)
>>
16
;
if
(
debug
)
if
(
debug
)
printk
(
KERN_DEBUG
"%s: exiting interrupt, status=%#4.4
l
x.
\n
"
,
printk
(
KERN_DEBUG
"%s: exiting interrupt, status=%#4.4x.
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
));
dev
->
name
,
readl
(
ioaddr
+
ISR
));
writel
(
np
->
imrvalue
,
ioaddr
+
IMR
);
writel
(
np
->
imrvalue
,
ioaddr
+
IMR
);
...
...
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