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
c4e28a0c
Commit
c4e28a0c
authored
Feb 17, 2003
by
Alan Cox
Committed by
Linus Torvalds
Feb 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] clean up DMA reference, new style ONLYDISK
parent
6126ae47
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
drivers/ide/ide-cd.c
drivers/ide/ide-cd.c
+3
-7
No files found.
drivers/ide/ide-cd.c
View file @
c4e28a0c
...
...
@@ -1274,9 +1274,7 @@ static ide_startstop_t cdrom_seek_intr (ide_drive_t *drive)
* this condition is far too common, to bother
* users about it
*/
#if 0
printk("%s: disabled DSC seek overlap\n", drive->name);
#endif
/* printk("%s: disabled DSC seek overlap\n", drive->name);*/
drive
->
dsc_overlap
=
0
;
}
}
...
...
@@ -2963,8 +2961,10 @@ int ide_cdrom_probe_capabilities (ide_drive_t *drive)
printk
(
", %dkB Cache"
,
be16_to_cpu
(
cap
.
buffer_size
));
#ifdef CONFIG_BLK_DEV_IDEDMA
if
(
drive
->
using_dma
)
(
void
)
HWIF
(
drive
)
->
ide_dma_verbose
(
drive
);
#endif
/* CONFIG_BLK_DEV_IDEDMA */
printk
(
"
\n
"
);
return
nslots
;
...
...
@@ -3259,11 +3259,7 @@ static ide_driver_t ide_cdrom_driver = {
.
version
=
IDECD_VERSION
,
.
media
=
ide_cdrom
,
.
busy
=
0
,
#ifdef CONFIG_IDEDMA_ONLYDISK
.
supports_dma
=
0
,
#else
.
supports_dma
=
1
,
#endif
.
supports_dsc_overlap
=
1
,
.
cleanup
=
ide_cdrom_cleanup
,
.
do_request
=
ide_do_rw_cdrom
,
...
...
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