NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/60314 CVS commit: src/sys/dev/acpi



On 07/06/2026 20:50, Nick Hudson wrote:
> The following reply was made to PR port-evbarm/60314; it has been noted by GNATS.
> 
> From: "Nick Hudson" <skrll%netbsd.org@localhost>
> To: gnats-bugs%gnats.NetBSD.org@localhost
> Cc: 
> Subject: PR/60314 CVS commit: src/sys/dev/acpi
> Date: Sun, 7 Jun 2026 19:47:49 +0000
> 
> Module Name: src
> Committed By: skrll
> Date: Sun Jun 7 19:47:49 UTC 2026
> 
> Modified Files:
> src/sys/dev/acpi: sdhc_acpi.c
> 
> Log Message:
> PR/60314 Raspberry PI 5 SD support doesn't work under UEFI
> 
> Apply the necessary SDHC_FLAG_* flags to make the Broadcom STB SDHCI
> controllers (Arasan IP) with HID BRCM5D12 work.
> 
> Thanks to Jared for help with this.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.23 -r1.24 src/sys/dev/acpi/sdhc_acpi.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 
With the fix...
rpi5-nvme# dmesg | grep -E "sd(hc|mmc)"
[     1.000004] sdhc0 at acpi0 (SDC0, BRCM5D12-0): mem 0x1000fff000-0x1000fff25f irq 305
[     1.000004] sdhc0: SDHC 3.0, rev 16, caps <15eac832/80002570>, 32-bit ADMA2, 200000 kHz, HS 3.3V, re-tuning mode 1 (16s timer), 2048 byte blocks
[     1.000004] sdmmc0 at sdhc0 slot 0
[     1.000004] sdhc1 at acpi0 (SDC1, BRCM5D12-1): mem 0x1001100000-0x100110025f irq 306
[     1.000004] sdhc1: SDHC 3.0, rev 16, caps <55eec832/80002524>, 32-bit ADMA2, 200000 kHz, embedded slot, HS 3.3V, re-tuning mode 1 (16s timer), 2048 byte blocks
[     1.000004] sdmmc1 at sdhc1 slot 0
[     1.495206] sdmmc1: 4-bit width, 50.000 MHz
[     1.495206] sdmmc1: SDIO function
[     1.495206] (manufacturer 0x2d0, product 0x4345) at sdmmc1 function 1 not configured
[     1.495206] (manufacturer 0x2d0, product 0x4345) at sdmmc1 function 2 not configured
[     1.495206] (manufacturer 0x2d0, product 0x4345, standard function interface code 0x2) at sdmmc1 function 3 not configured
[     1.547929] sdmmc0: SD card status: 4-bit, C10, U1
[     1.547929] ld0 at sdmmc0: <0x41:0x3432:SD8GB:0x30:0x60c04c16:0x0f9>
rpi5-nvme#
> 



Home | Main Index | Thread Index | Old Index