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
b0538e0e
Commit
b0538e0e
authored
Sep 25, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://gkernel.bkbits.net/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
7beeab1a
7878f411
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
10 deletions
+8
-10
drivers/cdrom/cdu31a.c
drivers/cdrom/cdu31a.c
+1
-2
drivers/cdrom/sonycd535.c
drivers/cdrom/sonycd535.c
+1
-2
drivers/net/sb1000.c
drivers/net/sb1000.c
+4
-4
drivers/net/sis900.c
drivers/net/sis900.c
+2
-2
No files found.
drivers/cdrom/cdu31a.c
View file @
b0538e0e
...
...
@@ -386,8 +386,7 @@ static inline void sony_sleep(void)
unsigned
long
flags
;
if
(
cdu31a_irq
<=
0
)
{
current
->
state
=
TASK_INTERRUPTIBLE
;
schedule_timeout
(
0
);
yield
();
}
else
{
/* Interrupt driven */
save_flags
(
flags
);
...
...
drivers/cdrom/sonycd535.c
View file @
b0538e0e
...
...
@@ -344,8 +344,7 @@ static inline void
sony_sleep
(
void
)
{
if
(
sony535_irq_used
<=
0
)
{
/* poll */
current
->
state
=
TASK_INTERRUPTIBLE
;
schedule_timeout
(
0
);
yield
();
}
else
{
/* Interrupt driven */
cli
();
enable_interrupts
();
...
...
drivers/net/sb1000.c
View file @
b0538e0e
...
...
@@ -295,8 +295,8 @@ card_wait_for_busy_clear(const int ioaddr[], const char* name)
timeout
=
jiffies
+
TimeOutJiffies
;
while
(
a
&
0x80
||
a
&
0x40
)
{
/* a little sleep */
current
->
state
=
TASK_INTERRUPTIBLE
;
schedule_timeout
(
0
);
yield
()
;
a
=
inb
(
ioaddr
[
0
]
+
7
);
if
(
time_after_eq
(
jiffies
,
timeout
))
{
printk
(
KERN_WARNING
"%s: card_wait_for_busy_clear timeout
\n
"
,
...
...
@@ -319,8 +319,8 @@ card_wait_for_ready(const int ioaddr[], const char* name, unsigned char in[])
timeout
=
jiffies
+
TimeOutJiffies
;
while
(
a
&
0x80
||
!
(
a
&
0x40
))
{
/* a little sleep */
current
->
state
=
TASK_INTERRUPTIBLE
;
schedule_timeout
(
0
);
yield
()
;
a
=
inb
(
ioaddr
[
1
]
+
6
);
if
(
time_after_eq
(
jiffies
,
timeout
))
{
printk
(
KERN_WARNING
"%s: card_wait_for_ready timeout
\n
"
,
...
...
drivers/net/sis900.c
View file @
b0538e0e
...
...
@@ -573,8 +573,8 @@ static int __init sis900_mii_probe (struct net_device * net_dev)
if
(
status
&
MII_STAT_LINK
){
while
(
poll_bit
)
{
current
->
state
=
TASK_INTERRUPTIBLE
;
schedule_timeout
(
0
);
yield
()
;
poll_bit
^=
(
mdio_read
(
net_dev
,
sis_priv
->
cur_phy
,
MII_STATUS
)
&
poll_bit
);
if
(
jiffies
>=
timeout
)
{
printk
(
KERN_WARNING
"%s: reset phy and link down now
\n
"
,
net_dev
->
name
);
...
...
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