NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compact flash in pcmcia slot



Hi.

Actually no pcmcia cards worked on this machine. Tried wi(4) and ne(4) also.

So after talking with Michael van Elst on IRCnet I found pr #32327 and #32328.
Adding
options RBUS_IO_BASE=0xa00
options RBUS_IO_SIZE=0x0ff
made everything work as it should.

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

Thoughts?

/herdware

--- On Sat, 12/27/14, Björn Johannesson <rherdware%yahoo.com@localhost> wrote:

> From: Björn Johannesson <rherdware%yahoo.com@localhost>
> Subject: compact flash in pcmcia slot
> To: netbsd-users%netbsd.org@localhost
> 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 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 the output.
> pcmcia0: CIS version PCMCIA 2.0 or 2.1
> pcmcia0: CIS info: SanDisk, SDP, 5/3 0.6
> pcmcia0: Manufacturer code 0x45, product 0x401
> pcmcia0: function 0: fixed disk(ata), ccr addr 200 mask f
> pcmcia0: function 0, config table entry 0: memory card; irq
> mask 0; memspace 0-7ff; maxtwins 1; mwait_required
> rdybsy_active powerdown
> pcmcia0: function 0, config table entry 1: I/O card; irq
> mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; maxtwins
> 1; rdybsy_active io8 io16 irqshare irqpulse irqlevel
> powerdown
> pcmcia0: function 0, config table entry 2: I/O card; irq
> mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; memspace
> 0-7ff; maxtwins 1; rdybsy_active io8 io16 irqshare irqpulse
> irqlevel powerdown
> pcmcia0: function 0, config table entry 3: I/O card; irq
> mask 4000; iomask a, iospace 170-177 376-377; memspace
> 0-7ff; maxtwins 1; rdybsy_active io8 io16 irqshare irqpulse
> irqlevel powerdown
> pcmcia0: function 0, config table entry 7: I/O card; irq
> mask 4000; iomask a, iospace 170-177 376-377; memspace
> 0-7ff; maxtwins 1; rdybsy_active io8 io16 irqshare irqpulse
> irqlevel powerdown
> wdc2 at pcmcia0 function 0: <SanDisk, SDP, 5/3 0.6>
> wdc2: i/o mapped mode
> atabus2 at wdc2 channel 0
> 
> As you can see no wd(4) device is ever attached to atabus2,
> it is however attached in the A31...
> Both are running netbsd-7 GENERIC kernels.
> What can be wrong?
> 
> I just found the charger for my Jornada 720 and Jornada 690
> and wanted to try nebsd-7 on them.
> This is why I needed to use the compact flash to pcmcia
> adapter.
> FWIW, the 720 (hpcarm) is totally fubar and the 690 (hpcsh)
> seems to work fine with netbsd-7.
> 
> /herdware


Home | Main Index | Thread Index | Old Index