OpenBSD CVS

CVS log for src/share/man/man9/iic.9


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 9 07:58:24 2022 UTC (2 years, 3 months ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.9: +15 -3 lines
Diff to previous 1.9 (colored)

Add iic_is_compatible() for matching I2C devices

When using device trees, the ia_name field of struct i2c_attach_args
points to the first string of the device node's "compatible" array.
However, in many cases it would be preferable to use the last, most
general "compatible" entry as a device matching criterion.

Enable more flexible device matching by permitting ia_name to point to
the raw "compatible" data which is a concatenation of NUL-terminated
strings. I2C bus code will supply the data and set ia_name and
ia_namelen. I2C device drivers will use iic_is_compatible() to check
matches. This method is also backwards compatible with the old, direct
use of ia_name.

Prompted by a related patch from kettenis@.

OK kettenis@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 23 17:53:57 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

add missing NAME entries;
feedback/ok schwarze

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 17 20:21:54 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

use .Mt for AUTHORS email; from Jan Stary <hans at stare dot cz>; ok jmc@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 4 19:27:07 2013 UTC (11 years ago) by schwarze
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Replace old-fashioned .Fd by new-fangled .In for #include lines.
Diff from Jan Klemkow <j dot klemkow at wemelug dot de> on tech@.
No objection from jmc@ against this type of change.

Revision 1.6 / (download) - annotate - [select for diffs], Thu May 31 19:20:00 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

convert to new .Dd format;

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 14 02:18:20 2006 UTC (18 years, 2 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.4: +13 -4 lines
Diff to previous 1.4 (colored)

Use .Xo/.Xc and .Fo/.Fc to put all arguments of iic_exec() in man
page, breaking nine argument limit.

ok grange, otto

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 12 06:29:49 2006 UTC (18 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (colored)

document new attach args for devices

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 24 05:48:22 2004 UTC (19 years, 9 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

double word (a a)

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 23 22:10:53 2004 UTC (20 years ago) by jmc
Branch: MAIN
Changes since 1.1: +9 -6 lines
Diff to previous 1.1 (colored)

- typos
- new sentence, new line

Revision 1.1 / (download) - annotate - [select for diffs], Sun May 23 18:37:06 2004 UTC (20 years ago) by grange
Branch: MAIN

iic(4) and iic(9) man pages for I2C framework.
iic(9) page was written by Jason Thorpe but, surprisingly,
wasn't commited to NetBSD (r).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.