diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:58 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:58 -0400 |
commit | 594c16d8dd54cd7b1c5ef1ec3ac0f6bf34301dad (patch) | |
tree | 4891a8ab4e998ba00db51e4672da64fd83663002 /drivers/ide/Kconfig | |
parent | f83cbc77b0d5521b4f0f591ede4870316944481a (diff) |
ide: add ide_transfer_pc() helper
* Add ide-atapi.c file for generic ATAPI support together with
CONFIG_IDE_ATAPI config option.
* Add generic ide_transfer_pc() helper to ide-atapi.c and then
convert ide-{floppy,tape,scsi} device drivers to use it.
There should be no functional changes caused by this patch.
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r-- | drivers/ide/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 1607536ff5fb..cf707c8f08d4 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -98,6 +98,9 @@ if BLK_DEV_IDE | |||
98 | 98 | ||
99 | comment "Please see Documentation/ide/ide.txt for help/info on IDE drives" | 99 | comment "Please see Documentation/ide/ide.txt for help/info on IDE drives" |
100 | 100 | ||
101 | config IDE_ATAPI | ||
102 | bool | ||
103 | |||
101 | config BLK_DEV_IDE_SATA | 104 | config BLK_DEV_IDE_SATA |
102 | bool "Support for SATA (deprecated; conflicts with libata SATA driver)" | 105 | bool "Support for SATA (deprecated; conflicts with libata SATA driver)" |
103 | default n | 106 | default n |
@@ -201,6 +204,7 @@ config BLK_DEV_IDECD_VERBOSE_ERRORS | |||
201 | 204 | ||
202 | config BLK_DEV_IDETAPE | 205 | config BLK_DEV_IDETAPE |
203 | tristate "Include IDE/ATAPI TAPE support" | 206 | tristate "Include IDE/ATAPI TAPE support" |
207 | select IDE_ATAPI | ||
204 | help | 208 | help |
205 | If you have an IDE tape drive using the ATAPI protocol, say Y. | 209 | If you have an IDE tape drive using the ATAPI protocol, say Y. |
206 | ATAPI is a newer protocol used by IDE tape and CD-ROM drives, | 210 | ATAPI is a newer protocol used by IDE tape and CD-ROM drives, |
@@ -223,6 +227,7 @@ config BLK_DEV_IDETAPE | |||
223 | 227 | ||
224 | config BLK_DEV_IDEFLOPPY | 228 | config BLK_DEV_IDEFLOPPY |
225 | tristate "Include IDE/ATAPI FLOPPY support" | 229 | tristate "Include IDE/ATAPI FLOPPY support" |
230 | select IDE_ATAPI | ||
226 | ---help--- | 231 | ---help--- |
227 | If you have an IDE floppy drive which uses the ATAPI protocol, | 232 | If you have an IDE floppy drive which uses the ATAPI protocol, |
228 | answer Y. ATAPI is a newer protocol used by IDE CD-ROM/tape/floppy | 233 | answer Y. ATAPI is a newer protocol used by IDE CD-ROM/tape/floppy |
@@ -246,6 +251,7 @@ config BLK_DEV_IDEFLOPPY | |||
246 | config BLK_DEV_IDESCSI | 251 | config BLK_DEV_IDESCSI |
247 | tristate "SCSI emulation support" | 252 | tristate "SCSI emulation support" |
248 | depends on SCSI | 253 | depends on SCSI |
254 | select IDE_ATAPI | ||
249 | ---help--- | 255 | ---help--- |
250 | WARNING: ide-scsi is no longer needed for cd writing applications! | 256 | WARNING: ide-scsi is no longer needed for cd writing applications! |
251 | The 2.6 kernel supports direct writing to ide-cd, which eliminates | 257 | The 2.6 kernel supports direct writing to ide-cd, which eliminates |