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
28b53d6d
Commit
28b53d6d
authored
Mar 06, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge pobox.com:/garz/repo/netdev-2.6/sundance
into pobox.com:/garz/repo/net-drivers-2.6
parents
8a09222d
59fb935e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
drivers/net/sundance.c
drivers/net/sundance.c
+4
-3
No files found.
drivers/net/sundance.c
View file @
28b53d6d
...
...
@@ -1210,9 +1210,11 @@ static irqreturn_t intr_handler(int irq, void *dev_instance, struct pt_regs *rgs
}
/* Yup, this is a documentation bug. It cost me *hours*. */
iowrite16
(
0
,
ioaddr
+
TxStatus
);
tx_status
=
ioread16
(
ioaddr
+
TxStatus
);
if
(
tx_cnt
<
0
)
if
(
tx_cnt
<
0
)
{
iowrite32
(
5000
,
ioaddr
+
DownCounter
);
break
;
}
tx_status
=
ioread16
(
ioaddr
+
TxStatus
);
}
hw_frame_id
=
(
tx_status
>>
8
)
&
0xff
;
}
else
{
...
...
@@ -1278,7 +1280,6 @@ static irqreturn_t intr_handler(int irq, void *dev_instance, struct pt_regs *rgs
if
(
netif_msg_intr
(
np
))
printk
(
KERN_DEBUG
"%s: exiting interrupt, status=%#4.4x.
\n
"
,
dev
->
name
,
ioread16
(
ioaddr
+
IntrStatus
));
iowrite32
(
5000
,
ioaddr
+
DownCounter
);
return
IRQ_RETVAL
(
handled
);
}
...
...
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