From owner-freebsd-bugs@freebsd.org Thu May 28 14:22:10 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 17FFB2F3BA1 for ; Thu, 28 May 2020 14:22:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49Xqds6z4Mz4hZ8 for ; Thu, 28 May 2020 14:22:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EF4C12F3BA0; Thu, 28 May 2020 14:22:09 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EF1302F3706 for ; Thu, 28 May 2020 14:22:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Xqds66mYz4hZ7 for ; Thu, 28 May 2020 14:22:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD9D427AD2 for ; Thu, 28 May 2020 14:22:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 04SEM95l025740 for ; Thu, 28 May 2020 14:22:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04SEM9FN025739 for bugs@FreeBSD.org; Thu, 28 May 2020 14:22:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD Date: Thu, 28 May 2020 14:22:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jrmeadows@hotmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2020 14:22:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204521 --- Comment #113 from Jacob Meadows --- 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: 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.=