Subject: Re: Adding flag to disable native mode on aceride
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-cats
Date: 08/30/2007 16:59:48
On Thu, Aug 30, 2007 at 11:18:22PM +0900, Izumi Tsutsui wrote:
> chris@dokein.co.uk wrote:
>
> > I think the best thing to do is to force the chipset back to compat mode
> > with a flag.
> >
> > To this end I've taken the next spare flag for PCIIDE, and used it to
> > indicate that the aceride should be using compat mode.
> >
> > This then allows control from the config file, so in cats config files
> > we can workaround the BIOS issue.
> >
> > Attached is a diff (including man page update) to use a flag to do this.
> > The change to the config file is to just tag a flags value on the end:
> > aceride* at pci? dev ? function ? flags 0x0004 # Acer Lab IDE
> > controllers
> >
> > Does this look ok? I'd like to check in the chage in then next couple
> > of days.
>
> If the flag is cats specific, it's better to use proplib(3)
> to specify such quirks rather than config flags,
> as iyonix/autoconf.c, sgimips/autoconf.c etc. do
> for their onboard PCI devices.
Yes, this looks better to me as well
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
NetBSD: 26 ans d'experience feront toujours la difference
--