Re: ATA 100

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Thu Apr 19 2001 - 11:15:20 EST


On Thu, Apr 19, 2001 at 04:46:03PM +0200, David Balazic wrote:

> Vojtech Pavlik (vojtech@suse.cz) wrote :
>
> > On Wed, Apr 18, 2001 at 10:21:53PM -0400, Manuel Ignacio Monge Garcia wrote:
> >
> > > El Mié 18 Abr 2001 15:16, escribiste:
> > > > I don't know about other possible problems with the kernel, but you must
> > > > use an 80 wire IDE cable for UDMA66/100 to work.
> > > >
> > > > > -----------------------Primary IDE-------Secondary IDE------
> > > > > Cable Type: 40w 40w
> > >
> > >
> > > Strange thing. With previous version of kernel (2.4.1 I think), I
> > > haven't got this problem. May be a bios detection problem?
> > >
> > > Extract from /usr/src/linux/drivers/ide/via82cxxx..c:
> > >
> > > *
> > > * PIO 0-5, MWDMA 0-2, SWDMA 0-2 and UDMA 0-5
> > > *
> > > * (this includes UDMA33, 66 and 100) modes. UDMA66 and higher modes are
> > > * autoenabled only in case the BIOS has detected a 80 wire cable. To ignore
> > > * the BIOS data and assume the cable is present, use 'ide0=ata66' or
> > > * 'ide1=ata66' on the kernel command line.
> > > *
> > >
> > > I've tried with ide0=ata100, but this options doesn't work.
> >
> > Try ide0=ata66 instead. The option should have been named ide0=80wire,
> > but, well, "ata66" was chosen as the name, because that was it at the
> > time.
>
> Any chance of auto detecting this ?

None. It's different on each (pre-686b) VIA motherboard.

> I just hate when linux is relaying on the BIOS ...

We don't have any other chance here. Actually we'll have to rely on the
BIOS for even more in the next release of the driver to make it work on
all boards out there.

> BTW , why are there 666 CONFIG_.*IDE.*DMA.* switches ?

Ask Andre. :)

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



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:31 EST