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
3cb9f9fd
Commit
3cb9f9fd
authored
Oct 18, 2002
by
Jeb J. Cramer
Committed by
Jeff Garzik
Oct 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e1000 1/10:
* add new pci ids
parent
8bee0cd9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
15 deletions
+36
-15
drivers/net/e1000/e1000_hw.c
drivers/net/e1000/e1000_hw.c
+15
-0
drivers/net/e1000/e1000_hw.h
drivers/net/e1000/e1000_hw.h
+17
-14
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_main.c
+4
-1
No files found.
drivers/net/e1000/e1000_hw.c
View file @
3cb9f9fd
...
...
@@ -88,6 +88,9 @@ e1000_set_mac_type(struct e1000_hw *hw)
break
;
case
E1000_DEV_ID_82540EM
:
case
E1000_DEV_ID_82540EM_LOM
:
case
E1000_DEV_ID_82540EP
:
case
E1000_DEV_ID_82540EP_LOM
:
case
E1000_DEV_ID_82540EP_LP
:
hw
->
mac_type
=
e1000_82540
;
break
;
case
E1000_DEV_ID_82545EM_COPPER
:
...
...
@@ -3140,6 +3143,9 @@ e1000_setup_led(struct e1000_hw *hw)
ledctl
|=
(
E1000_LEDCTL_MODE_LED_OFF
<<
E1000_LEDCTL_LED0_MODE_SHIFT
);
E1000_WRITE_REG
(
hw
,
LEDCTL
,
ledctl
);
break
;
case
E1000_DEV_ID_82540EP
:
case
E1000_DEV_ID_82540EP_LOM
:
case
E1000_DEV_ID_82540EP_LP
:
case
E1000_DEV_ID_82540EM
:
case
E1000_DEV_ID_82540EM_LOM
:
case
E1000_DEV_ID_82545EM_COPPER
:
...
...
@@ -3173,6 +3179,9 @@ e1000_cleanup_led(struct e1000_hw *hw)
case
E1000_DEV_ID_82544GC_LOM
:
/* No cleanup necessary */
break
;
case
E1000_DEV_ID_82540EP
:
case
E1000_DEV_ID_82540EP_LOM
:
case
E1000_DEV_ID_82540EP_LP
:
case
E1000_DEV_ID_82540EM
:
case
E1000_DEV_ID_82540EM_LOM
:
case
E1000_DEV_ID_82545EM_COPPER
:
...
...
@@ -3223,6 +3232,9 @@ e1000_led_on(struct e1000_hw *hw)
ctrl
|=
E1000_CTRL_SWDPIO0
;
E1000_WRITE_REG
(
hw
,
CTRL
,
ctrl
);
break
;
case
E1000_DEV_ID_82540EP
:
case
E1000_DEV_ID_82540EP_LOM
:
case
E1000_DEV_ID_82540EP_LP
:
case
E1000_DEV_ID_82540EM
:
case
E1000_DEV_ID_82540EM_LOM
:
case
E1000_DEV_ID_82545EM_COPPER
:
...
...
@@ -3270,6 +3282,9 @@ e1000_led_off(struct e1000_hw *hw)
ctrl
|=
E1000_CTRL_SWDPIO0
;
E1000_WRITE_REG
(
hw
,
CTRL
,
ctrl
);
break
;
case
E1000_DEV_ID_82540EP
:
case
E1000_DEV_ID_82540EP_LOM
:
case
E1000_DEV_ID_82540EP_LP
:
case
E1000_DEV_ID_82540EM
:
case
E1000_DEV_ID_82540EM_LOM
:
case
E1000_DEV_ID_82545EM_COPPER
:
...
...
drivers/net/e1000/e1000_hw.h
View file @
3cb9f9fd
...
...
@@ -246,11 +246,14 @@ void e1000_write_reg_io(struct e1000_hw *hw, uint32_t offset, uint32_t value);
#define E1000_DEV_ID_82544GC_LOM 0x100D
#define E1000_DEV_ID_82540EM 0x100E
#define E1000_DEV_ID_82540EM_LOM 0x1015
#define E1000_DEV_ID_82540EP_LOM 0x1016
#define E1000_DEV_ID_82540EP 0x1017
#define E1000_DEV_ID_82540EP_LP 0x101E
#define E1000_DEV_ID_82545EM_COPPER 0x100F
#define E1000_DEV_ID_82545EM_FIBER 0x1011
#define E1000_DEV_ID_82546EB_COPPER 0x1010
#define E1000_DEV_ID_82546EB_FIBER 0x1012
#define NUM_DEV_IDS 1
3
#define NUM_DEV_IDS 1
6
#define NODE_ADDRESS_SIZE 6
#define ETH_LENGTH_OF_ADDRESS 6
...
...
drivers/net/e1000/e1000_main.c
View file @
3cb9f9fd
...
...
@@ -71,7 +71,7 @@
char
e1000_driver_name
[]
=
"e1000"
;
char
e1000_driver_string
[]
=
"Intel(R) PRO/1000 Network Driver"
;
char
e1000_driver_version
[]
=
"4.
3.15
-k1"
;
char
e1000_driver_version
[]
=
"4.
4.12
-k1"
;
char
e1000_copyright
[]
=
"Copyright (c) 1999-2002 Intel Corporation."
;
/* e1000_pci_tbl - PCI Device ID Table
...
...
@@ -113,6 +113,9 @@ static struct pci_device_id e1000_pci_tbl[] __devinitdata = {
{
0x8086
,
0x1011
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
0x8086
,
0x1010
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
0x8086
,
0x1012
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
0x8086
,
0x1016
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
0x8086
,
0x1017
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
0x8086
,
0x101E
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
/* required last entry */
{
0
,}
};
...
...
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