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
1b104678
Commit
1b104678
authored
Mar 04, 2005
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix two missed ether1_outw() function calls.
Signed-off-by:
Russell King
<
rmk@arm.linux.org.uk
>
parent
8d511c7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/arm/ether1.c
drivers/net/arm/ether1.c
+2
-2
No files found.
drivers/net/arm/ether1.c
View file @
1b104678
...
@@ -770,7 +770,7 @@ ether1_xmit_done (struct net_device *dev)
...
@@ -770,7 +770,7 @@ ether1_xmit_done (struct net_device *dev)
/* special case */
/* special case */
if
(
ether1_readw
(
dev
,
SCB_ADDR
,
scb_t
,
scb_cbl_offset
,
NORMALIRQS
)
if
(
ether1_readw
(
dev
,
SCB_ADDR
,
scb_t
,
scb_cbl_offset
,
NORMALIRQS
)
!=
(
unsigned
short
)
I82586_NULL
)
{
!=
(
unsigned
short
)
I82586_NULL
)
{
ether1_
out
w
(
dev
,
SCB_CMDCUCSTART
|
SCB_CMDRXSTART
,
SCB_ADDR
,
scb_t
,
ether1_
write
w
(
dev
,
SCB_CMDCUCSTART
|
SCB_CMDRXSTART
,
SCB_ADDR
,
scb_t
,
scb_command
,
NORMALIRQS
);
scb_command
,
NORMALIRQS
);
writeb
(
CTRL_CA
,
REG_CONTROL
);
writeb
(
CTRL_CA
,
REG_CONTROL
);
}
}
...
@@ -917,7 +917,7 @@ ether1_interrupt (int irq, void *dev_id, struct pt_regs *regs)
...
@@ -917,7 +917,7 @@ ether1_interrupt (int irq, void *dev_id, struct pt_regs *regs)
status
=
ether1_readw
(
dev
,
SCB_ADDR
,
scb_t
,
scb_status
,
NORMALIRQS
);
status
=
ether1_readw
(
dev
,
SCB_ADDR
,
scb_t
,
scb_status
,
NORMALIRQS
);
if
(
status
)
{
if
(
status
)
{
ether1_
out
w
(
dev
,
status
&
(
SCB_STRNR
|
SCB_STCNA
|
SCB_STFR
|
SCB_STCX
),
ether1_
write
w
(
dev
,
status
&
(
SCB_STRNR
|
SCB_STCNA
|
SCB_STFR
|
SCB_STCX
),
SCB_ADDR
,
scb_t
,
scb_command
,
NORMALIRQS
);
SCB_ADDR
,
scb_t
,
scb_command
,
NORMALIRQS
);
writeb
(
CTRL_CA
|
CTRL_ACK
,
REG_CONTROL
);
writeb
(
CTRL_CA
|
CTRL_ACK
,
REG_CONTROL
);
if
(
status
&
SCB_STCX
)
{
if
(
status
&
SCB_STCX
)
{
...
...
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