Re: [PATCH] libata: Add a drivers/ide style DMA disable

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

 



Chuck Ebbert wrote:
> On 08/22/2007 06:37 PM, Alan Cox wrote:
>> This is useful when debugging, handling problem systems, or for
>> distributions just to get the system installed so it can be sorted
>> out later.
>>
>> This is a bit smarter than the old IDE one and lets you do
>>
>> libata.pata_dma=0		Disable all PATA DMA like old IDE
>> libata.pata_dma=1		Disk DMA only
>> libata.pata_dma=2		ATAPI DMA only
>> libata.pata_dma=4		CF DMA only
>>
>> (or combinations thereof - 0,1,3 being the useful ones I suspect)
>>
> 
> This doesn't help distro installers with modular libata, as there's
> no good way to get the parameter to the driver. (libata.pata_dma=0
> just causes "unrecognized parameter" message on boot.)

Dunno how all those initrd black magics work but SUSE initrd manages to
deliver "module.param" parameters on kernel command line to respective
modules in initrd.  I don't think it gets to modules which are loaded
after root is mounted tho.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux