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
634a9f3e
Commit
634a9f3e
authored
May 31, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge redhat.com:/spare/repo/linux-2.6
into redhat.com:/spare/repo/net-drivers-2.6
parents
d17ae813
8b24fc91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
34 deletions
+5
-34
drivers/net/8139too.c
drivers/net/8139too.c
+1
-1
drivers/net/e1000/e1000_ethtool.c
drivers/net/e1000/e1000_ethtool.c
+4
-33
No files found.
drivers/net/8139too.c
View file @
634a9f3e
...
@@ -171,7 +171,7 @@ static int debug = -1;
...
@@ -171,7 +171,7 @@ static int debug = -1;
* Receive ring size
* Receive ring size
* Warning: 64K ring has hardware issues and may lock up.
* Warning: 64K ring has hardware issues and may lock up.
*/
*/
#if defined(CONFIG_SH_DREAMCAST)
|| defined(CONFIG_EMBEDDED)
#if defined(CONFIG_SH_DREAMCAST)
#define RX_BUF_IDX 1
/* 16K ring */
#define RX_BUF_IDX 1
/* 16K ring */
#else
#else
#define RX_BUF_IDX 2
/* 32K ring */
#define RX_BUF_IDX 2
/* 32K ring */
...
...
drivers/net/e1000/e1000_ethtool.c
View file @
634a9f3e
...
@@ -297,30 +297,7 @@ e1000_set_tx_csum(struct net_device *netdev, uint32_t data)
...
@@ -297,30 +297,7 @@ e1000_set_tx_csum(struct net_device *netdev, uint32_t data)
return
0
;
return
0
;
}
}
static
uint32_t
e1000_get_sg
(
struct
net_device
*
netdev
)
{
return
(
netdev
->
features
&
NETIF_F_SG
)
!=
0
;
}
static
int
e1000_set_sg
(
struct
net_device
*
netdev
,
uint32_t
data
)
{
if
(
data
)
netdev
->
features
|=
NETIF_F_SG
;
else
netdev
->
features
&=
~
NETIF_F_SG
;
return
0
;
}
#ifdef NETIF_F_TSO
#ifdef NETIF_F_TSO
static
uint32_t
e1000_get_tso
(
struct
net_device
*
netdev
)
{
return
(
netdev
->
features
&
NETIF_F_TSO
)
!=
0
;
}
static
int
static
int
e1000_set_tso
(
struct
net_device
*
netdev
,
uint32_t
data
)
e1000_set_tso
(
struct
net_device
*
netdev
,
uint32_t
data
)
{
{
...
@@ -1577,12 +1554,6 @@ e1000_nway_reset(struct net_device *netdev)
...
@@ -1577,12 +1554,6 @@ e1000_nway_reset(struct net_device *netdev)
return
0
;
return
0
;
}
}
static
uint32_t
e1000_get_link
(
struct
net_device
*
netdev
)
{
return
netif_carrier_ok
(
netdev
);
}
static
int
static
int
e1000_get_stats_count
(
struct
net_device
*
netdev
)
e1000_get_stats_count
(
struct
net_device
*
netdev
)
{
{
...
@@ -1635,7 +1606,7 @@ struct ethtool_ops e1000_ethtool_ops = {
...
@@ -1635,7 +1606,7 @@ struct ethtool_ops e1000_ethtool_ops = {
.
get_msglevel
=
e1000_get_msglevel
,
.
get_msglevel
=
e1000_get_msglevel
,
.
set_msglevel
=
e1000_set_msglevel
,
.
set_msglevel
=
e1000_set_msglevel
,
.
nway_reset
=
e1000_nway_reset
,
.
nway_reset
=
e1000_nway_reset
,
.
get_link
=
e
1000
_get_link
,
.
get_link
=
e
thtool_op
_get_link
,
.
get_eeprom_len
=
e1000_get_eeprom_len
,
.
get_eeprom_len
=
e1000_get_eeprom_len
,
.
get_eeprom
=
e1000_get_eeprom
,
.
get_eeprom
=
e1000_get_eeprom
,
.
set_eeprom
=
e1000_set_eeprom
,
.
set_eeprom
=
e1000_set_eeprom
,
...
@@ -1647,10 +1618,10 @@ struct ethtool_ops e1000_ethtool_ops = {
...
@@ -1647,10 +1618,10 @@ struct ethtool_ops e1000_ethtool_ops = {
.
set_rx_csum
=
e1000_set_rx_csum
,
.
set_rx_csum
=
e1000_set_rx_csum
,
.
get_tx_csum
=
e1000_get_tx_csum
,
.
get_tx_csum
=
e1000_get_tx_csum
,
.
set_tx_csum
=
e1000_set_tx_csum
,
.
set_tx_csum
=
e1000_set_tx_csum
,
.
get_sg
=
e
1000
_get_sg
,
.
get_sg
=
e
thtool_op
_get_sg
,
.
set_sg
=
e
1000
_set_sg
,
.
set_sg
=
e
thtool_op
_set_sg
,
#ifdef NETIF_F_TSO
#ifdef NETIF_F_TSO
.
get_tso
=
e
1000
_get_tso
,
.
get_tso
=
e
thtool_op
_get_tso
,
.
set_tso
=
e1000_set_tso
,
.
set_tso
=
e1000_set_tso
,
#endif
#endif
.
self_test_count
=
e1000_diag_test_count
,
.
self_test_count
=
e1000_diag_test_count
,
...
...
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