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
0a372eb9
Commit
0a372eb9
authored
May 26, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
21a8cfe1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/net/sh_eth.c
drivers/net/sh_eth.c
+1
-1
No files found.
drivers/net/sh_eth.c
View file @
0a372eb9
...
@@ -964,7 +964,7 @@ static void sh_eth_adjust_link(struct net_device *ndev)
...
@@ -964,7 +964,7 @@ static void sh_eth_adjust_link(struct net_device *ndev)
static
int
sh_eth_phy_init
(
struct
net_device
*
ndev
)
static
int
sh_eth_phy_init
(
struct
net_device
*
ndev
)
{
{
struct
sh_eth_private
*
mdp
=
netdev_priv
(
ndev
);
struct
sh_eth_private
*
mdp
=
netdev_priv
(
ndev
);
char
phy_id
[
BUS_ID_SIZE
];
char
phy_id
[
MII_BUS_ID_SIZE
+
3
];
struct
phy_device
*
phydev
=
NULL
;
struct
phy_device
*
phydev
=
NULL
;
snprintf
(
phy_id
,
sizeof
(
phy_id
),
PHY_ID_FMT
,
snprintf
(
phy_id
,
sizeof
(
phy_id
),
PHY_ID_FMT
,
...
...
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