On 28 December 2014 at 16:48, Greg Troxel <[email protected]> wrote:
>
> Having these (commented out) in amd64 and i386 GENERIC would have
> simplified this
> enormously. With a suitable comment ofc. Something like
>
> # Uncomment if pcmcia cards do not attach
> #options RBUS_IO_BASE=0xa00
> #options RBUS_IO_SIZE=0x0ff
>
> I can see your point, but if every workaround were present, the config
> file would get unwieldy.
>
> Also, see cardbus(4) and pcmcia(4). Similar issues are documented
> (based on Thinkpad 600 and 600E!).
>
Would it make sense to have a known set of overrides for
RBUS_IO_BASE and PCIC_ISA_ALLOC_IOBASE? Even if it is keyed by something
like machdep.dmi.system-{vendor,product,version} or similar, it would be
nice to be able to get it right automatically in a few more cases.
Alternatively is it possible to map it and poke it to see if its working,
then switch to a fallback address if not?