Re: 2.6.17-mm6

From: J.A. MagallÃn
Date: Fri Jul 07 2006 - 11:59:38 EST


On Fri, 07 Jul 2006 17:02:48 +0100, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> Ar Iau, 2006-07-06 am 14:57 -0700, ysgrifennodd Andrew Morton:
> > > ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
> > > ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
> > > ata3: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 16
> > > ata4: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD008 irq 16
> > >
> >
> > Ah-hah, thanks. I think this is a relatively-FAQ, but I forget the answer.
> > Alan's the man.
>
> The "mixed" drivers/ide and drivers/scsi setup for the ICH is really
> ugly (look at the pci/quirks.c code for it to see just *how* ugly). It
> is still present but the default behaviour at the moment is to assume
> that you want to use libata for your drives.
>
> For most distros I've tried this doesn't seem to break anything. Some
> older distros don't use labels for root searching so need root= passing
> the first time to fix it.
>
> That bit of code is really Jeff code but I can certainly put a Kconfig
> line and submit a diff to allow users to pick whether their PIIX/ICH
> should be handled half and half if Andrew or Jeff think that is wise.
>
> Alan
>

I think it is enough to change the detection order, first real SATA and then
PATA, so the only drives that change names are the PATA ones.
(it that's easy enough...)

Mmm, I have thought on another thing. RAID devices do not store the /dev
node of pieces on the superblock, just drive IDs, isn't it ?

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.0 (Cooker) for i586
Linux 2.6.17-jam01 (gcc 4.1.1 20060518 (prerelease)) #2 SMP PREEMPT Wed
-
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/