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

2007-02-15 Thread Jeff Garzik
Zhang, Yanmin wrote: 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

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

2007-02-15 Thread Jeff Garzik
Zhang, Yanmin wrote: 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

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

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

2007-02-08 Thread Jeff Garzik
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 fixes it. Signed-off-by: Zhang Yanmin <[EMAIL PROTECTED]> IA64

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 Andrew Morton
On Thu, 8 Feb 2007 20:34:53 + Christoph Hellwig <[EMAIL PROTECTED]> wrote: > On Thu, Feb 08, 2007 at 12:25:39PM -0800, Andrew Morton wrote: > > 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

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

2007-02-08 Thread Christoph Hellwig
On Thu, Feb 08, 2007 at 12:25:39PM -0800, Andrew Morton wrote: > 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 >

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 Christoph Hellwig
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 > converted > to irq vector. > > Below patch against kernel 2.6.20 fixes it. These

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 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
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 Christoph Hellwig
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 converted to irq vector. Below patch against kernel 2.6.20 fixes it. These direct

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 Christoph Hellwig
On Thu, Feb 08, 2007 at 12:25:39PM -0800, Andrew Morton wrote: 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

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

2007-02-08 Thread Andrew Morton
On Thu, 8 Feb 2007 20:34:53 + Christoph Hellwig [EMAIL PROTECTED] wrote: On Thu, Feb 08, 2007 at 12:25:39PM -0800, Andrew Morton wrote: 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

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 Jeff Garzik
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 fixes it. Signed-off-by: Zhang Yanmin [EMAIL PROTECTED] IA64 should

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

[PATCH] ATA convert GSI to irq on ia64

2007-02-07 Thread Zhang, Yanmin
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 fixes it. Signed-off-by: Zhang Yanmin <[EMAIL PROTECTED]> --- diff -Nraup

[PATCH] ATA convert GSI to irq on ia64

2007-02-07 Thread Zhang, Yanmin
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 fixes it. Signed-off-by: Zhang Yanmin [EMAIL PROTECTED] --- diff -Nraup