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
76e33674
Commit
76e33674
authored
Jan 24, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr tg3] more verbose failures, during initialization
parent
5b4e9f92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
drivers/net/tg3.c
drivers/net/tg3.c
+13
-2
No files found.
drivers/net/tg3.c
View file @
76e33674
...
@@ -5996,8 +5996,11 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
...
@@ -5996,8 +5996,11 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
/* Force the chip into D0. */
/* Force the chip into D0. */
err
=
tg3_set_power_state
(
tp
,
0
);
err
=
tg3_set_power_state
(
tp
,
0
);
if
(
err
)
if
(
err
)
{
printk
(
KERN_ERR
PFX
"(%s) transition to D0 failed
\n
"
,
tp
->
pdev
->
slot_name
);
return
err
;
return
err
;
}
/* 5700 B0 chips do not support checksumming correctly due
/* 5700 B0 chips do not support checksumming correctly due
* to hardware bugs.
* to hardware bugs.
...
@@ -6106,8 +6109,11 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
...
@@ -6106,8 +6109,11 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
grc_misc_cfg
!=
GRC_MISC_CFG_BOARD_ID_5703S
&&
grc_misc_cfg
!=
GRC_MISC_CFG_BOARD_ID_5703S
&&
grc_misc_cfg
!=
GRC_MISC_CFG_BOARD_ID_5704
&&
grc_misc_cfg
!=
GRC_MISC_CFG_BOARD_ID_5704
&&
grc_misc_cfg
!=
GRC_MISC_CFG_BOARD_ID_5704_A2
&&
grc_misc_cfg
!=
GRC_MISC_CFG_BOARD_ID_5704_A2
&&
grc_misc_cfg
!=
GRC_MISC_CFG_BOARD_ID_AC91002A1
)
grc_misc_cfg
!=
GRC_MISC_CFG_BOARD_ID_AC91002A1
)
{
printk
(
KERN_ERR
PFX
"(%s) unknown board id 0x%x
\n
"
,
tp
->
pdev
->
slot_name
,
grc_misc_cfg
);
return
-
ENODEV
;
return
-
ENODEV
;
}
if
(
GET_ASIC_REV
(
tp
->
pci_chip_rev_id
)
==
ASIC_REV_5704
&&
if
(
GET_ASIC_REV
(
tp
->
pci_chip_rev_id
)
==
ASIC_REV_5704
&&
grc_misc_cfg
==
GRC_MISC_CFG_BOARD_ID_5704CIOBE
)
{
grc_misc_cfg
==
GRC_MISC_CFG_BOARD_ID_5704CIOBE
)
{
...
@@ -6123,6 +6129,11 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
...
@@ -6123,6 +6129,11 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
tp
->
tg3_flags
|=
TG3_FLAG_10_100_ONLY
;
tp
->
tg3_flags
|=
TG3_FLAG_10_100_ONLY
;
err
=
tg3_phy_probe
(
tp
);
err
=
tg3_phy_probe
(
tp
);
if
(
err
)
{
printk
(
KERN_ERR
PFX
"(%s) phy probe failed, err %d
\n
"
,
tp
->
pdev
->
slot_name
,
err
);
/* ... but do not return immediately ... */
}
tg3_read_partno
(
tp
);
tg3_read_partno
(
tp
);
...
...
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