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
7775d66f
Commit
7775d66f
authored
Aug 31, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr sk_mca] somebody typo'd in their cli()-to-spinlock conversion
Anybody with hardware, that can test this driver?
parent
fe6aad76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/net/sk_mca.c
drivers/net/sk_mca.c
+3
-3
No files found.
drivers/net/sk_mca.c
View file @
7775d66f
...
...
@@ -280,7 +280,7 @@ static void SetLANCE(struct SKMCA_NETDEV *dev, u16 addr, u16 value)
/* reenable interrupts */
spin_lock_irqrestore
(
&
priv
->
lock
,
flags
);
spin_
un
lock_irqrestore
(
&
priv
->
lock
,
flags
);
}
/* get LANCE register */
...
...
@@ -319,7 +319,7 @@ static u16 GetLANCE(struct SKMCA_NETDEV *dev, u16 addr)
/* reenable interrupts */
spin_lock_irqrestore
(
&
priv
->
lock
,
flags
);
spin_
un
lock_irqrestore
(
&
priv
->
lock
,
flags
);
return
res
;
}
...
...
@@ -993,7 +993,7 @@ static int skmca_tx(struct sk_buff *skb, struct SKMCA_NETDEV *dev)
if
(
priv
->
txbusy
==
0
)
SetLANCE
(
dev
,
LANCE_CSR0
,
CSR0_INEA
|
CSR0_TDMD
);
spin_lock_irqrestore
(
&
priv
->
lock
,
flags
);
spin_
un
lock_irqrestore
(
&
priv
->
lock
,
flags
);
tx_done:
...
...
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