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
5d6672fd
Commit
5d6672fd
authored
May 29, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge redhat.com:/garz/repo/linus-2.5
into redhat.com:/garz/repo/net-drivers-2.5
parents
cd23eff8
159c5a97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
drivers/net/e100/e100_main.c
drivers/net/e100/e100_main.c
+17
-16
No files found.
drivers/net/e100/e100_main.c
View file @
5d6672fd
...
...
@@ -614,22 +614,6 @@ e100_found1(struct pci_dev *pcid, const struct pci_device_id *ent)
goto
err_dealloc
;
}
dev
->
vlan_rx_register
=
e100_vlan_rx_register
;
dev
->
vlan_rx_add_vid
=
e100_vlan_rx_add_vid
;
dev
->
vlan_rx_kill_vid
=
e100_vlan_rx_kill_vid
;
dev
->
irq
=
pcid
->
irq
;
dev
->
open
=
&
e100_open
;
dev
->
hard_start_xmit
=
&
e100_xmit_frame
;
dev
->
stop
=
&
e100_close
;
dev
->
change_mtu
=
&
e100_change_mtu
;
dev
->
get_stats
=
&
e100_get_stats
;
dev
->
set_multicast_list
=
&
e100_set_multi
;
dev
->
set_mac_address
=
&
e100_set_mac
;
dev
->
do_ioctl
=
&
e100_ioctl
;
if
(
bdp
->
flags
&
USE_IPCB
)
dev
->
features
=
NETIF_F_SG
|
NETIF_F_HW_CSUM
|
NETIF_F_HW_VLAN_TX
|
NETIF_F_HW_VLAN_RX
;
if
((
rc
=
register_netdev
(
dev
))
!=
0
)
{
goto
err_pci
;
}
...
...
@@ -676,6 +660,23 @@ e100_found1(struct pci_dev *pcid, const struct pci_device_id *ent)
goto
err_unregister_netdev
;
}
dev
->
vlan_rx_register
=
e100_vlan_rx_register
;
dev
->
vlan_rx_add_vid
=
e100_vlan_rx_add_vid
;
dev
->
vlan_rx_kill_vid
=
e100_vlan_rx_kill_vid
;
dev
->
irq
=
pcid
->
irq
;
dev
->
open
=
&
e100_open
;
dev
->
hard_start_xmit
=
&
e100_xmit_frame
;
dev
->
stop
=
&
e100_close
;
dev
->
change_mtu
=
&
e100_change_mtu
;
dev
->
get_stats
=
&
e100_get_stats
;
dev
->
set_multicast_list
=
&
e100_set_multi
;
dev
->
set_mac_address
=
&
e100_set_mac
;
dev
->
do_ioctl
=
&
e100_ioctl
;
if
(
bdp
->
flags
&
USE_IPCB
)
dev
->
features
=
NETIF_F_SG
|
NETIF_F_HW_CSUM
|
NETIF_F_HW_VLAN_TX
|
NETIF_F_HW_VLAN_RX
;
e100nics
++
;
e100_get_speed_duplex_caps
(
bdp
);
...
...
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