Source-Changes archive

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

CVS commit: src/sys/arch/x86/pci



Module Name:    src
Committed By:   andvar
Date:           Tue Mar 31 19:47:47 UTC 2026

Modified Files:
        src/sys/arch/x86/pci: rdcpcib.c

Log Message:
rdcpcib(4): fix rdcpcib attach/detach handling for function 0 and function 1.

Only function 0 exposes the indirect access registers and the watchdog timer.
Function 1 has a separate register set and does not use these registers.

This resolves the autoconfiguration error seen in boot dmesg:
"rdcpcib1: autoconfiguration error: couldn't map indirect registers"

Attach now maps the indirect access registers and configures the watchdog only
for function 0, and detach only releases resources that were initialized.

reviewed by riastradh@, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/pci/rdcpcib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index