diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-11-16 12:28:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-11-16 12:28:55 +0000 |
commit | befa7b3e6f517d471e41f4539b20cfefdf99d00b (patch) | |
tree | 08456b5c88d96f3cc537241f0146554059cad7b2 /sys/arch/macppc/dev/pm_direct.h | |
parent | b3a60fd52c5e08fcc358e3574480d981ba5b50cd (diff) |
Add support for the I2C controller on via-pmu.
ok deraadt@
Diffstat (limited to 'sys/arch/macppc/dev/pm_direct.h')
-rw-r--r-- | sys/arch/macppc/dev/pm_direct.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/pm_direct.h b/sys/arch/macppc/dev/pm_direct.h index 065d518ecad..c3e4d3f238c 100644 --- a/sys/arch/macppc/dev/pm_direct.h +++ b/sys/arch/macppc/dev/pm_direct.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pm_direct.h,v 1.6 2005/10/21 22:07:45 kettenis Exp $ */ +/* $OpenBSD: pm_direct.h,v 1.7 2005/11/16 12:28:54 kettenis Exp $ */ /* $NetBSD: pm_direct.h,v 1.5 1999/07/12 15:54:55 tsubai Exp $ */ /* @@ -98,6 +98,8 @@ void pm_eject_pcmcia(int); #define PMU_SMART_BATTERY_STATE 0x6f /* Read battery state */ +#define PMU_I2C 0x9a /* I2C */ + /* Bits in PMU interrupt and interrupt mask bytes */ #define PMU_INT_ADB_AUTO 0x04 /* ADB autopoll, when PMU_INT_ADB */ #define PMU_INT_PCEJECT 0x04 /* PC-card eject buttons */ @@ -134,4 +136,9 @@ enum { #define PMU_PWR_AC_PRESENT (1 << 0) #define PMU_PWR_BATT_PRESENT (1 << 2) +/* PMU I2C */ +#define PMU_I2C_SIMPLE 0x00 +#define PMU_I2C_NORMAL 0x01 +#define PMU_I2C_COMBINED 0x02 + #endif |