1 '\" te 2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved 3 .\" 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. 4 .\" 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. 5 .\" 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] 6 .TH SDCARD 7D "Feb 28, 2008" 7 .SH NAME 8 sdcard \- SD/MMC memory card driver 9 .SH DESCRIPTION 10 .sp 11 .LP 12 The \fBsdcard\fR memory card driver supports MultiMediaCard (MMC), Secure 13 Digital (SD), and Secure Digital High Capacity (SDHC) memory cards. It uses the 14 \fBblk2scsa\fR(7D) service to present these cards to the system as SCSI disks 15 on a virtual SCSI bus, creating a child device to be serviced with 16 \fBsd\fR(7D). Each card appears as its own SCSI LUN. Cards are hot-pluggable 17 and removable. 18 .SH DEVICE SPECIAL FILES 19 .sp 20 .LP 21 Disk block special file names are located in \fB/dev/dsk\fR. Raw file names are 22 located in \fB/dev/rdsk\fR. See \fBsd\fR(7D). 23 .SH IOCTLS 24 .sp 25 .LP 26 See \fBdkio\fR(7I) 27 .SH ERRORS 28 .sp 29 .LP 30 See \fBsd\fR(7D) and \fBblk2scsa\fR(7D). Additionally, \fBsdcard\fR may issue 31 the following warnings, which indicate a failure to identify the card as a 32 supported type: 33 .sp 34 .in +2 35 .nf 36 "Unknown SD CSD version (%d)" 37 "Unknown MMC CSD version (%d)" 38 "Unknown MMCA version (%d)" 39 "Card type unknown" 40 .fi 41 .in -2 42 43 .SH FILES 44 .sp 45 .LP 46 Device special files for the storage device are created in the same way as 47 those for a SCSI disk. See \fBsd\fR(7D) for more information. 48 .sp 49 .ne 2 50 .na 51 \fB/dev/dsk/c\fIn\fRt\fIn\fRd\fIn\fRs\fIn\fR\fR 52 .ad 53 .RS 30n 54 Block files for disks. 55 .RE 56 57 .sp 58 .ne 2 59 .na 60 \fB/dev/rdsk/c\fIn\fRt\fIn\fRd\fIn\fRs\fIn\fR\fR 61 .ad 62 .RS 30n 63 Raw files for disks. 64 .RE 65 66 .sp 67 .ne 2 68 .na 69 \fB/kernel/drv/sdcard\fR 70 .ad 71 .RS 30n 72 32-bit ELF kernel module (x86). 73 .RE 74 75 .sp 76 .ne 2 77 .na 78 \fB/kernel/misc/amd64/sdcard\fR 79 .ad 80 .RS 30n 81 64-bit ELF kernel module (x86). 82 .RE 83 84 .sp 85 .ne 2 86 .na 87 \fB/kernel/drv/sparcv9/sdcard\fR 88 .ad 89 .RS 30n 90 64-bit ELF kernel module (SPARC). 91 .RE 92 93 .SH ATTRIBUTES 94 .sp 95 .LP 96 See \fBattributes\fR(5) for a description of the following attributes: 97 .sp 98 99 .sp 100 .TS 101 box; 102 c | c 103 l | l . 104 ATTRIBUTE TYPE ATTRIBUTE VALUE 105 _ 106 Architecture SPARC, x86 107 .TE 108 109 .SH SEE ALSO 110 .sp 111 .LP 112 \fBrmformat\fR(1), \fBrmmount\fR(1), \fBcfgadm_scsi\fR(1M), 113 \fBcfgadm_sdcard\fR(1M), \fBfdisk\fR(1M), \fBmount\fR(1M), \fBumount\fR(1M), 114 \fBscsi\fR(4), \fBvfstab\fR(4), \fBattributes\fR(5), \fBblk2scsa\fR(7D), 115 \fBsd\fR(7D), \fBsda\fR(7D), \fBdkio\fR(7I), \fBpcfs\fR(7FS) 116 .sp 117 .LP 118 \fISystem Administration Guide, Volume I\fR 119 .sp 120 .LP 121 \fISystem Administration Guide: Basic Administration\fR 122 .SH DIAGNOSTICS 123 .sp 124 .LP 125 See \fBsd\fR(7D).