sdcard.7d revision ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab
te
Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
SDCARD 7D "Feb 28, 2008"
NAME
sdcard - SD/MMC memory card driver
DESCRIPTION

The sdcard memory card driver supports MultiMediaCard (MMC), Secure Digital (SD), and Secure Digital High Capacity (SDHC) memory cards. It uses the blk2scsa(7D) service to present these cards to the system as SCSI disks on a virtual SCSI bus, creating a child device to be serviced with sd(7D). Each card appears as its own SCSI LUN. Cards are hot-pluggable and removable.

DEVICE SPECIAL FILES

Disk block special file names are located in /dev/dsk. Raw file names are located in /dev/rdsk. See sd(7D).

IOCTLS

See dkio(7I)

ERRORS

See sd(7D) and blk2scsa(7D). Additionally, sdcard may issue the following warnings, which indicate a failure to identify the card as a supported type:

"Unknown SD CSD version (%d)"
"Unknown MMC CSD version (%d)"
"Unknown MMCA version (%d)"
"Card type unknown"
FILES

Device special files for the storage device are created in the same way as those for a SCSI disk. See sd(7D) for more information. /dev/dsk/cntndnsn

Block files for disks.

/dev/rdsk/cntndnsn

Raw files for disks.

/kernel/drv/sdcard

32-bit ELF kernel module (x86).

/kernel/misc/amd64/sdcard

64-bit ELF kernel module (x86).

/kernel/drv/sparcv9/sdcard

64-bit ELF kernel module (SPARC).

ATTRIBUTES

See attributes(5) for a description of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Architecture SPARC, x86
SEE ALSO

rmformat(1), rmmount(1), cfgadm_scsi(1M), cfgadm_sdcard(1M), fdisk(1M), mount(1M), umount(1M), scsi(4), vfstab(4), attributes(5), blk2scsa(7D), sd(7D), sda(7D), dkio(7I), pcfs(7FS)

System Administration Guide, Volume I

System Administration Guide: Basic Administration

DIAGNOSTICS

See sd(7D).