History log of /openbsd-src/sys/dev/ic/rtsx.c (Results 1 – 22 of 22)
Revision Date Author Comments
# 7f6f7fd3 18-Feb-2020 cheloha <cheloha@openbsd.org>

rtsx(4): tsleep(9) -> tsleep_nsec(9); ok mpi@


# 8bb9649a 09-Oct-2017 stsp <stsp@openbsd.org>

Fix build on 32 bit; paddr in rtsx_xfer_dma needs to be 64bit on all platforms.
Found the hard way by deraadt@


# e49248d7 09-Oct-2017 stsp <stsp@openbsd.org>

Add ADMA support to rtsx(4) to make use of DMA buffers provided by sdmmc(4).
Data transfers use a little bit less CPU time now.
Tested by me on RT5209 and on RTS525A by jcs@
ok mpi@ visa@


# adc32ee9 07-Sep-2017 jcs <jcs@openbsd.org>

Check return of rtsx_write in previous commit as RTSX_WRITE macro
does

Coverity CID 1455437


# 2c295edd 06-Sep-2017 jcs <jcs@openbsd.org>

add support for the Realtek RTS525A

ok stsp


# 78d81128 06-May-2016 kettenis <kettenis@openbsd.org>

Make sure we always update both bits that control the bus width. Also make
sure that we reset the bus width (to 1-bit) after powering up the bus.
Apparently the register write fails if the bus isn't

Make sure we always update both bits that control the bus width. Also make
sure that we reset the bus width (to 1-bit) after powering up the bus.
Apparently the register write fails if the bus isn't powered on.
Implement the chip callback function and advertise 4-bit bus support.

ok stsp@

show more ...


# dcd4253d 06-May-2016 kettenis <kettenis@openbsd.org>

Round the requested clock frequency down to a support value instead of
insisting on an exact match. Add support for a 50 MHz clock.

ok stsp@


# 98dad174 06-May-2016 kettenis <kettenis@openbsd.org>

Fix the DMA transfer code to repect the block size in the sdmmc command.

ok stsp@


# 820e06f1 05-May-2016 kettenis <kettenis@openbsd.org>

Add Dual Data Rate support for eMMC at 52MHz.


# b140af5c 01-May-2016 kettenis <kettenis@openbsd.org>

Add support for changing the bus width to the sdmmc subsystem and the sdhc(4)
controller. Use this to switch SD cards to a 4-bit bus if they support it.

ok deraadt@, jsg@


# ae1f177a 28-Apr-2015 stsp <stsp@openbsd.org>

In rtsx(4), condense the list of support chips in a comment, remove the unused
F_5227 flag, sort PCI IDs, and fix a typo in a comment. No functional change.
from brad


# 21dab745 14-Mar-2015 jsg <jsg@openbsd.org>

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


# e518625a 19-Aug-2014 phessler <phessler@openbsd.org>

Enable rts5227, as found in my new Thinkpad x240.

Shuffle the code around slightly, so we special case the 5209 chipset
instead of semi-randomly.

Tested on rts5227 by me, and rts5209 by stsp@

OK s

Enable rts5227, as found in my new Thinkpad x240.

Shuffle the code around slightly, so we special case the 5209 chipset
instead of semi-randomly.

Tested on rts5227 by me, and rts5209 by stsp@

OK stsp@

show more ...


# 1244917d 18-May-2014 stsp <stsp@openbsd.org>

Make rtsx(4) attach to RTL8402 devices. Reported as working by Eric Huiban.


# aaa20060 23-Apr-2014 stsp <stsp@openbsd.org>

Document RTS5227 support in rtsx(4).


# 20d41c9b 08-Dec-2013 stsp <stsp@openbsd.org>

Fix rtsx_read_cfg() return value check in rtsx_attach(). Diff from dhill.
Bug didn't have any bad effects since rtsx doesn't support SDIO at present.


# 37ecb596 06-Dec-2013 deraadt <deraadt@openbsd.org>

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people

show more ...


# 0cd9a838 06-Nov-2013 stsp <stsp@openbsd.org>

Add support for the RTS5229 card reader to rtsx(4).
From Pedro Martelletto.


# 00c76a70 31-May-2013 deraadt <deraadt@openbsd.org>

Correct sequencing in ca_activate function. Some operations were in the
wrong order, and depth traversal was not gauranteed.
ok stsp (tested too)


# 1a8ef7ca 28-Mar-2013 stsp <stsp@openbsd.org>

Prevent a panic during rtsx(4) attachment. If a card is inserted while booting
the interrupt handler can be triggered before sdmmc(4) is attached. In which
case the interrupt handler's futile attempt

Prevent a panic during rtsx(4) attachment. If a card is inserted while booting
the interrupt handler can be triggered before sdmmc(4) is attached. In which
case the interrupt handler's futile attempt to handle the newly inserted card
would crash the kernel. ok miod@

show more ...


# b36d9b34 07-Dec-2012 stsp <stsp@openbsd.org>

Remove support for waiting for an interrupt within hostcmd_send(), since only
one of the two callers of hostcmd_send() needs to wait for an interrupt.
Make the single caller which needs it wait inste

Remove support for waiting for an interrupt within hostcmd_send(), since only
one of the two callers of hostcmd_send() needs to wait for an interrupt.
Make the single caller which needs it wait instead.
No functional change; ok phessler

show more ...


# f615cd67 29-Nov-2012 stsp <stsp@openbsd.org>

Add rtsx(4), a new driver for the Realtek RTS5209 card reader.
This card reader does not comply to the standard SDHC interface
supported by sdhc(4) and hence requires a custom driver.

With help from

Add rtsx(4), a new driver for the Realtek RTS5209 card reader.
This card reader does not comply to the standard SDHC interface
supported by sdhc(4) and hence requires a custom driver.

With help from uwe and mikeb. Useful hints were also provided by the
author of the corresponding Linux driver (wwang at realsil com cn),
thanks a lot! Tested by myself and weerd on i386 and amd64.

show more ...