Darrick J. Wong wrote:
Hi there, I have an IBM x346 with some Adaptec 7902 SCSI controllers; one has HostRAID enabled in a RAID array, and the other does not. Upon bootup, the aic79xx driver will grab both controllers even though I'd prefer that Adaptec's a320raid driver grab the HostRAID controller. (When attached to the RAID array, the aic79xx driver presents each drive in the array as a separate SCSI device.) If HostRAID is turned on, the PCI class code is 0x0104 (RAID) and if it's turned off, the class code is 0x0100 (SCSI). Unfortunately, there currently is no provision in the aic79xx driver to ignore RAID controllers--if the PCI device/vendor IDs match, the driver takes the controller.
This is the correct behavior. Under Linux, the driver should export only the underlying hardware, and nothing more. This is how all the SATA controller drivers function, and this is how aic79xx functions.
Use a tool such as 'dmraid' for vendor-proprietary RAID solutions. Your patch is therefore strongly NAK'd. Jeff - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html