Re: Problems (and confusions) with Intel ICH7 SATA controller

2007-02-08 Thread Tejun Heo
Florian Echtler wrote: That would be 2.6.18. I've also tried 2.6.19, but it had the same problems and the ipw3945 wireless driver didn't work there, so I kept 2.6.18 for the time being. I see. Please post '/var/log/boot.msg', the result of 'dmesg' and 'lspci -nn'. Let's see which drivers

Re: [PATCH] sata_promise: fix missing PATA cable detection

2007-02-08 Thread Jeff Garzik
Mikael Pettersson wrote: This patch fixes an oversight which caused sata_promise to not perform cable detection on the TX2plus chips' PATA ports. Signed-off-by: Mikael Pettersson [EMAIL PROTECTED] --- This patch adds yet another is-PATA-or-SATA? check, but it's in a cold path so shouldn't

[PATCH] (pata-2.6 fix queue) ide_get_best_pio_mode() returns incorrect IORDY setting (take 2)

2007-02-08 Thread Sergei Shtylyov
The function ide_get_best_pio_mode() fails to return the correct IORDY setting for the explicitly specified modes -- fix this along with the heading comment, and also remove the long commented out code. Also, while at it, correct the misliading comment about the PIO cycle time in linux/ide.h --

Re: Problems (and confusions) with Intel ICH7 SATA controller

2007-02-08 Thread Florian Echtler
That would be 2.6.18. I've also tried 2.6.19, but it had the same problems and the ipw3945 wireless driver didn't work there, so I kept 2.6.18 for the time being. I see. Please post '/var/log/boot.msg', the result of 'dmesg' and 'lspci -nn'. Let's see which drivers you're using. I

[PATCH] AHCI PCI ID for MacBook Pro

2007-02-08 Thread Root Kit
hi, i have a MacBook pro and i noticed that linux (2.6.20) binds the ata_piix driver to the SATA controller. being my SATA controller an AHCI (ICH7M) i added the PCI ID to ahci.c then tested the system. i inline the patch here: --- linux-2.6.20/drivers/ata/ahci.c 2007-02-06 19:11:08.0

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Luming Yu
if use ide_default_irq , then I guess the #if defined can be removed. #define ATA_PRIMARY_IRQ(dev) isa_irq_to_vector(0x1F0) On 2/8/07, Zhang, Yanmin [EMAIL PROTECTED] wrote: If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed irq number. On ia64 platform, such

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Luming Yu
sorry, it should be #define ATA_PRIMARY_IRQ(dev) ide_default_irq(0x1F0) On 2/8/07, Luming Yu [EMAIL PROTECTED] wrote: if use ide_default_irq , then I guess the #if defined can be removed. #define ATA_PRIMARY_IRQ(dev) isa_irq_to_vector(0x1F0) On 2/8/07, Zhang, Yanmin [EMAIL PROTECTED]

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Andrew Morton
On Thu, 8 Feb 2007 19:42:04 + Christoph Hellwig [EMAIL PROTECTED] wrote: On Thu, Feb 08, 2007 at 03:40:22PM +0800, Zhang, Yanmin wrote: If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed irq number. On ia64 platform, such numbers are GSI and should be

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Zhang, Yanmin
On Thu, 2007-02-08 at 17:17 +0800, Luming Yu wrote: sorry, it should be #define ATA_PRIMARY_IRQ(dev) ide_default_irq(0x1F0) On 2/8/07, Luming Yu [EMAIL PROTECTED] wrote: if use ide_default_irq , then I guess the #if defined can be removed. #define ATA_PRIMARY_IRQ(dev)

Re: [PATCH] ATA convert GSI to irq on ia64

2007-02-08 Thread Zhang, Yanmin
On Thu, 2007-02-08 at 20:19 -0500, Jeff Garzik wrote: Zhang, Yanmin wrote: If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed irq number. On ia64 platform, such numbers are GSI and should be converted to irq vector. Below patch against kernel 2.6.20