Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 14:22:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD
Message-ID:  <bug-204521-227-SbXLFnQwF9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204521-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204521-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204521

--- Comment #113 from Jacob Meadows <jrmeadows@hotmail.com> ---
Thank you for all your hard work on this.  I have a Realtek RTS525A in my D=
ell
Latitude E5570.  My FreeBSD version is 12.1-RELEASE-p5, and I am using the
GENERIC kernel.  I just downloaded and installed the driver from Git, when
loaded it will not show as attached to the device in pciconf, and no access=
 to
an SD card is available.  When I load the driver, dmesg outputs this:

pci0: driver added
found-> vendor=3D0x8086, dev=3D0x1903, revid=3D0x07
        domain=3D0, bus=3D0, slot=3D4, func=3D0
        class=3D11-80-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0002, statreg=3D0x0090, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
        intpin=3Da, irq=3D255
        powerspec 3  supports D0 D3  current D0
        MSI supports 1 message
pci0:0:4:0: reprobing on driver added
found-> vendor=3D0x8086, dev=3D0xa131, revid=3D0x31
        domain=3D0, bus=3D0, slot=3D20, func=3D2
        class=3D11-80-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0002, statreg=3D0x0010, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
        intpin=3Dc, irq=3D255
        powerspec 3  supports D0 D3  current D0
        MSI supports 1 message
pci0:0:20:2: reprobing on driver added
found-> vendor=3D0x8086, dev=3D0xa13a, revid=3D0x31
        domain=3D0, bus=3D0, slot=3D22, func=3D0
        class=3D07-80-00, hdrtype=3D0x00, mfdev=3D1
        cmdreg=3D0x0002, statreg=3D0x0010, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
        intpin=3Da, irq=3D255
        powerspec 3  supports D0 D3  current D0
        MSI supports 1 message, 64 bit
pci0:0:22:0: reprobing on driver added
found-> vendor=3D0x8086, dev=3D0xa121, revid=3D0x31
        domain=3D0, bus=3D0, slot=3D31, func=3D2
        class=3D05-80-00, hdrtype=3D0x00, mfdev=3D1
        cmdreg=3D0x0002, statreg=3D0x0000, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
pci0:0:31:2: reprobing on driver added
pci1: driver added
pci2: driver added
pci3: driver added
found-> vendor=3D0x10ec, dev=3D0x525a, revid=3D0x01
        domain=3D0, bus=3D3, slot=3D0, func=3D0
        class=3Dff-00-00, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
        intpin=3Da, irq=3D255
        powerspec 3  supports D0 D1 D2 D3  current D0
        MSI supports 1 message, 64 bit
pci0:3:0:0: reprobing on driver added
rtsx0: <Realtek RTS525A PCI MMC/SD Card Reader> mem 0xef000000-0xef000fff at
device 0.0 on pci3
rtsx0: Attach - Vendor ID: 0x10ec - Device ID: 0x525a
rtsx0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 270 to local APIC 4 vector 52
rtsx0: using IRQ 270 for MSI
rtsx0: Can't allocate memory resource for 16
device_attach: rtsx0 attach returned 6

pciconf -lv shows this for the device:
none4@pci0:3:0:0:       class=3D0xff0000 card=3D0x06df1028 chip=3D0x525a10e=
c rev=3D0x01
hdr=3D0x00
    vendor     =3D 'Realtek Semiconductor Co., Ltd.'
    device     =3D 'RTS525A PCI Express Card Reader'

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204521-227-SbXLFnQwF9>