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
c1dbc2e4
Commit
c1dbc2e4
authored
Aug 27, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 8139too net driver to make new rx-reset method the default
parent
168fbe85
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/net/8139too.c
drivers/net/8139too.c
+2
-2
drivers/net/Config.in
drivers/net/Config.in
+1
-1
No files found.
drivers/net/8139too.c
View file @
c1dbc2e4
...
@@ -1784,7 +1784,7 @@ static void rtl8139_rx_err (u32 rx_status, struct net_device *dev,
...
@@ -1784,7 +1784,7 @@ static void rtl8139_rx_err (u32 rx_status, struct net_device *dev,
struct
rtl8139_private
*
tp
,
void
*
ioaddr
)
struct
rtl8139_private
*
tp
,
void
*
ioaddr
)
{
{
u8
tmp8
;
u8
tmp8
;
#if
ndef CONFIG_8139_NEW
_RX_RESET
#if
def CONFIG_8139_OLD
_RX_RESET
int
tmp_work
;
int
tmp_work
;
#endif
#endif
...
@@ -1807,7 +1807,7 @@ static void rtl8139_rx_err (u32 rx_status, struct net_device *dev,
...
@@ -1807,7 +1807,7 @@ static void rtl8139_rx_err (u32 rx_status, struct net_device *dev,
tp
->
xstats
.
rx_lost_in_ring
++
;
tp
->
xstats
.
rx_lost_in_ring
++
;
}
}
#if
def CONFIG_8139_NEW
_RX_RESET
#if
ndef CONFIG_8139_OLD
_RX_RESET
tmp8
=
RTL_R8
(
ChipCmd
);
tmp8
=
RTL_R8
(
ChipCmd
);
RTL_W8
(
ChipCmd
,
tmp8
&
~
CmdRxEnb
);
RTL_W8
(
ChipCmd
,
tmp8
&
~
CmdRxEnb
);
RTL_W8
(
ChipCmd
,
tmp8
);
RTL_W8
(
ChipCmd
,
tmp8
);
...
...
drivers/net/Config.in
View file @
c1dbc2e4
...
@@ -176,7 +176,7 @@ if [ "$CONFIG_NET_ETHERNET" = "y" ]; then
...
@@ -176,7 +176,7 @@ if [ "$CONFIG_NET_ETHERNET" = "y" ]; then
dep_mbool ' Use PIO instead of MMIO' CONFIG_8139TOO_PIO $CONFIG_8139TOO
dep_mbool ' Use PIO instead of MMIO' CONFIG_8139TOO_PIO $CONFIG_8139TOO
dep_mbool ' Support for automatic channel equalization (EXPERIMENTAL)' CONFIG_8139TOO_TUNE_TWISTER $CONFIG_8139TOO $CONFIG_EXPERIMENTAL
dep_mbool ' Support for automatic channel equalization (EXPERIMENTAL)' CONFIG_8139TOO_TUNE_TWISTER $CONFIG_8139TOO $CONFIG_EXPERIMENTAL
dep_mbool ' Support for older RTL-8129/8130 boards' CONFIG_8139TOO_8129 $CONFIG_8139TOO
dep_mbool ' Support for older RTL-8129/8130 boards' CONFIG_8139TOO_8129 $CONFIG_8139TOO
dep_mbool '
Experiment for better RX reset (EXPERIMENTAL)' CONFIG_8139_NEW_RX_RESET $CONFIG_8139TOO $CONFIG_EXPERIMENTAL
dep_mbool '
Use older RX-reset method' CONFIG_8139_NEW_RX_RESET $CONFIG_8139TOO
dep_tristate ' SiS 900/7016 PCI Fast Ethernet Adapter support' CONFIG_SIS900 $CONFIG_PCI
dep_tristate ' SiS 900/7016 PCI Fast Ethernet Adapter support' CONFIG_SIS900 $CONFIG_PCI
dep_tristate ' SMC EtherPower II' CONFIG_EPIC100 $CONFIG_PCI
dep_tristate ' SMC EtherPower II' CONFIG_EPIC100 $CONFIG_PCI
dep_tristate ' Sundance Alta support' CONFIG_SUNDANCE $CONFIG_PCI
dep_tristate ' Sundance Alta support' CONFIG_SUNDANCE $CONFIG_PCI
...
...
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