diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-10-05 18:58:41 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-10-05 18:58:41 +0000 |
commit | 0c390f191f9e020a7a46e6ec224a23e8843f8eae (patch) | |
tree | c04d956a61eebeb49b070e33a7927b31b56c8c6e /sys/dev | |
parent | 56830125c586297ab384254d3a2ed8530ca7a6f8 (diff) |
- check if pm space is enabled
- switch to pci_matchbyid()
- minor nits
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/ichreg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/ichreg.h b/sys/dev/pci/ichreg.h index d03c0df2b2e..da216901d41 100644 --- a/sys/dev/pci/ichreg.h +++ b/sys/dev/pci/ichreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ichreg.h,v 1.2 2004/09/25 13:58:44 grange Exp $ */ +/* $OpenBSD: ichreg.h,v 1.3 2004/10/05 18:58:40 grange Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> * @@ -30,6 +30,8 @@ * PCI configuration registers */ #define ICH_PMBASE 0x40 /* ACPI base address */ +#define ICH_ACPI_CNTL 0x44 /* ACPI control */ +#define ICH_ACPI_CNTL_ACPI_EN (1 << 4) /* ACPI enable */ #define ICH_GEN_PMCON1 0xa0 /* general PM configuration */ /* ICHx-M only */ #define ICH_GEN_PMCON1_SS_EN 0x08 /* enable SpeedStep */ |