svn commit: r323555 - head/sys/dev/intpm
Conrad Meyer
cem at FreeBSD.org
Wed Sep 13 17:43:19 UTC 2017
Author: cem
Date: Wed Sep 13 17:43:18 2017
New Revision: 323555
URL: https://svnweb.freebsd.org/changeset/base/323555
Log:
intpm(4): Decrease requested i/o port range width
On some AMD FCH devices driven by intpm(4) (read: mine), the SMBus I/O port
range is split in two and the low range is only 0x10 wide. intpm(4) does
not access any registers above 0x0f, so there is no need for the wider
range.
Discussed with: avg
Sponsored by: Dell EMC Isilon
Modified:
head/sys/dev/intpm/intpm.c
Modified: head/sys/dev/intpm/intpm.c
==============================================================================
--- head/sys/dev/intpm/intpm.c Wed Sep 13 17:00:02 2017 (r323554)
+++ head/sys/dev/intpm/intpm.c Wed Sep 13 17:43:18 2017 (r323555)
@@ -128,7 +128,7 @@ amd_pmio_read(struct resource *res, uint8_t reg)
static int
sb8xx_attach(device_t dev)
{
- static const int AMDSB_SMBIO_WIDTH = 0x14;
+ static const int AMDSB_SMBIO_WIDTH = 0x10;
struct intsmb_softc *sc;
struct resource *res;
uint32_t devid;
More information about the svn-src-head
mailing list