summaryrefslogtreecommitdiff
path: root/usr/src/man/man7d/sdcard.7d
blob: 17697fb69fa0e5592c140e400c54e612cea7c59f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
'\" 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]
.TH sdcard 7D "28 Feb 2008" "SunOS 5.11" "Devices"
.SH NAME
sdcard \- SD/MMC memory card driver
.SH DESCRIPTION
.sp
.LP
The \fBsdcard\fR memory card driver supports MultiMediaCard (MMC), Secure
Digital (SD), and Secure Digital High Capacity (SDHC) memory cards. It uses the
\fBblk2scsa\fR(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
\fBsd\fR(7D). Each card appears as its own SCSI LUN. Cards are hot-pluggable
and removable.
.SH DEVICE SPECIAL FILES
.sp
.LP
Disk block special file names are located in \fB/dev/dsk\fR. Raw file names are
located in \fB/dev/rdsk\fR.  See \fBsd\fR(7D).
.SH IOCTLS
.sp
.LP
See \fBdkio\fR(7I)
.SH ERRORS
.sp
.LP
See \fBsd\fR(7D) and \fBblk2scsa\fR(7D). Additionally, \fBsdcard\fR may issue
the following warnings, which indicate a failure to identify the card as a
supported type:
.sp
.in +2
.nf
"Unknown SD CSD version (%d)"
"Unknown MMC CSD version (%d)"
"Unknown MMCA version (%d)"
"Card type unknown"
.fi
.in -2

.SH FILES
.sp
.LP
Device special files for the storage device are created in the same way as
those for a SCSI disk. See \fBsd\fR(7D) for more information.
.sp
.ne 2
.mk
.na
\fB/dev/dsk/c\fIn\fRt\fIn\fRd\fIn\fRs\fIn\fR\fR
.ad
.RS 30n
.rt  
Block files for disks.
.RE

.sp
.ne 2
.mk
.na
\fB/dev/rdsk/c\fIn\fRt\fIn\fRd\fIn\fRs\fIn\fR\fR
.ad
.RS 30n
.rt  
Raw files for disks.
.RE

.sp
.ne 2
.mk
.na
\fB/kernel/drv/sdcard\fR
.ad
.RS 30n
.rt  
32-bit ELF kernel module (x86).
.RE

.sp
.ne 2
.mk
.na
\fB/kernel/misc/amd64/sdcard\fR
.ad
.RS 30n
.rt  
64-bit ELF kernel module (x86).
.RE

.sp
.ne 2
.mk
.na
\fB/kernel/drv/sparcv9/sdcard\fR
.ad
.RS 30n
.rt  
64-bit ELF kernel module (SPARC).
.RE

.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for a description of the following attributes:
.sp

.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i) 
lw(2.75i) |lw(2.75i) 
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
ArchitectureSPARC, x86
.TE

.SH SEE ALSO
.sp
.LP
\fBrmformat\fR(1), \fBrmmount\fR(1), \fBcfgadm_scsi\fR(1M),
\fBcfgadm_sdcard\fR(1M), \fBfdisk\fR(1M), \fBmount\fR(1M), \fBumount\fR(1M),
\fBscsi\fR(4), \fBvfstab\fR(4), \fBattributes\fR(5), \fBblk2scsa\fR(7D),
\fBsd\fR(7D), \fBsda\fR(7D), \fBdkio\fR(7I), \fBpcfs\fR(7FS)
.sp
.LP
\fISystem Administration Guide, Volume I\fR
.sp
.LP
\fISystem Administration Guide: Basic Administration\fR
.SH DIAGNOSTICS
.sp
.LP
See \fBsd\fR(7D).