Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
c40b92e0
Commit
c40b92e0
authored
Apr 02, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Ocelot 3: Fix build errors after the recent move of Marvell headers.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
088cf96a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
arch/mips/momentum/ocelot_3/setup.c
arch/mips/momentum/ocelot_3/setup.c
+12
-12
No files found.
arch/mips/momentum/ocelot_3/setup.c
View file @
c40b92e0
...
...
@@ -329,22 +329,22 @@ void __init plat_setup(void)
/* shut down ethernet ports, just to be sure our memory doesn't get
* corrupted by random ethernet traffic.
*/
MV_WRITE
(
MV643
40
_ETH_TRANSMIT_QUEUE_COMMAND_REG
(
0
),
0xff
<<
8
);
MV_WRITE
(
MV643
40
_ETH_TRANSMIT_QUEUE_COMMAND_REG
(
1
),
0xff
<<
8
);
MV_WRITE
(
MV643
40
_ETH_RECEIVE_QUEUE_COMMAND_REG
(
0
),
0xff
<<
8
);
MV_WRITE
(
MV643
40
_ETH_RECEIVE_QUEUE_COMMAND_REG
(
1
),
0xff
<<
8
);
MV_WRITE
(
MV643
XX
_ETH_TRANSMIT_QUEUE_COMMAND_REG
(
0
),
0xff
<<
8
);
MV_WRITE
(
MV643
XX
_ETH_TRANSMIT_QUEUE_COMMAND_REG
(
1
),
0xff
<<
8
);
MV_WRITE
(
MV643
XX
_ETH_RECEIVE_QUEUE_COMMAND_REG
(
0
),
0xff
<<
8
);
MV_WRITE
(
MV643
XX
_ETH_RECEIVE_QUEUE_COMMAND_REG
(
1
),
0xff
<<
8
);
do
{}
while
(
MV_READ
(
MV643
40
_ETH_RECEIVE_QUEUE_COMMAND_REG
(
0
))
&
0xff
);
while
(
MV_READ
(
MV643
XX
_ETH_RECEIVE_QUEUE_COMMAND_REG
(
0
))
&
0xff
);
do
{}
while
(
MV_READ
(
MV643
40
_ETH_RECEIVE_QUEUE_COMMAND_REG
(
1
))
&
0xff
);
while
(
MV_READ
(
MV643
XX
_ETH_RECEIVE_QUEUE_COMMAND_REG
(
1
))
&
0xff
);
do
{}
while
(
MV_READ
(
MV643
40
_ETH_TRANSMIT_QUEUE_COMMAND_REG
(
0
))
&
0xff
);
while
(
MV_READ
(
MV643
XX
_ETH_TRANSMIT_QUEUE_COMMAND_REG
(
0
))
&
0xff
);
do
{}
while
(
MV_READ
(
MV643
40
_ETH_TRANSMIT_QUEUE_COMMAND_REG
(
1
))
&
0xff
);
MV_WRITE
(
MV643
40
_ETH_PORT_SERIAL_CONTROL_REG
(
0
),
MV_READ
(
MV643
40
_ETH_PORT_SERIAL_CONTROL_REG
(
0
))
&
~
1
);
MV_WRITE
(
MV643
40
_ETH_PORT_SERIAL_CONTROL_REG
(
1
),
MV_READ
(
MV643
40
_ETH_PORT_SERIAL_CONTROL_REG
(
1
))
&
~
1
);
while
(
MV_READ
(
MV643
XX
_ETH_TRANSMIT_QUEUE_COMMAND_REG
(
1
))
&
0xff
);
MV_WRITE
(
MV643
XX
_ETH_PORT_SERIAL_CONTROL_REG
(
0
),
MV_READ
(
MV643
XX
_ETH_PORT_SERIAL_CONTROL_REG
(
0
))
&
~
1
);
MV_WRITE
(
MV643
XX
_ETH_PORT_SERIAL_CONTROL_REG
(
1
),
MV_READ
(
MV643
XX
_ETH_PORT_SERIAL_CONTROL_REG
(
1
))
&
~
1
);
/* Turn off the Bit-Error LED */
OCELOT_FPGA_WRITE
(
0x80
,
CLR
);
...
...
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