diff options
Diffstat (limited to 'share/man/man4')
-rw-r--r-- | share/man/man4/Makefile | 4 | ||||
-rw-r--r-- | share/man/man4/iic.4 | 96 |
2 files changed, 98 insertions, 2 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 60d0f877fc3..93a745078ff 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.261 2004/05/23 02:43:42 deraadt Exp $ +# $OpenBSD: Makefile,v 1.262 2004/05/23 18:37:06 grange Exp $ MAN= aac.4 ac97.4 acphy.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 \ aic.4 amdpm.4 ami.4 amphy.4 an.4 aria.4 ast.4 atalk.4 \ @@ -12,7 +12,7 @@ MAN= aac.4 ac97.4 acphy.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 \ faith.4 fd.4 fdc.4 fms.4 fpa.4 fxp.4 gdt.4 gem.4 gif.4 \ gpr.4 gre.4 gtp.4 hifn.4 hil.4 hilid.4 hilkbd.4 hilms.4 \ hme.4 hsq.4 icmp.4 icmp6.4 icsphy.4 idp.4 ifmedia.4 \ - iha.4 inet.4 inet6.4 inphy.4 iop.4 iophy.4 ioprbs.4 \ + iha.4 iic.4 inet.4 inet6.4 inphy.4 iop.4 iophy.4 ioprbs.4 \ iopsp.4 ip.4 ip6.4 ipcomp.4 ipsec.4 isa.4 isapnp.4 \ ises.4 iso.4 isp.4 it.4 ksyms.4 kue.4 lc.4 lge.4 lkm.4 \ lm.4 lmc.4 lo.4 lofn.4 lpt.4 lxtphy.4 maestro.4 midi.4 \ diff --git a/share/man/man4/iic.4 b/share/man/man4/iic.4 new file mode 100644 index 00000000000..b7eea64d61f --- /dev/null +++ b/share/man/man4/iic.4 @@ -0,0 +1,96 @@ +.\" $OpenBSD: iic.4,v 1.1 2004/05/23 18:37:06 grange Exp $ +.\" +.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd May 15, 2004 +.Dt IIC 4 +.Os +.Sh NAME +.Nm iic +.Nd Inter IC (I2C) bus +.Sh SYNOPSIS +.Cd "iic* at gscsio?" +.Sh DESCRIPTION +.Tn I2C +is a two-wire bus developed by Philips used for connecting +integrated circuits. +It is commonly used for connecting devices such as EEPROMs, +temperature sensors, fan controllers, real-time clocks, tuners, +and other types of integrated circuits. +.Pp +The +.Nm +driver provides uniform programming interface layer between +.Tn I2C +master controllers and various +.Tn I2C +slave devices. +Each +.Tn I2C +master controller attaches an +.Xr iic 4 +framework, several slave devices can be attached then to the +.Xr iic 4 +bus. +.Pp +All +.Tn I2C +slave devices are uniquely identified by the address on the bus. +Master accesses particular slave device using its address. +Device address should be specified in the kernel configuration file +with the +.Cd addr +locator. +.Pp +System Management Bus (SMBus) protocol is also supported by emulating +it with the +.Tn I2C +commands. +.Sh SUPPORTED DEVICES +.Bl -tag -width XXXX -compact +.It Master controllers +.Bl -tag -width XXXX -compact +.It Xr gscsio 4 +National Semiconductor Geode SC1100 Super I/O ACCESS.bus +.El +.It Slave devices +.Bl -tag -width XXXX -compact +.It Xr lmtemp 4 +National Semiconductor LM75/LM77 temperature sensor +.El +.El +.Sh SEE ALSO +.Xr gscsio 4 , +.Xr intro 4 , +.Xr lmtemp 4 , +.Xr iic 9 +.Sh HISTORY +The +.Tn I2C +framework first appeared in +.Nx 2.0 . +.Ox +support was added in +.Ox 3.6 . +.Sh AUTHORS +The +.Tn I2C +framework was written by +Steve C. Woodford and Jason R. Thorpe for +.Nx +and then ported to +.Ox +by +.An Alexander Yurchenko Aq grange@openbsd.org . |