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
301ce089
Commit
301ce089
authored
Feb 04, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Feb 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] scsi/ppa.c cleanup and fixes (3/9)
* killed ppa_pb_claim() call in ppa_init()
parent
274bd75f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
drivers/scsi/ppa.c
drivers/scsi/ppa.c
+2
-8
No files found.
drivers/scsi/ppa.c
View file @
301ce089
...
...
@@ -201,12 +201,13 @@ static int ppa_detect(Scsi_Host_Template *host)
w_ecr
(
ppb_hi
,
0x80
);
/* Done configuration */
ppa_pb_release
(
dev
);
if
(
ppa_init
(
dev
))
{
ppa_pb_release
(
dev
);
parport_unregister_device
(
dev
->
dev
);
continue
;
}
ppa_pb_release
(
dev
);
/* now the glue ... */
switch
(
dev
->
mode
)
{
case
PPA_NIBBLE
:
...
...
@@ -629,12 +630,6 @@ static int ppa_init(ppa_struct *dev)
int
retv
;
unsigned
short
ppb
=
dev
->
base
;
#if defined(CONFIG_PARPORT) || defined(CONFIG_PARPORT_MODULE)
if
(
ppa_pb_claim
(
dev
))
while
(
dev
->
p_busy
)
schedule
();
/* We can safe schedule here */
#endif
ppa_disconnect
(
dev
);
ppa_connect
(
dev
,
CONNECT_NORMAL
);
...
...
@@ -657,7 +652,6 @@ static int ppa_init(ppa_struct *dev)
if
(
!
retv
)
retv
=
device_check
(
dev
);
ppa_pb_release
(
dev
);
return
retv
;
}
...
...
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