Re: Adding flag to disable native mode on aceride
Izumi Tsutsui <[email protected]> Thu, 30 Aug 2007 23:18:22 +0900
| Newsgroups | gmane.os.netbsd.ports.cats,gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
[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. --- Izumi Tsutsui