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: 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
This commit is contained in:
parent
08d4007d3e
commit
e35d1933fb
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wdc_pcmcia.c,v 1.101 2005/12/11 12:23:23 christos Exp $ */
|
||||
/* $NetBSD: wdc_pcmcia.c,v 1.102 2006/01/11 13:34:33 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2003, 2004 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: wdc_pcmcia.c,v 1.101 2005/12/11 12:23:23 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: wdc_pcmcia.c,v 1.102 2006/01/11 13:34:33 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/device.h>
|
||||
@ -120,6 +120,10 @@ static const struct pcmcia_product wdc_pcmcia_products[] = {
|
||||
PCMCIA_PRODUCT_PANASONIC_KXLC005,
|
||||
PCMCIA_CIS_PANASONIC_KXLC005 },
|
||||
|
||||
{ PCMCIA_VENDOR_SANDISK,
|
||||
PCMCIA_PRODUCT_SANDISK_SDCFB,
|
||||
PCMCIA_CIS_SANDISK_SDCFB },
|
||||
|
||||
/*
|
||||
* EXP IDE/ATAPI DVD Card use with some DVD players.
|
||||
* Does not have a vendor ID or product ID.
|
||||
|
Loading…
x
Reference in New Issue
Block a user