diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-20 18:46:22 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-20 18:46:22 +0000 |
commit | e1c03cbde4f0cdc00a39d923779ffe9ffe7d93c5 (patch) | |
tree | 1315fa4badf1c496d524b111495e3129fbd3cf43 /sys/dev/ic/pcf8584var.h | |
parent | 1d4dc2c42d0356f41acb788e210c753ba7fc6fac (diff) |
Move a few more definitions to pcf8584var.h. Needed for SUNW,envctrl and
SUNW,envctrltwo support.
ok deraadt@
Diffstat (limited to 'sys/dev/ic/pcf8584var.h')
-rw-r--r-- | sys/dev/ic/pcf8584var.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/pcf8584var.h b/sys/dev/ic/pcf8584var.h index 95cbbb552d0..03a6d6f66d5 100644 --- a/sys/dev/ic/pcf8584var.h +++ b/sys/dev/ic/pcf8584var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcf8584var.h,v 1.4 2007/05/21 03:11:11 jsg Exp $ */ +/* $OpenBSD: pcf8584var.h,v 1.5 2007/10/20 18:46:21 kettenis Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -40,6 +40,12 @@ struct pcfiic_softc { #define PCF_CLOCK_8 0x18 /* 8 MHz */ #define PCF_CLOCK_12 0x1c /* 12 MHz */ +/* SCL frequency settings */ +#define PCF_FREQ_90 0x00 /* 90 kHz */ +#define PCF_FREQ_45 0x01 /* 45 kHz */ +#define PCF_FREQ_11 0x02 /* 11 kHz */ +#define PCF_FREQ_1_5 0x03 /* 1.5 kHz */ + void pcfiic_attach(struct pcfiic_softc *, i2c_addr_t, u_int8_t, int, void (*)(struct device *, struct i2cbus_attach_args *, void *), void *); |