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
85283764
Commit
85283764
authored
Apr 26, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/gregkh/linux/fix-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
2436e282
09b9f933
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/ide/ide-cd.c
drivers/ide/ide-cd.c
+3
-3
No files found.
drivers/ide/ide-cd.c
View file @
85283764
...
...
@@ -2160,7 +2160,7 @@ static int cdrom_eject(ide_drive_t *drive, int ejectflag,
struct
request_sense
*
sense
)
{
struct
request
req
;
char
loej
=
0
;
char
loej
=
0
x02
;
if
(
CDROM_CONFIG_FLAGS
(
drive
)
->
no_eject
&&
!
ejectflag
)
return
-
EDRIVE_CANT_DO_THIS
;
...
...
@@ -2172,8 +2172,8 @@ static int cdrom_eject(ide_drive_t *drive, int ejectflag,
cdrom_prepare_request
(
&
req
);
/* only tell drive to close tray if open, if it can do that */
if
(
ejectflag
&&
CDROM_CONFIG_FLAGS
(
drive
)
->
close_tray
)
loej
=
0
x02
;
if
(
ejectflag
&&
!
CDROM_CONFIG_FLAGS
(
drive
)
->
close_tray
)
loej
=
0
;
req
.
sense
=
sense
;
req
.
cmd
[
0
]
=
GPCMD_START_STOP_UNIT
;
...
...
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