Subject: Re: Adding flag to disable native mode on aceride
To: None <chris@dokein.co.uk>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-cats
Date: 08/30/2007 23:18:22
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.
---
Izumi Tsutsui