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
4ef81ee9
Commit
4ef81ee9
authored
Oct 07, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Remove useless mdelay wrapper in pcxx.c
parent
726893d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
17 deletions
+7
-17
drivers/char/pcxx.c
drivers/char/pcxx.c
+7
-17
No files found.
drivers/char/pcxx.c
View file @
4ef81ee9
...
@@ -153,7 +153,6 @@ static struct timer_list pcxx_timer;
...
@@ -153,7 +153,6 @@ static struct timer_list pcxx_timer;
DECLARE_TASK_QUEUE
(
tq_pcxx
);
DECLARE_TASK_QUEUE
(
tq_pcxx
);
static
void
pcxxpoll
(
unsigned
long
dummy
);
static
void
pcxxpoll
(
unsigned
long
dummy
);
static
void
pcxxdelay
(
int
);
static
void
fepcmd
(
struct
channel
*
,
int
,
int
,
int
,
int
,
int
);
static
void
fepcmd
(
struct
channel
*
,
int
,
int
,
int
,
int
,
int
);
static
void
pcxe_put_char
(
struct
tty_struct
*
,
unsigned
char
);
static
void
pcxe_put_char
(
struct
tty_struct
*
,
unsigned
char
);
static
void
pcxe_flush_chars
(
struct
tty_struct
*
);
static
void
pcxe_flush_chars
(
struct
tty_struct
*
);
...
@@ -1271,7 +1270,7 @@ int __init pcxe_init(void)
...
@@ -1271,7 +1270,7 @@ int __init pcxe_init(void)
for
(
crd
=
0
;
crd
<
numcards
;
crd
++
)
{
for
(
crd
=
0
;
crd
<
numcards
;
crd
++
)
{
bd
=
&
boards
[
crd
];
bd
=
&
boards
[
crd
];
outb
(
FEPRST
,
bd
->
port
);
outb
(
FEPRST
,
bd
->
port
);
pcxx
delay
(
1
);
m
delay
(
1
);
for
(
i
=
0
;
(
inb
(
bd
->
port
)
&
FEPMASK
)
!=
FEPRST
;
i
++
)
{
for
(
i
=
0
;
(
inb
(
bd
->
port
)
&
FEPMASK
)
!=
FEPRST
;
i
++
)
{
if
(
i
>
100
)
{
if
(
i
>
100
)
{
...
@@ -1283,7 +1282,7 @@ int __init pcxe_init(void)
...
@@ -1283,7 +1282,7 @@ int __init pcxe_init(void)
#ifdef MODULE
#ifdef MODULE
schedule
();
schedule
();
#endif
#endif
pcxx
delay
(
10
);
m
delay
(
10
);
}
}
if
(
bd
->
status
==
DISABLED
)
if
(
bd
->
status
==
DISABLED
)
continue
;
continue
;
...
@@ -1362,7 +1361,7 @@ int __init pcxe_init(void)
...
@@ -1362,7 +1361,7 @@ int __init pcxe_init(void)
#ifdef MODULE
#ifdef MODULE
schedule
();
schedule
();
#endif
#endif
pcxx
delay
(
1
);
m
delay
(
1
);
}
}
if
(
bd
->
status
==
DISABLED
)
if
(
bd
->
status
==
DISABLED
)
continue
;
continue
;
...
@@ -1413,7 +1412,7 @@ int __init pcxe_init(void)
...
@@ -1413,7 +1412,7 @@ int __init pcxe_init(void)
#ifdef MODULE
#ifdef MODULE
schedule
();
schedule
();
#endif
#endif
pcxx
delay
(
50
);
m
delay
(
50
);
}
}
printk
(
"
\n
PC/Xx: BIOS download failed for board at 0x%x(addr=%lx-%lx)!
\n
"
,
printk
(
"
\n
PC/Xx: BIOS download failed for board at 0x%x(addr=%lx-%lx)!
\n
"
,
...
@@ -1443,7 +1442,7 @@ int __init pcxe_init(void)
...
@@ -1443,7 +1442,7 @@ int __init pcxe_init(void)
#ifdef MODULE
#ifdef MODULE
schedule
();
schedule
();
#endif
#endif
pcxx
delay
(
10
);
m
delay
(
10
);
}
}
printk
(
"
\n
PC/Xx: BIOS download failed on the %s at 0x%x!
\n
"
,
printk
(
"
\n
PC/Xx: BIOS download failed on the %s at 0x%x!
\n
"
,
...
@@ -1487,7 +1486,7 @@ int __init pcxe_init(void)
...
@@ -1487,7 +1486,7 @@ int __init pcxe_init(void)
#ifdef MODULE
#ifdef MODULE
schedule
();
schedule
();
#endif
#endif
pcxx
delay
(
1
);
m
delay
(
1
);
}
}
if
(
bd
->
status
==
DISABLED
)
if
(
bd
->
status
==
DISABLED
)
...
@@ -1520,7 +1519,7 @@ int __init pcxe_init(void)
...
@@ -1520,7 +1519,7 @@ int __init pcxe_init(void)
#ifdef MODULE
#ifdef MODULE
schedule
();
schedule
();
#endif
#endif
pcxx
delay
(
1
);
m
delay
(
1
);
}
}
if
(
bd
->
status
==
DISABLED
)
if
(
bd
->
status
==
DISABLED
)
continue
;
continue
;
...
@@ -1825,15 +1824,6 @@ static void doevent(int crd)
...
@@ -1825,15 +1824,6 @@ static void doevent(int crd)
}
}
/*
* pcxxdelay - delays a specified number of milliseconds
*/
static
void
pcxxdelay
(
int
msec
)
{
mdelay
(
msec
);
}
static
void
static
void
fepcmd
(
struct
channel
*
ch
,
int
cmd
,
int
word_or_byte
,
int
byte2
,
int
ncmds
,
fepcmd
(
struct
channel
*
ch
,
int
cmd
,
int
word_or_byte
,
int
byte2
,
int
ncmds
,
int
bytecmd
)
int
bytecmd
)
...
...
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