Subject: Re: CVS commit: src/sys/dev/pcmcia
To: None <christos@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 01/11/2006 09:26:50
On Jan 11, 2006, at 5:34 AM, Christos Zoulas wrote:

>
> Module Name:	src
> Committed By:	christos
> Date:		Wed Jan 11 13:34:33 UTC 2006
>
> Modified Files:
> 	src/sys/dev/pcmcia: wdc_pcmcia.c
>
> Log Message:
> Add SanDisk pcmcia memory card adapter. Works like an IDE drive.
> XXX: Linux driver has a hack not to probe the slave drive. We just
> create a phantom drive:

There should be a way to set max # of drives per channel, and I  
suggest you use that... the phantom drive is pretty annoying.

>
>     wdc0 at pcmcia0 function 0: <             , Memory Card Adapter  
> II, V1.00>
>     wdc0: i/o mapped mode
>     atabus2 at wdc0 channel 0
>     wd1 at atabus2 drive 0: <Memory Card Adapter II>
>     wd1: drive supports 1-sector PIO transfers, LBA addressing
>     wd1: 241 MB, 965 cyl, 16 head, 32 sec, 512 bytes/sect x 494080  
> sectors
>     wd2 at atabus2 drive 1: <>
>     wd2: drive supports 1-sector PIO transfers, chs addressing
>     wd2: 0, 0 cyl, 0 head, 0 sec, 512 bytes/sect x 0 sectors
>     wd2: 32-bit data port
>     wd2: disk label read failed
>     wd2: disk label read failed
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.101 -r1.102 src/sys/dev/pcmcia/wdc_pcmcia.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

-- thorpej