Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
c1c18d05
Commit
c1c18d05
authored
Nov 07, 2008
by
Kevin Hilman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NET: DaVinci EMAC: fix compile warnings
Signed-off-by:
Kevin Hilman
<
khilman@deeprootsystems.com
>
parent
ff91e54b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/net/davinci_emac.c
drivers/net/davinci_emac.c
+4
-4
No files found.
drivers/net/davinci_emac.c
View file @
c1c18d05
...
...
@@ -488,8 +488,8 @@ struct emac_priv {
spinlock_t
rx_lock
;
u32
emac_base_regs
;
u32
emac_ctrl_regs
;
u32
emac_ctrl_ram
;
u32
mdio_regs
;
void
__iomem
*
emac_ctrl_ram
;
void
__iomem
*
mdio_regs
;
struct
emac_mdio
mdio
;
struct
emac_txch
*
txch
[
EMAC_DEF_MAX_TX_CH
];
struct
emac_rxch
*
rxch
[
EMAC_DEF_MAX_RX_CH
];
...
...
@@ -2213,7 +2213,7 @@ static int emac_hw_enable(struct emac_priv *priv)
else
if
(
EMAC_SPEED_AUTO
==
cfg_link_speed
)
priv
->
speed
=
EMAC_SPEED_AUTO
;
priv
->
mdio
.
mdio_base_address
=
priv
->
mdio_regs
;
priv
->
mdio
.
mdio_base_address
=
(
u32
)
priv
->
mdio_regs
;
priv
->
mdio
.
mdio_reset_line
=
0
;
priv
->
mdio
.
mdio_intr_line
=
0
;
priv
->
mdio
.
phy_mask
=
EMAC_EVM_PHY_MASK
;
...
...
@@ -2654,7 +2654,7 @@ static int __devinit davinci_emac_probe(struct platform_device *pdev)
goto
probe_quit
;
}
priv
->
emac_base_regs
=
base_res
->
start
;
ndev
->
base_addr
=
IO_ADDRESS
(
base_res
->
start
);
ndev
->
base_addr
=
(
unsigned
long
)
IO_ADDRESS
(
base_res
->
start
);
emac_base_addr
=
(
u32
)
ndev
->
base_addr
;
/* need to check virt2phys */
ndev
->
irq
=
(
int
)
irq_res
->
start
;
priv
->
emac_ctrl_regs
=
((
u32
)(
base_res
->
start
)
+
...
...
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