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
Kirill Smelkov
linux
Commits
0c26cf9e
Commit
0c26cf9e
authored
Oct 31, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 31, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] warning fixes
These are from inl going back to 32bit
parent
25409de1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/net/dl2k.c
drivers/net/dl2k.c
+1
-1
drivers/net/fealnx.c
drivers/net/fealnx.c
+4
-4
No files found.
drivers/net/dl2k.c
View file @
0c26cf9e
...
...
@@ -535,7 +535,7 @@ rio_tx_timeout (struct net_device *dev)
{
long
ioaddr
=
dev
->
base_addr
;
printk
(
KERN_INFO
"%s: Tx timed out (%4.4
l
x), is buffer full?
\n
"
,
printk
(
KERN_INFO
"%s: Tx timed out (%4.4x), is buffer full?
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
TxStatus
));
rio_free_tx
(
dev
,
0
);
dev
->
if_port
=
0
;
...
...
drivers/net/fealnx.c
View file @
0c26cf9e
...
...
@@ -1155,8 +1155,8 @@ static void netdev_timer(unsigned long data)
unsigned
int
old_linkok
=
np
->
linkok
;
if
(
debug
)
printk
(
KERN_DEBUG
"%s: Media selection timer tick, status %8.8x "
"config %8.8x.
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
),
printk
(
KERN_DEBUG
"%s: Media selection timer tick, status %8.8
l
x "
"config %8.8
l
x.
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
),
readl
(
ioaddr
+
TCRRCR
));
if
(
np
->
flags
==
HAS_MII_XCVR
)
{
...
...
@@ -1184,7 +1184,7 @@ static void tx_timeout(struct net_device *dev)
long
ioaddr
=
dev
->
base_addr
;
int
i
;
printk
(
KERN_WARNING
"%s: Transmit timed out, status %8.8x,"
printk
(
KERN_WARNING
"%s: Transmit timed out, status %8.8
l
x,"
" resetting...
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
));
{
...
...
@@ -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
;
if
(
debug
)
printk
(
KERN_DEBUG
"%s: exiting interrupt, status=%#4.4x.
\n
"
,
printk
(
KERN_DEBUG
"%s: exiting interrupt, status=%#4.4
l
x.
\n
"
,
dev
->
name
,
readl
(
ioaddr
+
ISR
));
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