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
d2bf2673
Commit
d2bf2673
authored
Sep 26, 2003
by
Jun Komuro
Committed by
Stephen Hemminger
Sep 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr] build fixes
For e1000 and baycom_epp. Contributed by Jeff Garzik.
parent
540c225b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/net/e1000/e1000_hw.c
drivers/net/e1000/e1000_hw.c
+1
-1
drivers/net/hamradio/baycom_epp.c
drivers/net/hamradio/baycom_epp.c
+2
-2
No files found.
drivers/net/e1000/e1000_hw.c
View file @
d2bf2673
...
@@ -1457,7 +1457,7 @@ e1000_phy_force_speed_duplex(struct e1000_hw *hw)
...
@@ -1457,7 +1457,7 @@ e1000_phy_force_speed_duplex(struct e1000_hw *hw)
if
((
ret_val
=
e1000_write_phy_reg
(
hw
,
PHY_CTRL
,
mii_ctrl_reg
)))
if
((
ret_val
=
e1000_write_phy_reg
(
hw
,
PHY_CTRL
,
mii_ctrl_reg
)))
return
ret_val
;
return
ret_val
;
u
sec_
delay
(
1
);
udelay
(
1
);
/* The wait_autoneg_complete flag may be a little misleading here.
/* The wait_autoneg_complete flag may be a little misleading here.
* Since we are forcing speed and duplex, Auto-Neg is not enabled.
* Since we are forcing speed and duplex, Auto-Neg is not enabled.
...
...
drivers/net/hamradio/baycom_epp.c
View file @
d2bf2673
...
@@ -1355,7 +1355,7 @@ MODULE_LICENSE("GPL");
...
@@ -1355,7 +1355,7 @@ MODULE_LICENSE("GPL");
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
static
void
__init
baycom_epp_setup
(
struct
net_device
*
dev
)
static
void
__init
baycom_epp_
dev_
setup
(
struct
net_device
*
dev
)
{
{
struct
baycom_state
*
bc
=
dev
->
priv
;
struct
baycom_state
*
bc
=
dev
->
priv
;
...
@@ -1384,7 +1384,7 @@ static int __init init_baycomepp(void)
...
@@ -1384,7 +1384,7 @@ static int __init init_baycomepp(void)
struct
net_device
*
dev
;
struct
net_device
*
dev
;
dev
=
alloc_netdev
(
sizeof
(
struct
baycom_state
),
"bce%d"
,
dev
=
alloc_netdev
(
sizeof
(
struct
baycom_state
),
"bce%d"
,
baycom_epp_setup
);
baycom_epp_
dev_
setup
);
if
(
!
dev
)
{
if
(
!
dev
)
{
printk
(
KERN_WARNING
"bce%d : out of memory
\n
"
,
i
);
printk
(
KERN_WARNING
"bce%d : out of memory
\n
"
,
i
);
...
...
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