Re: compact flash in pcmcia slot

2014-12-29 Thread Michael van Elst
g...@ir.bbn.com (Greg Troxel) writes: David Brownlee a...@absd.org writes: 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

Re: compact flash in pcmcia slot

2014-12-28 Thread Björn Johannesson
: Björn Johannesson rherdw...@yahoo.com Subject: compact flash in pcmcia slot To: netbsd-users@netbsd.org Date: Saturday, December 27, 2014, 10:57 PM Hi. So I have this Thinkpad T61 with netbsd-7 on it. I put a cf-card in a pcmcia adapter for hpcarm/hpcsh use. However it did not probe

Re: compact flash in pcmcia slot

2014-12-28 Thread Greg Troxel
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

Re: compact flash in pcmcia slot

2014-12-28 Thread David Brownlee
On 28 December 2014 at 16:48, Greg Troxel g...@ir.bbn.com 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

Re: compact flash in pcmcia slot

2014-12-28 Thread Greg Troxel
David Brownlee a...@absd.org writes: 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

Re: compact flash in pcmcia slot

2014-12-28 Thread Greg Troxel
Björn Johannesson rherdw...@yahoo.com writes: Also, see cardbus(4) and pcmcia(4). Similar issues are documented (based on Thinkpad 600 and 600E!). Yes. However RBUS_IO_BASE and RBUS_IO_SIZE are not documented anywhere as far as I can see. Only RBUS_MIN_START. So it should go in

compact flash in pcmcia slot

2014-12-27 Thread Björn Johannesson
Hi. So I have this Thinkpad T61 with netbsd-7 on it. I put a cf-card in a pcmcia adapter for hpcarm/hpcsh use. However it did not probe it correctly, it did however in another Thinkpad (A31). Both running netbsd-7 kernels. I enabled PCMCIADEBUG and PCMCIACISDEBUG in a GENERIC kernel and this is