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
0b2bfc7d
Commit
0b2bfc7d
authored
Mar 08, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://gkernel.bkbits.net/net-drivers-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux
parents
1af452e4
febd4f29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
drivers/net/hp100.c
drivers/net/hp100.c
+1
-1
drivers/net/pcnet32.c
drivers/net/pcnet32.c
+3
-2
No files found.
drivers/net/hp100.c
View file @
0b2bfc7d
...
@@ -2862,7 +2862,7 @@ static int __init hp100_eisa_probe (struct device *gendev)
...
@@ -2862,7 +2862,7 @@ static int __init hp100_eisa_probe (struct device *gendev)
SET_MODULE_OWNER
(
dev
);
SET_MODULE_OWNER
(
dev
);
SET_NETDEV_DEV
(
dev
,
&
edev
->
dev
);
SET_NETDEV_DEV
(
dev
,
&
edev
->
dev
);
err
=
hp100_probe1
(
dev
,
edev
->
base_addr
,
HP100_BUS_EISA
,
NULL
);
err
=
hp100_probe1
(
dev
,
edev
->
base_addr
+
0xC38
,
HP100_BUS_EISA
,
NULL
);
if
(
err
)
if
(
err
)
goto
out1
;
goto
out1
;
...
...
drivers/net/pcnet32.c
View file @
0b2bfc7d
...
@@ -1452,11 +1452,12 @@ pcnet32_start_xmit(struct sk_buff *skb, struct net_device *dev)
...
@@ -1452,11 +1452,12 @@ pcnet32_start_xmit(struct sk_buff *skb, struct net_device *dev)
status
=
0x8300
;
status
=
0x8300
;
entry
=
(
lp
->
cur_tx
-
lp
->
dirty_tx
)
&
TX_RING_MOD_MASK
;
entry
=
(
lp
->
cur_tx
-
lp
->
dirty_tx
)
&
TX_RING_MOD_MASK
;
if
((
lp
->
ltint
)
&&
if
((
lp
->
ltint
)
&&
((
entry
==
TX_RING_SIZE
/
2
)
||
((
entry
==
TX_RING_SIZE
/
3
)
||
(
entry
==
(
TX_RING_SIZE
*
2
)
/
3
)
||
(
entry
>=
TX_RING_SIZE
-
2
)))
(
entry
>=
TX_RING_SIZE
-
2
)))
{
{
/* Enable Successful-TxDone interrupt if we have
/* Enable Successful-TxDone interrupt if we have
* 1/
2 of,
or nearly all of, our ring buffer Tx'd
* 1/
3, 2/3
or nearly all of, our ring buffer Tx'd
* but not yet cleaned up. Thus, most of the time,
* but not yet cleaned up. Thus, most of the time,
* we will not enable Successful-TxDone interrupts.
* we will not enable Successful-TxDone interrupts.
*/
*/
...
...
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