From 417c87d1379e738df87bec5be86eebd7ee30fd63 Mon Sep 17 00:00:00 2001 From: Jim Pirzyk Date: Fri, 21 Dec 2001 01:28:59 +0000 Subject: [PATCH] Add support for the Intel 82443MX chipset PR: kern/33032 MFC after: 1 month --- sys/conf/NOTES | 2 +- sys/dev/pci/isa_pci.c | 2 +- sys/dev/pci/pci.c | 3 ++- sys/i386/conf/NOTES | 2 +- sys/pci/intpm.c | 1 + 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 427421679cd..852391d5567 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2389,7 +2389,7 @@ options POWERFAIL_NMI # make it beep instead of panicing # Supported SMB interfaces: # iicsmb I2C to SMB bridge with any iicbus interface # bktr brooktree848 I2C hardware interface -# intpm Intel PIIX4 Power Management Unit +# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit # alpm Acer Aladdin-IV/V/Pro2 Power Management Unit # ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) # diff --git a/sys/dev/pci/isa_pci.c b/sys/dev/pci/isa_pci.c index 7deec223e9e..85ef75debc7 100644 --- a/sys/dev/pci/isa_pci.c +++ b/sys/dev/pci/isa_pci.c @@ -102,7 +102,7 @@ isab_probe(device_t dev) case 0x122e8086: /* Intel 82371FB */ case 0x70008086: /* Intel 82371SB */ case 0x71108086: /* Intel 82371AB */ - case 0x71988086: /* Intel 82371MX */ + case 0x71988086: /* Intel 82443MX */ case 0x24108086: /* Intel 82801AA (ICH) */ case 0x24208086: /* Intel 82801AB (ICH0) */ case 0x24408086: /* Intel 82801AB (ICH2) */ diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index ac812d9ec71..692a4836817 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -175,8 +175,9 @@ struct pci_quirk { }; struct pci_quirk pci_quirks[] = { - /* The Intel 82371AB has a map register at offset 0x90. */ + /* The Intel 82371AB and 82443MX has a map register at offset 0x90. */ { 0x71138086, PCI_QUIRK_MAP_REG, 0x90, 0 }, + { 0x719b8086, PCI_QUIRK_MAP_REG, 0x90, 0 }, /* As does the Serverworks OSB4 (the SMBus mapping register) */ { 0x02001166, PCI_QUIRK_MAP_REG, 0x90, 0 }, diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 427421679cd..852391d5567 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -2389,7 +2389,7 @@ options POWERFAIL_NMI # make it beep instead of panicing # Supported SMB interfaces: # iicsmb I2C to SMB bridge with any iicbus interface # bktr brooktree848 I2C hardware interface -# intpm Intel PIIX4 Power Management Unit +# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit # alpm Acer Aladdin-IV/V/Pro2 Power Management Unit # ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) # diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index 5937a02be20..5aa9c019930 100644 --- a/sys/pci/intpm.c +++ b/sys/pci/intpm.c @@ -58,6 +58,7 @@ static struct _pcsid } pci_ids[] = { { 0x71138086,"Intel 82371AB Power management controller"}, + { 0x719b8086,"Intel 82443MX Power management controller"}, #if 0 /* Not a good idea yet, this stops isab0 functioning */ { 0x02001166,"ServerWorks OSB4 PCI to ISA Bridge"},