Re: Adding flag to disable native mode on aceride
Manuel Bouyer <[email protected]> Thu, 30 Aug 2007 16:59:48 +0200
| Newsgroups | gmane.os.netbsd.ports.cats,gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 30, 2007 at 11:18:22PM +0900, Izumi Tsutsui wrote: > [email protected] 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. [email protected] NetBSD: 26 ans d'experience feront toujours la difference --