rtsx.4 (577130e56e524eb185ff4d32644dae26be4d28d4) rtsx.4 (8290c144201804d3f01ae16eebe1b9a6b221af54)
1.\"
2.\" Copyright (c) 2020 Henri Hennebert <hlh@restart.be>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
1.\"
2.\" Copyright (c) 2020 Henri Hennebert <hlh@restart.be>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd February 10, 2022
27.Dd April 26, 2022
28.Dt RTSX 4
29.Os
30.Sh NAME
31.Nm rtsx
32.Nd Realtek SD card reader
33.Sh SYNOPSIS
34To compile this driver into the kernel, place the following
35lines in the kernel configuration file:
36.Bd -ragged -offset indent
28.Dt RTSX 4
29.Os
30.Sh NAME
31.Nm rtsx
32.Nd Realtek SD card reader
33.Sh SYNOPSIS
34To compile this driver into the kernel, place the following
35lines in the kernel configuration file:
36.Bd -ragged -offset indent
37.Cd "device mmc"
38.Cd "device mmcsd"
39.Cd "device rtsx"
37.Cd device mmc
38.Cd device mmcsd
39.Cd device rtsx
40.Ed
41.Pp
42Alternatively, to load the driver as a module at boot time,
43place the following lines in
44.Xr loader.conf 5 :
45.Bd -literal -offset indent
40.Ed
41.Pp
42Alternatively, to load the driver as a module at boot time,
43place the following lines in
44.Xr loader.conf 5 :
45.Bd -literal -offset indent
46mmc_load="YES"
47mmcsd_load="YES"
48rtsx_load="YES"
46.Cd mmc_load="YES"
47.Cd mmcsd_load="YES"
48.Cd rtsx_load="YES"
49.Ed
50.Sh DESCRIPTION
51The
52.Nm
53driver provides support for Realtek SD card reader.
54Driver attaches mmc bus on card insertion and detaches it on card removing.
55.Sh HARDWARE
56The

--- 74 unchanged lines hidden (view full) ---

131.Em loader.conf(5) :
132.Bd -ragged
133.Cd dev.rtsx.0.inversion=0
134.Ed
135.It
136Mounting a filesystem with write access on a card write protected may involve a kernel crash.
137.It
138Suspend/Resume do not work under MMCCAM.
49.Ed
50.Sh DESCRIPTION
51The
52.Nm
53driver provides support for Realtek SD card reader.
54Driver attaches mmc bus on card insertion and detaches it on card removing.
55.Sh HARDWARE
56The

--- 74 unchanged lines hidden (view full) ---

131.Em loader.conf(5) :
132.Bd -ragged
133.Cd dev.rtsx.0.inversion=0
134.Ed
135.It
136Mounting a filesystem with write access on a card write protected may involve a kernel crash.
137.It
138Suspend/Resume do not work under MMCCAM.
139.It
140For some chips (e.g. RTS5260) after
141.Cd devctl disable/enable
142or
143.Cd kldunload/kldload
144the driver can't detect a card correctly.
139.El
145.El