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
This commit is contained in:
cem 2017-09-13 17:43:18 +00:00
parent 6fe5c44bd1
commit 3b20ae1752

View File

@ -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;