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
adec6e14
Commit
adec6e14
authored
Jan 10, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e1000/ixgb net drivers: rename global symbol to fix 'make allyesconfig'
parent
5d615b9b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/net/e1000/e1000_ethtool.c
drivers/net/e1000/e1000_ethtool.c
+1
-1
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_main.c
+2
-2
drivers/net/ixgb/ixgb_ethtool.c
drivers/net/ixgb/ixgb_ethtool.c
+1
-1
drivers/net/ixgb/ixgb_main.c
drivers/net/ixgb/ixgb_main.c
+2
-2
No files found.
drivers/net/e1000/e1000_ethtool.c
View file @
adec6e14
...
...
@@ -1666,7 +1666,7 @@ struct ethtool_ops e1000_ethtool_ops = {
.
get_ethtool_stats
=
e1000_get_ethtool_stats
,
};
void
set_ethtool_ops
(
struct
net_device
*
netdev
)
void
e1000_
set_ethtool_ops
(
struct
net_device
*
netdev
)
{
SET_ETHTOOL_OPS
(
netdev
,
&
e1000_ethtool_ops
);
}
drivers/net/e1000/e1000_main.c
View file @
adec6e14
...
...
@@ -151,7 +151,7 @@ static void e1000_alloc_rx_buffers(struct e1000_adapter *adapter);
static
int
e1000_ioctl
(
struct
net_device
*
netdev
,
struct
ifreq
*
ifr
,
int
cmd
);
static
int
e1000_mii_ioctl
(
struct
net_device
*
netdev
,
struct
ifreq
*
ifr
,
int
cmd
);
void
set_ethtool_ops
(
struct
net_device
*
netdev
);
void
e1000_
set_ethtool_ops
(
struct
net_device
*
netdev
);
static
void
e1000_enter_82542_rst
(
struct
e1000_adapter
*
adapter
);
static
void
e1000_leave_82542_rst
(
struct
e1000_adapter
*
adapter
);
static
void
e1000_tx_timeout
(
struct
net_device
*
dev
);
...
...
@@ -475,7 +475,7 @@ e1000_probe(struct pci_dev *pdev,
netdev
->
set_mac_address
=
&
e1000_set_mac
;
netdev
->
change_mtu
=
&
e1000_change_mtu
;
netdev
->
do_ioctl
=
&
e1000_ioctl
;
set_ethtool_ops
(
netdev
);
e1000_
set_ethtool_ops
(
netdev
);
netdev
->
tx_timeout
=
&
e1000_tx_timeout
;
netdev
->
watchdog_timeo
=
5
*
HZ
;
#ifdef CONFIG_E1000_NAPI
...
...
drivers/net/ixgb/ixgb_ethtool.c
View file @
adec6e14
...
...
@@ -695,7 +695,7 @@ struct ethtool_ops ixgb_ethtool_ops = {
.
get_ethtool_stats
=
ixgb_get_ethtool_stats
,
};
void
set_ethtool_ops
(
struct
net_device
*
netdev
)
void
ixgb_
set_ethtool_ops
(
struct
net_device
*
netdev
)
{
SET_ETHTOOL_OPS
(
netdev
,
&
ixgb_ethtool_ops
);
}
drivers/net/ixgb/ixgb_main.c
View file @
adec6e14
...
...
@@ -107,7 +107,7 @@ static boolean_t ixgb_clean_rx_irq(struct ixgb_adapter *adapter,
static
boolean_t
ixgb_clean_rx_irq
(
struct
ixgb_adapter
*
adapter
);
#endif
static
void
ixgb_alloc_rx_buffers
(
struct
ixgb_adapter
*
adapter
);
void
set_ethtool_ops
(
struct
net_device
*
netdev
);
void
ixgb_
set_ethtool_ops
(
struct
net_device
*
netdev
);
static
void
ixgb_tx_timeout
(
struct
net_device
*
dev
);
static
void
ixgb_tx_timeout_task
(
struct
net_device
*
dev
);
static
void
ixgb_vlan_rx_register
(
struct
net_device
*
netdev
,
...
...
@@ -411,7 +411,7 @@ ixgb_probe(struct pci_dev *pdev,
netdev
->
set_multicast_list
=
&
ixgb_set_multi
;
netdev
->
set_mac_address
=
&
ixgb_set_mac
;
netdev
->
change_mtu
=
&
ixgb_change_mtu
;
set_ethtool_ops
(
netdev
);
ixgb_
set_ethtool_ops
(
netdev
);
netdev
->
tx_timeout
=
&
ixgb_tx_timeout
;
netdev
->
watchdog_timeo
=
HZ
;
#ifdef CONFIG_IXGB_NAPI
...
...
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