Re: [PATCH 1/2] Add Legacy IDE mode support for SB600 SATA
From: Alan Cox
Date: Sun Nov 05 2006 - 07:42:37 EST
Ar Sul, 2006-11-05 am 20:17 +0800, ysgrifennodd Conke Hu:
> 1. The SATA configuration option "Legacy IDE mode" (as well as
> Native IDE mode) in SB600 BIOS is ONLY for old OS, and it is not useful
> any longer for new Linux kernels.
Some users choose to use old drivers for the feeling of security and
reduction of change. Remember there are users out there who have to go
through a formal verification process to switch the driver they use.
> 3. "This should only be done if AHCI is configured into the kernel,
> so wants a #ifdef check adding".
> Alan, this fix should always be done whether AHCI is configured into
> kernel or not, even when AHCI is not configured at all. Because:
> a). Without it, the SB600 SATA controller will appear as an IDE,
> which may misguide user to try to load legacy IDE driver (or other IDE
This is not neccessarily misguided. They may want to do this.
> b). We have a RAID driver (close source) for SB600 SATA
Thats your problem. Some day the lawyers can find out just how legal
that is.
You are right that most users will want to use the AHCI layer and that
if AHCI is compiled in then we should switch to AHCI. In the case the
kernel has no AHCI support compiled in the legacy driver support should
continue to work for it. This is how other vendors products such as
Jmicron are handled.
NAK reasserted.
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/