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
b91cc1b2
Commit
b91cc1b2
authored
Jan 08, 2005
by
Ganesh Venkatesan
Committed by
Jeff Garzik
Jan 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ixgb: Add support for 10GbE LR device ID
Signed-off-by:
Ganesh Venkatesan
<
ganesh.venkatesan@intel.com
>
parent
5cd8b820
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
drivers/net/ixgb/ixgb_hw.c
drivers/net/ixgb/ixgb_hw.c
+5
-0
drivers/net/ixgb/ixgb_ids.h
drivers/net/ixgb/ixgb_ids.h
+1
-0
drivers/net/ixgb/ixgb_main.c
drivers/net/ixgb/ixgb_main.c
+6
-3
No files found.
drivers/net/ixgb/ixgb_hw.c
View file @
b91cc1b2
...
...
@@ -210,6 +210,11 @@ static ixgb_phy_type ixgb_identify_phy(struct ixgb_hw *hw)
phy_type
=
ixgb_phy_type_g6005
;
}
break
;
case
IXGB_DEVICE_ID_82597EX_LR
:
DEBUGOUT
(
"Identified G6104 optics
\n
"
);
phy_type
=
ixgb_phy_type_g6104
;
break
;
default:
DEBUGOUT
(
"Unknown physical layer module
\n
"
);
...
...
drivers/net/ixgb/ixgb_ids.h
View file @
b91cc1b2
...
...
@@ -47,6 +47,7 @@
#define IXGB_SUBDEVICE_ID_A12F 0xA12F
#define IXGB_SUBDEVICE_ID_A02F 0xA02F
#define IXGB_DEVICE_ID_82597EX_LR 0x1B48
#endif
/* #ifndef _IXGB_IDS_H_ */
...
...
drivers/net/ixgb/ixgb_main.c
View file @
b91cc1b2
...
...
@@ -46,6 +46,8 @@ static struct pci_device_id ixgb_pci_tbl[] = {
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
INTEL_VENDOR_ID
,
IXGB_DEVICE_ID_82597EX_SR
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
INTEL_VENDOR_ID
,
IXGB_DEVICE_ID_82597EX_LR
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
/* required last entry */
{
0
,}
...
...
@@ -532,9 +534,10 @@ static int __devinit ixgb_sw_init(struct ixgb_adapter *adapter)
hw
->
max_frame_size
=
netdev
->
mtu
+
ENET_HEADER_SIZE
+
ENET_FCS_LENGTH
;
if
((
hw
->
device_id
==
IXGB_DEVICE_ID_82597EX
)
||
(
hw
->
device_id
==
IXGB_DEVICE_ID_82597EX_SR
))
hw
->
mac_type
=
ixgb_82597
;
if
((
hw
->
device_id
==
IXGB_DEVICE_ID_82597EX
)
||
(
hw
->
device_id
==
IXGB_DEVICE_ID_82597EX_LR
)
||
(
hw
->
device_id
==
IXGB_DEVICE_ID_82597EX_SR
))
hw
->
mac_type
=
ixgb_82597
;
else
{
/* should never have loaded on this device */
printk
(
KERN_ERR
"ixgb: unsupported device id
\n
"
);
...
...
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