Subject: Re: pcmcia cd drive prob
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 03/10/2006 00:26:38
In article <20060309192006.GA371@quartz.itdept.newn.cam.ac.uk>,
Patrick Welche  <prlw1@newn.cam.ac.uk> wrote:
>With 8 Mar 2006 19:51 GMT i386 code in the kernel, I get:
>
>pcmcia0: CIS version PCMCIA 2.0 or 2.1
>pcmcia0: CIS info:  , NinjaATA-, V1.0, AP00
>pcmcia0: Manufacturer code 0xffffffff, product 0xffffffff
>pcmcia0: function 0: unspecified, ccr addr 200 mask 3
>pcmcia0: function 0, config table entry 33: I/O card; irq mask d068; iomask 10,
>iospace 180-187 386-387; memspace 0-fff; io8 io16 irqlevel
>pcmcia0: function 0, config table entry 34: I/O card; irq mask d068; iomask 10,
>iospace 190-197 396-397; memspace 0-fff; io8 io16 irqlevel
>pcmcia0: function 0, config table entry 35: I/O card; irq mask d068; iomask 10,
>iospace 1a0-1a7 3a6-3a7; memspace 0-fff; io8 io16 irqlevel
>wdc0 at pcmcia0 function 0: < , NinjaATA-, V1.0, AP00 >
>wdc0: configure failed, error=22
>
>when plugging a pcmcia card with a CD drive attached to it into a laptop.
>It's power light doesn't come on.
>
>Any idea what "error=22" means?

EINVAL; now you have to find out what function returns this.

christos