[Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 28 09:58:57 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #101 from Bengt Ahlgren <bengta at sics.se> ---
(In reply to Gary Jennejohn from comment #97)
It does not compile on 11.4-STABLE:

rtsx.c:2072:21: error: use of undeclared identifier 'IO_SEND_OP_COND'
        if (cmd->opcode == IO_SEND_OP_COND &&

Copying that definition from 12-STABLE (sys/dev/mmc/mmcreg.h) makes it compile.

I only made a very simple test with one card, creating one file and read it
back without issues.

I have a Thinkpad X250 with:

rtsx0 at pci0:2:0:0:       class=0xff0000 card=0x222617aa chip=0x522710ec rev=0x01
hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTS5227 PCI Express Card Reader'

Great work, thanks a lot!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list