Module Name: src Committed By: msaitoh Date: Tue Jan 10 00:05:53 UTC 2023
Modified Files: src/sys/dev/pci: piixpm.c piixpmreg.h Log Message: Use MMIO for PM register access on newer revision's devices. Newer revision's device only support memory mapped access. At least, X670E's SMBus device that the revision ID is 0x71 doesn't support I/O access. Use MMIO access for newer devices. Linux uses >= 0x51 for the check, so we do the same check. Note that X570's SMBus(rev. 0x61) supports I/O access... To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/dev/pci/piixpm.c cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/piixpmreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.