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
f1dfa547
Commit
f1dfa547
authored
Jul 25, 2003
by
Geert Uytterhoeven
Committed by
Jens Axboe
Jul 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Mac/m68k sonic updates
Mac/m68k sonic: Kill warning and remainings of 2.2-style flow control
parent
65a46411
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
drivers/net/macsonic.c
drivers/net/macsonic.c
+1
-1
drivers/net/sonic.c
drivers/net/sonic.c
+0
-9
No files found.
drivers/net/macsonic.c
View file @
f1dfa547
...
...
@@ -138,7 +138,7 @@ static inline void bit_reverse_addr(unsigned char addr[6])
int
__init
macsonic_init
(
struct
net_device
*
dev
)
{
struct
sonic_local
*
lp
;
struct
sonic_local
*
lp
=
NULL
;
int
i
;
/* Allocate the entire chunk of memory for the descriptors.
...
...
drivers/net/sonic.c
View file @
f1dfa547
...
...
@@ -113,15 +113,6 @@ static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev)
if
(
sonic_debug
>
2
)
printk
(
"sonic_send_packet: skb=%p, dev=%p
\n
"
,
skb
,
dev
);
/*
* Block a timer-based transmit from overlapping. This could better be
* done with atomic_swap(1, dev->tbusy), but set_bit() works as well.
*/
if
(
test_and_set_bit
(
0
,
(
void
*
)
&
dev
->
tbusy
)
!=
0
)
{
printk
(
"%s: Transmitter access conflict.
\n
"
,
dev
->
name
);
return
1
;
}
/*
* Map the packet data into the logical DMA address space
*/
...
...
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