lkml.org 
[lkml]   [2006]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectpatch to 2.6.18-mm3 for missing libata Kconfig options
  I believe the following options are missing in the current setup of 
how libata is configured and selected in the kernel config program.
First, a clarification as to just what needs to be selected to actually
use libata governed drives. Second, since libata is being treated as a
alternative to scsi and ide, it should have the same options as those
until it fully replaces ide and the general blk devices can be moved to
a "shared" config option.

So I just wrote up a little patch to the ata driver's Kconfig that adds
in the "missing" blk dev selection options so a user doesn't have to do
what they had to do when ata was under scsi's low level drivers in the
first place, which somewhat negates the whole movement of ata out of
scsi. This should clear up a lot of confusion among users who are
coming to libata from ide and dont really get or want to get why it has
anything to do with selecting scsi drivers.

Hopefully this shared code between scsi and ata will be moved to a more
"general block device" option when ide is removed and everything is seen
as scsi devices anyway so we wont have to refer to them as "scsi devices".

this patch is against 2.6.18-mm3.
--- ./linux-2.6.18/drivers/ata/Kconfig 2006-10-09 22:09:35.000000000 -0400
+++ ../linux-2.6.18/drivers/ata/Kconfig 2006-10-09 22:04:02.000000000 -0400
@@ -15,9 +15,38 @@
the name of your ATA host adapter (the card inside your computer
that "speaks" the ATA protocol, also called ATA controller),
because you will be asked for it.
+ NOTE:
+ You will also need to select the ata device interface drivers below,
+ to actually use the drives that libata detects.

if ATA

+config ATA_DISK
+ tristate "ATA Disk Support"
+ select BLK_DEV_SD
+ depends on SCSI
+ ---help---
+ Select this if you have ata disk drives. Devices will be
+ connected to traditional scsi device nodes. eg. sda
+
+
+config ATA_OPTICAL
+ tristate "ATA CD/DVD Rom Support"
+ select BLK_DEV_SR
+ depends on SCSI
+ ---help---
+ Select this if you have ata CD/DVD optical drives. Devices
+ will be connected to traditional scsi device nodes. eg. sr0
+
+config ATA_GENERIC
+ tristate "ATA Generic support (CD/DVD Writer)"
+ select BLK_DEV_SG
+ depends on SCSI
+ ---help---
+ Select this if you have ata optical writers or anything
+ supported by libata that's not a disk drive. Devices will be
+ connected to the traditional scsi device nodes. eg. sg0
+
config SATA_AHCI
tristate "AHCI SATA support"
depends on PCI
\
 
 \ /
  Last update: 2006-10-10 04:23    [W:0.051 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site