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
cf0115cf
Commit
cf0115cf
authored
Aug 22, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TG3]: Another 5705 fix: enable eeprom write prot as needed.
parent
1c682887
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/net/tg3.c
drivers/net/tg3.c
+4
-2
No files found.
drivers/net/tg3.c
View file @
cf0115cf
...
@@ -6023,8 +6023,10 @@ static int __devinit tg3_phy_probe(struct tg3 *tp)
...
@@ -6023,8 +6023,10 @@ static int __devinit tg3_phy_probe(struct tg3 *tp)
eeprom_led_mode
=
led_mode_auto
;
eeprom_led_mode
=
led_mode_auto
;
break
;
break
;
};
};
if
((
tp
->
pci_chip_rev_id
==
CHIPREV_ID_5703_A1
||
tp
->
pci_chip_rev_id
==
CHIPREV_ID_5703_A2
)
&&
if
(((
GET_ASIC_REV
(
tp
->
pci_chip_rev_id
)
==
ASIC_REV_5703
)
||
(
GET_ASIC_REV
(
tp
->
pci_chip_rev_id
)
==
ASIC_REV_5704
)
||
(
GET_ASIC_REV
(
tp
->
pci_chip_rev_id
)
==
ASIC_REV_5705
))
&&
(
nic_cfg
&
NIC_SRAM_DATA_CFG_EEPROM_WP
))
(
nic_cfg
&
NIC_SRAM_DATA_CFG_EEPROM_WP
))
tp
->
tg3_flags
|=
TG3_FLAG_EEPROM_WRITE_PROT
;
tp
->
tg3_flags
|=
TG3_FLAG_EEPROM_WRITE_PROT
;
...
...
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