patch to 2.6.18-mm3 for missing libata Kconfig options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux