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
f53d5404
Commit
f53d5404
authored
Aug 13, 2003
by
Dave Jones
Committed by
Linus Torvalds
Aug 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] misc 3c505 bits
- Remove unneeded breaks - Fix double spin_unlock_irqrestore problem
parent
ca5ce26a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/3c505.c
drivers/net/3c505.c
+2
-2
No files found.
drivers/net/3c505.c
View file @
f53d5404
...
@@ -449,18 +449,18 @@ static int send_pcb(struct net_device *dev, pcb_struct * pcb)
...
@@ -449,18 +449,18 @@ static int send_pcb(struct net_device *dev, pcb_struct * pcb)
case
ASF_PCB_ACK
:
case
ASF_PCB_ACK
:
adapter
->
send_pcb_semaphore
=
0
;
adapter
->
send_pcb_semaphore
=
0
;
return
TRUE
;
return
TRUE
;
break
;
case
ASF_PCB_NAK
:
case
ASF_PCB_NAK
:
#ifdef ELP_DEBUG
#ifdef ELP_DEBUG
printk
(
KERN_DEBUG
"%s: send_pcb got NAK
\n
"
,
dev
->
name
);
printk
(
KERN_DEBUG
"%s: send_pcb got NAK
\n
"
,
dev
->
name
);
#endif
#endif
goto
abort
;
goto
abort
;
break
;
}
}
}
}
if
(
elp_debug
>=
1
)
if
(
elp_debug
>=
1
)
printk
(
KERN_DEBUG
"%s: timeout waiting for PCB acknowledge (status %02x)
\n
"
,
dev
->
name
,
inb_status
(
dev
->
base_addr
));
printk
(
KERN_DEBUG
"%s: timeout waiting for PCB acknowledge (status %02x)
\n
"
,
dev
->
name
,
inb_status
(
dev
->
base_addr
));
goto
abort
;
sti_abort:
sti_abort:
spin_unlock_irqrestore
(
&
adapter
->
lock
,
flags
);
spin_unlock_irqrestore
(
&
adapter
->
lock
,
flags
);
...
...
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