Re: [PATCH] Add IDE mode support for SB600 SATA

From: Alan
Date: Thu Nov 23 2006 - 06:07:43 EST


On Wed, 22 Nov 2006 18:26:10 -0800
Andrew Morton <akpm@xxxxxxxx> wrote:

> I doubt if it's appropriate to do all this via ifdefs. Users don't compile
> their kernels - others compile them for the users. We need the one kernel
> binary to support both modes. Possible?

I'm not sure we do. What the Jmicron drivers do is

- If SATA (libata) is enabled (module or built in) then turn on AHCI
- If it is not enabled then support the chip fully in SFF mode via
drivers/ide

As the AHCI mode is fundamentally better (both with respect to standards
and to performance) this makes sense.

I think the SB600 should do the same - if support is in the
kernel/modules - then turn on AHCI mode. If not then don't. No user
options needed, no complex config questions.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/