The NetBSD Project

CVS log for src/sys/dev/i2c/i2c.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / i2c

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.90 / (download) - annotate - [select for diffs], Mon Oct 24 10:17:40 2022 UTC (17 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.89: +6 -11 lines
Diff to previous 1.89 (colored) to selected 1.77.2.7 (colored)

iic(4): Use config_detach_children to simplify.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Oct 24 10:17:27 2022 UTC (17 months ago) by riastradh
Branch: MAIN
Changes since 1.88: +2 -136 lines
Diff to previous 1.88 (colored) to selected 1.77.2.7 (colored)

i2c(9): Nix smbus intr API.

It was introduced in 2007 for some Xbox thing which was removed in
2011.  The API and the threads it spawned have been sitting around
idly for over a decade serving no purpose -- sometimes causing kernel
lock spinouts in the event of panic.

Add ic_tag_private to obviate need for future ABI changes.  Not
currently used, but we can privately allocate memory in iic_tag_init
for the purpose later if need be without changing ABI.

XXX kernel revbump -- changes struct i2c_controller

Revision 1.88 / (download) - annotate - [select for diffs], Sat Jul 23 03:05:27 2022 UTC (20 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.87: +6 -3 lines
Diff to previous 1.87 (colored) to selected 1.77.2.7 (colored)

If there is a compat string list, parenthetically print the first one
in iic_print_direct().  (From thorpej-i2c-spi-conf2 branch.)

Revision 1.87 / (download) - annotate - [select for diffs], Wed Jun 29 15:33:45 2022 UTC (21 months ago) by mlelstv
Branch: MAIN
Changes since 1.86: +16 -10 lines
Diff to previous 1.86 (colored) to selected 1.77.2.7 (colored)

Allocate data buffer instead of using the stack.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Apr 1 15:49:12 2022 UTC (23 months, 4 weeks ago) by pgoyette
Branch: MAIN
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored) to selected 1.77.2.7 (colored)

Split i2c_subr.c into a separate module rather than including it in
the iic module.  There are valid configurations where i2c_subr code
can be both built-in and part of a loaded module (eg, piixpm is in
the kernel, but the iic module is loaded later).  This causes the
in-kernel linker to detect a duplicate symbol.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Mar 28 12:33:21 2022 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.84: +4 -7 lines
Diff to previous 1.84 (colored) to selected 1.77.2.7 (colored)

driver(9): devsw_detach never fails.  Make it return void.

Prune a whole lotta dead branches as a result of this.  (Some logic
calling this is also wrong for other reasons; devsw_detach is final
-- you should never have any reason to decide to roll it back.  To be
cleaned up in subsequent commits...)

XXX kernel ABI change to devsw_detach signature requires bump

Revision 1.84 / (download) - annotate - [select for diffs], Mon Jan 24 09:42:14 2022 UTC (2 years, 2 months ago) by andvar
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) to selected 1.77.2.7 (colored)

remove double "with" in comments and usage text. Also fix one typo.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Jan 22 11:49:17 2022 UTC (2 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.82: +6 -4 lines
Diff to previous 1.82 (colored) to selected 1.77.2.7 (colored)

Change the devhandle_from_*() functions to also take a "super handle",
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jan 21 15:55:36 2022 UTC (2 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored) to selected 1.77.2.7 (colored)

Replace devhandle_invalidate(), which invalidates a devhandle, with
devhandle_invalid(), which returns an invalid devhandle.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jan 17 19:34:31 2022 UTC (2 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.80: +40 -4 lines
Diff to previous 1.80 (colored) to selected 1.77.2.7 (colored)

Minimal hack to pass child devices a devhandle created from the OF
or ACPI "cookie".  Temporary measure until the i2c autoconfiguration
overhaul is merged (which fixes this in a more generic way).

Revision 1.80.2.8 / (download) - annotate - [select for diffs], Mon Sep 13 14:47:28 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.80.2.7: +2 -37 lines
Diff to previous 1.80.2.7 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored) to selected 1.77.2.7 (colored)

Move the i2c enumeration helpers to their own header file to detangle
it from reliance on "iic" being configured into the kernel.

Revision 1.80.2.7 / (download) - annotate - [select for diffs], Sun Sep 12 22:02:19 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.80.2.6: +2 -3 lines
Diff to previous 1.80.2.6 (colored) to branchpoint 1.80 (colored) to selected 1.77.2.7 (colored)

iic_devslot_remove(): remove an errant "return false;" (the result of
a paste-o).

Revision 1.80.2.6 / (download) - annotate - [select for diffs], Sat Sep 11 01:03:18 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.80.2.5: +37 -2 lines
Diff to previous 1.80.2.5 (colored) to branchpoint 1.80 (colored) to selected 1.77.2.7 (colored)

Re-factor the code in sandpoint and sparc64 that enumerates a static
table of i2c device entries into something sharable.

Revision 1.80.2.5 / (download) - annotate - [select for diffs], Fri Sep 10 15:45:28 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.80.2.4: +3 -7 lines
Diff to previous 1.80.2.4 (colored) to branchpoint 1.80 (colored) to selected 1.77.2.7 (colored)

Remove unnecessary references to i2c_attach_args::ia_prop and mark the ones
that remain as XXX.

Revision 1.80.2.4 / (download) - annotate - [select for diffs], Sun Aug 22 18:43:06 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.80.2.3: +3 -3 lines
Diff to previous 1.80.2.3 (colored) to branchpoint 1.80 (colored) to selected 1.77.2.7 (colored)

In iic_devslot_reserve(), don't set a pointer to NULL before dereferencing
it in a KASSERT().

Revision 1.80.2.3 / (download) - annotate - [select for diffs], Sun Aug 22 18:40:11 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.80.2.2: +9 -11 lines
Diff to previous 1.80.2.2 (colored) to branchpoint 1.80 (colored) to selected 1.77.2.7 (colored)

Use designated initialiers in iic_attach().

Revision 1.80.2.2 / (download) - annotate - [select for diffs], Mon Aug 9 01:09:41 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.80.2.1: +4 -3 lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored) to selected 1.77.2.7 (colored)

In iic_close(), mark the "sc" variable as __diagused.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:09 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.80: +364 -172 lines
Diff to previous 1.80 (colored) to selected 1.77.2.7 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:11 2021 UTC (2 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base
Branch point for: thorpej-i2c-spi-conf2
Changes since 1.79: +6 -8 lines
Diff to previous 1.79 (colored) to selected 1.77.2.7 (colored)

Merge thorpej-cfargs2.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Wed Aug 4 18:53:26 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.79: +6 -8 lines
Diff to previous 1.79 (colored) next main 1.80 (colored) to selected 1.77.2.7 (colored)

Adapt to CFARGS().

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jun 21 03:12:54 2021 UTC (2 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored) to selected 1.77.2.7 (colored)

fix proplib deprecation

Revision 1.78.2.7 / (download) - annotate - [select for diffs], Tue May 18 23:26:46 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78.2.6: +4 -5 lines
Diff to previous 1.78.2.6 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored) to selected 1.77.2.7 (colored)

Correct a comment.

Revision 1.78.2.6 / (download) - annotate - [select for diffs], Mon May 17 00:05:56 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78.2.5: +2 -4 lines
Diff to previous 1.78.2.5 (colored) to branchpoint 1.78 (colored) to selected 1.77.2.7 (colored)

Remove "count" from the device enumeration callback arguments.

Revision 1.78.2.5 / (download) - annotate - [select for diffs], Sun May 16 21:04:59 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78.2.4: +5 -3 lines
Diff to previous 1.78.2.4 (colored) to branchpoint 1.78 (colored) to selected 1.77.2.7 (colored)

Check for errors from iic_acquire_bus() in iic_ioctl_exec().

Revision 1.78.2.4 / (download) - annotate - [select for diffs], Sun May 16 21:03:38 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78.2.3: +41 -15 lines
Diff to previous 1.78.2.3 (colored) to branchpoint 1.78 (colored) to selected 1.77.2.7 (colored)

- Set D_MCLOSE in the iic_cdevsw so that we get a d_close call for
  each close so that the module ref counting works properly.
- Rearrange things a little to avoid holding the iic_mtx a long as
  previously done.

Revision 1.78.2.3 / (download) - annotate - [select for diffs], Sun May 16 04:40:08 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78.2.2: +238 -33 lines
Diff to previous 1.78.2.2 (colored) to branchpoint 1.78 (colored) to selected 1.77.2.7 (colored)

Rather than allocating 8KB (!!) of space per i2c bus for a sparsely
populated array of child devices, use a sorted list instead, optimized
a bit for the common usage pattern.

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Sat May 8 11:34:38 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78.2.1: +6 -3 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) to selected 1.77.2.7 (colored)

iic_print_direct(): In the "not configured" case, parenthetically print
the first element of the compat list, if we got a compat list.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sun Apr 25 21:45:15 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78: +93 -134 lines
Diff to previous 1.78 (colored) to selected 1.77.2.7 (colored)

Stop using a prop_array of child device data to perform direct
configuration of i2c devices.  Instead, introduce and use a new
device call "i2c-enumerate-devices" that can be implemented by
devhandle providers that have I2C bindings.  This device call
gathers up the data into i2c_attach_args and invoked a callback
(back to the i2c layer) to attach the device.  The I2C controller
device supplies its devhandle (or the appropriate devhandle for
the I2C bus) when attaching the i2c bus instance using CFARG_DEVHANDLE.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:54 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.77: +12 -8 lines
Diff to previous 1.77 (colored) to selected 1.77.2.7 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.77.2.8 / (download) - annotate - [select for diffs], Mon Apr 5 01:27:59 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.77.2.7: +3 -3 lines
Diff to previous 1.77.2.7 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

config_match() -> config_probe().  It's a little over-loaded here because
we're mixing direct and indirect in the same place, but that will be
addresed at a later time.

Revision 1.77.2.7 / (download) - annotate - [selected], Sun Apr 4 22:01:22 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.77.2.6: +3 -3 lines
Diff to previous 1.77.2.6 (colored) to branchpoint 1.77 (colored)

CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:44 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.75: +23 -6 lines
Diff to previous 1.75 (colored) next main 1.76 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.77.2.6 / (download) - annotate - [select for diffs], Sat Apr 3 01:57:17 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.77.2.5: +3 -3 lines
Diff to previous 1.77.2.5 (colored) to branchpoint 1.77 (colored) to selected 1.77.2.7 (colored)

Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.

Revision 1.77.2.5 / (download) - annotate - [select for diffs], Sun Mar 28 20:02:29 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.77.2.4: +2 -3 lines
Diff to previous 1.77.2.4 (colored) to branchpoint 1.77 (colored) to selected 1.77.2.7 (colored)

"iic" only has a single interface attribute, so no need to be explicit.

Revision 1.77.2.4 / (download) - annotate - [select for diffs], Mon Mar 22 16:23:44 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.77.2.3: +2 -3 lines
Diff to previous 1.77.2.3 (colored) to branchpoint 1.77 (colored) to selected 1.77.2.7 (colored)

Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.

Revision 1.77.2.3 / (download) - annotate - [select for diffs], Mon Mar 22 02:01:00 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.77.2.2: +7 -5 lines
Diff to previous 1.77.2.2 (colored) to branchpoint 1.77 (colored) to selected 1.77.2.7 (colored)

Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.

Revision 1.77.2.2 / (download) - annotate - [select for diffs], Sun Mar 21 19:06:19 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.77.2.1: +3 -2 lines
Diff to previous 1.77.2.1 (colored) to branchpoint 1.77 (colored) to selected 1.77.2.7 (colored)

In "rescan" routines, always pass locators and the interface attribute
straight through to config_search().  Also, for devices that carry only
one interface attribute, no need to do an ifattr_match(), because
rescan_with_cfdata() will have already validated that the parent is
eligible, which includes an interface attribute check.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Sat Mar 20 19:33:40 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.77: +6 -3 lines
Diff to previous 1.77 (colored) to selected 1.77.2.7 (colored)

The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
  tag-value variadic arguments that can be passed to the various
  config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
  for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
  variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
  Noticed several incorrect usages along the way, which will be
  audited in a future commit.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jan 25 12:18:18 2021 UTC (3 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.76: +7 -2 lines
Diff to previous 1.76 (colored) to selected 1.77.2.7 (colored)

Add support for ACPI-based I2C mux attachment.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Jan 18 15:28:21 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.75: +18 -6 lines
Diff to previous 1.75 (colored) to selected 1.77.2.7 (colored)

Change the device_compatible_match() function to only perform the match.
Introduce a device_compatible_lookup() function to return an entry based
on the same matching criteria (a'la of_search_compatible()).

Update iic_compatible_match() to reflect the above change, and introduce
iic_compatible_lookup().  This pattern is less awkward to use.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jul 7 16:14:23 2020 UTC (3 years, 8 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.74: +14 -13 lines
Diff to previous 1.74 (colored) to selected 1.77.2.7 (colored)

whitelist -> permitlist

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jun 12 03:32:30 2020 UTC (3 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.73: +7 -8 lines
Diff to previous 1.73 (colored) to selected 1.77.2.7 (colored)

i2c-indirect-config == false  -->  i2c-no-indirect-config == true

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jun 11 02:39:30 2020 UTC (3 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.72: +8 -8 lines
Diff to previous 1.72 (colored) to selected 1.77.2.7 (colored)

Update for proplib(3) API changes.

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:05 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.66.2.1: +5 -14 lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.77.2.7 (colored)

Merge changes from current as of 20200406

Revision 1.72 / (download) - annotate - [select for diffs], Mon Dec 23 18:27:11 2019 UTC (4 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) to selected 1.77.2.7 (colored)

No need to use I2C_F_POLL here.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Dec 22 23:23:32 2019 UTC (4 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.70: +2 -6 lines
Diff to previous 1.70 (colored) to selected 1.77.2.7 (colored)

Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus().  "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.

Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Sat Dec 14 12:29:13 2019 UTC (4 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.69: +4 -9 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.77.2.7 (colored)

Pull up following revision(s) (requested by mlelstev in ticket #552):

	sys/dev/i2c/i2c.c: revision 1.70

Revert previous. Indirect matches are not wanted on platforms that
use external configuration data (FDT or OF).

Revision 1.70 / (download) - annotate - [select for diffs], Thu Dec 5 06:28:09 2019 UTC (4 years, 3 months ago) by mlelstv
Branch: MAIN
Changes since 1.69: +4 -9 lines
Diff to previous 1.69 (colored) to selected 1.77.2.7 (colored)

Revert previous. Indirect matches are not wanted on platforms that
use external configuration data (FDT or OF).

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:09 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.66: +11 -6 lines
Diff to previous 1.66 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Tue Mar 26 09:20:38 2019 UTC (5 years ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.68: +8 -4 lines
Diff to previous 1.68 (colored) to selected 1.77.2.7 (colored)

touch match_result only on success.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:41 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored) to selected 1.77.2.7 (colored)

Merge the [pgoyette-compat] branch

Revision 1.57.2.4 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:48 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.57.2.3: +5 -4 lines
Diff to previous 1.57.2.3 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.67 / (download) - annotate - [select for diffs], Sun Dec 9 19:21:16 2018 UTC (5 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.66: +5 -4 lines
Diff to previous 1.66 (colored) to selected 1.77.2.7 (colored)

try to detach on shutdown; for now the only practical reason is to test that
the driver detach paths work

Revision 1.57.2.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:44 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.57.2.2: +14 -21 lines
Diff to previous 1.57.2.2 (colored) to branchpoint 1.57 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Tue Jun 26 06:34:55 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.65: +3 -9 lines
Diff to previous 1.65 (colored) to selected 1.77.2.7 (colored)

Remove the i2c "size" locator and corresponding property / attach arg.
It was a hack meant only for EEPROMs, which have another way to specify
size in the config directive ("flag" paramter), as well as a better way
to detect size based on "compatible" string.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jun 26 04:32:35 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.64: +13 -14 lines
Diff to previous 1.64 (colored) to selected 1.77.2.7 (colored)

Change device_compatible_match() and iic_compatible_match() to return
the weighted match value and take an optional compatible-entry pointer,
rather than the other way around.

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.57.2.1: +282 -34 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jun 22 15:52:00 2018 UTC (5 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.63: +4 -3 lines
Diff to previous 1.63 (colored) to selected 1.77.2.7 (colored)

iic_use_direct_match(): when iic_compatible_match() does not find a
comptible entry, set match quality to 0. Otherwise callers might use
random stack garbage.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jun 18 17:07:07 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.62: +29 -31 lines
Diff to previous 1.62 (colored) to selected 1.77.2.7 (colored)

- Rename iic_compat_match() to iic_compatible_match() and change it
  to use the new device_compatible_match() routine.  A pointer to
  the matching device_compatible_entry is returned if a match is
  found.
- Adjust iic_use_direct_match() accordingly.
- i2c drivers now provide device_compatible_entry tables when performing
  direct-config matching.
- In the dsrtc driver, take advantage of this new capability to greatly
  simplify model selection.

(I'm coming for you next, of_compat_data...)

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jun 16 21:22:13 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.61: +69 -19 lines
Diff to previous 1.61 (colored) to selected 1.77.2.7 (colored)

More cleanup to i2c autoconfiguration:

- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
  all of the logic for direct-config matching.  If it returns true,
  the driver returns the match result (which may be 0).  If it returns
  false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
  lower-indexed "compatible" device property are more-specific matches,
  and return a better match quality accordingly.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Jun 7 13:30:49 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.60: +213 -14 lines
Diff to previous 1.60 (colored) to selected 1.77.2.7 (colored)

Changes / enhancements to i2c indirect device auto-configuration:

ãàiic_search() chooses a ãà×Ñrobe strategyãàbased on the
  "i2c-indirect-probe-strategyãàproperty on the ãà×Êicãàinstance.
  Valid values are "smbus-quick-writeãà "smbus-receive-byteãà and
  ãà×Ïoneãà  If no value is specified, the default is "smbus-quick-writeãà

ãàIf the "i2c-indirect-device-whitelistãàexists on the ãà×Êicãàinstance,
  iic_search() will first check the driver name in the cfdata_t against
  this list, and only allow the match/probe to move forward if the
  cfdata_t driver name is in the list.  This is primarily to accommodate
  the Intel integrated memory controller neutered-i2c-thing.

ãàIf the cfdata_t specifies a wildcard address, each address of the i2c
  bus will be consulted.  If the cfdata_t contains a nailed-down address,
  then we limit the bus scan to that specific address.

ãàWe explicitly skip reserved / special i2c addresses, such as the
  General-Call address, etc.

ãàWe introduce the notion of a ãà×Îatch qualityãàfor i2c drivers.  From
  lowest-quality to highest-quality: matched by plausible address only,
  matched by plausible address and poking at the bus to see if the
  device looks reasonable, matched by direct-config ãà×Äompatibleãàstring,
  matched by direct-config ãà×Åriver nameãàstring.

ãàIf the ãà×Îatch qualityãàis merely ãà×Ñlausible address onlyãà then
  iic_search() will use the probe strategy selected above to see if
  a device responds to that address.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jun 7 05:56:18 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.59: +12 -211 lines
Diff to previous 1.59 (colored) to selected 1.77.2.7 (colored)

Back out unintended commits.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 7 05:54:23 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +213 -14 lines
Diff to previous 1.58 (colored) to selected 1.77.2.7 (colored)

Adjust come defaults:
- Initial gain -> 16x
- auto_gain -> true

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:05 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.57: +14 -5 lines
Diff to previous 1.57 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Tue May 15 02:02:18 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: pgoyette-compat-0521
Changes since 1.57: +14 -5 lines
Diff to previous 1.57 (colored) to selected 1.77.2.7 (colored)

Fix a problem reported by jmcneill@ where by a system with multuple i2c
busses would end up with "ghost" device instances on the second bus.  This
issue was previously masked on ARM systems by the empty-child-devices
array issue fixed recently (that effectively blocked all indirect config
of i2c busses on those systems).

To fix this problem, we require that indirectly-configured devices have
to fully specify their parent spec and address, e.g.:

foo* at iic0 addr 0x55

NOT

foo* at iic? addr ?

or even:

foo* at iic? addr 0x55

This is needed because of how indirect configuration works... attach
directives in the kernel config file are enumerated, calling the bus's
search routine, which in the case of i2c, enumerates all i2c addresses
and calls the match routine for each address.  Because we can't always
reliably probe for i2c devices, we ended up with erroneous matches.

Direct configuration of i2c is still allowed to use wildcarded parent specs
and locators.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Dec 10 16:53:32 2017 UTC (6 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.56: +4 -2 lines
Diff to previous 1.56 (colored) to selected 1.77.2.7 (colored)

For direct-config devices, pass the whole dictionary to the child as
ia_prop, so that chil drivers can look up device-specific properties.
Needed for the upcoming HID over I2C support, proposed on tech-kern@
on Dec, 1.

Revision 1.38.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:02 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.38.2.2: +94 -22 lines
Diff to previous 1.38.2.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored) to selected 1.77.2.7 (colored)

update from HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Sat Oct 28 04:53:55 2017 UTC (6 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.55: +3 -4 lines
Diff to previous 1.55 (colored) to selected 1.77.2.7 (colored)

Kill some more extern struct cfdriver declarations.

Down with externs in .c!

Revision 1.44.4.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:03 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.44.4.5: +2 -4 lines
Diff to previous 1.44.4.5 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:10 2017 UTC (6 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.54: +2 -4 lines
Diff to previous 1.54 (colored) to selected 1.77.2.7 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.54.6.2 / (download) - annotate - [select for diffs], Sat Apr 29 10:19:31 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.54.6.1: +1 -2 lines
Diff to previous 1.54.6.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.77.2.7 (colored)

Revise previous.  Rather than explicitly including <sys/localcount.h>
in all the places where {b,c}devsw is initialized, just include it
from <sys/conf.h>.  This avoids an include-sequence dependancy.

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Sat Apr 29 09:17:59 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored) to selected 1.77.2.7 (colored)

Add DEVSW_MODULE_INIT to existing device-driver modules, so that they
willl have a localcount defined and thus be permitted to load.  Without
a localcount, loading the module will return EINVAL.

XXX the dtrace and drm stuff might need to be fed back upstream?

Revision 1.44.4.5 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:41 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.44.4.4: +6 -6 lines
Diff to previous 1.44.4.4 (colored) to branchpoint 1.44 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:21 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.52: +6 -6 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jul 23 18:00:01 2016 UTC (7 years, 8 months ago) by jakllsch
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) to selected 1.77.2.7 (colored)

Use one more value from "locators.h", also make sure 'size' is initialized.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jul 23 17:42:37 2016 UTC (7 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.52: +6 -6 lines
Diff to previous 1.52 (colored) to selected 1.77.2.7 (colored)

Use values from "locators.h" when constructing locators array to be sure
of correct index;

Revision 1.44.4.4 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:02 2016 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.44.4.3: +3 -3 lines
Diff to previous 1.44.4.3 (colored) to branchpoint 1.44 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jun 7 01:06:27 2016 UTC (7 years, 9 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-localcount-base, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) to selected 1.77.2.7 (colored)

Create separate modules for i2c_bitbang and bpf_filter so these files
can be included in kernels which need them without also duplicating
them in other modules.  Removes the duplicate symbols I found which
prevented loading i2c and bpf modules after having fixed PR 45125.

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:49 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.44.4.2: +74 -10 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.51 / (download) - annotate - [select for diffs], Sun Dec 13 17:14:56 2015 UTC (8 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.50: +13 -7 lines
Diff to previous 1.50 (colored) to selected 1.77.2.7 (colored)

allow child devices to be passed in attach args instead of device dictionary

Revision 1.50 / (download) - annotate - [select for diffs], Thu Dec 10 05:33:28 2015 UTC (8 years, 3 months ago) by pgoyette
Branch: MAIN
Changes since 1.49: +63 -5 lines
Diff to previous 1.49 (colored) to selected 1.77.2.7 (colored)

When loaded as a non-built-in module, make sure we attach the cdevsw.
Without this, the i2c bus works but userland programs (such as
i2cscan(8)) cannot open /dev/iic*.

While we're here, add a ref-count to make sure that the device doesn't
get detached while it is open.

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:07 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.44.4.1: +3 -3 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Sat May 16 04:06:04 2015 UTC (8 years, 10 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.44.2.1: +4 -2 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.77.2.7 (colored)

Pull up following revision(s) (requested by maxv in ticket #761):
	sys/arch/sgimips/dev/scn.c: revision 1.8
	sys/arch/sgimips/mace/macekbc.c: revision 1.8
	sys/dev/hpc/hpcfb.c: revision 1.59
	sys/dev/i2c/i2c.c: revision 1.47
	sys/dev/ic/mfi.c: revision 1.57
	sys/dev/if_ndis/if_ndis_pci.c: revision 1.21
	sys/dev/sysmon/sysmon_power.c: revisions 1.50-1.52
	sys/dev/usb/umass_isdata.c: revision 1.31
fix double free, found by Brainy.
--
Free cmd on error if we allocated it.
Found by Brainy, reported by maxv@.
--
don't leak rl (but there are other leaks), found by Brainy.
--
Free ped if we can't hand it to the power daemon.
Found by Brainy, reported by maxv@.
--
don't forget to free the dictionary.
--
another missing free dict.
--
fix leak, found by Brainy.
--
don't malloc a tiny, fixed size buffer to scribble into, then not use it
and never free it either
found by Brainy
--
malloc() -> kmem_alloc() for private data, also kmem_free() them if we
don't finish attaching for whatever reason
found by Brainy

Revision 1.49 / (download) - annotate - [select for diffs], Mon Apr 13 22:26:20 2015 UTC (8 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.77.2.7 (colored)

Add required dependency on i2cexec

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:09 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.44: +18 -7 lines
Diff to previous 1.44 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Sat Apr 4 15:16:54 2015 UTC (8 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.47: +7 -11 lines
Diff to previous 1.47 (colored) to selected 1.77.2.7 (colored)

dedup code.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Apr 4 15:14:42 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.46: +4 -2 lines
Diff to previous 1.46 (colored) to selected 1.77.2.7 (colored)

Free cmd on error if we allocated it.

Found by Brainy, reported by maxv@.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Fri Jan 23 09:50:36 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-7
Changes since 1.44: +10 -3 lines
Diff to previous 1.44 (colored) to selected 1.77.2.7 (colored)

Pull up following revision(s) (requested by jakllsch in ticket #444):
	sys/dev/i2c/i2c.c: revision 1.46
More correctly handle I²Ã exec ioctls with both a command and write data
phase. Previously the data phase of ioctl writes was sending uninitialized
kernel stack to the addressed device.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jan 22 17:56:35 2015 UTC (9 years, 2 months ago) by jakllsch
Branch: MAIN
Changes since 1.45: +10 -3 lines
Diff to previous 1.45 (colored) to selected 1.77.2.7 (colored)

More correctly handle I²C exec ioctls with both a command and write data
phase. Previously the data phase of ioctl writes was sending uninitialized
kernel stack to the addressed device.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Dec 7 00:32:35 2014 UTC (9 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.44: +8 -2 lines
Diff to previous 1.44 (colored) to selected 1.77.2.7 (colored)

Let kernel config override I2C_MAX_ADDR

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:37 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.38.2.1: +34 -15 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) to selected 1.77.2.7 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:51 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.77.2.7 (colored)

Rebase.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:37 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored) to selected 1.77.2.7 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:21 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.37.2.1: +34 -15 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.77.2.7 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.39.2.1: +22 -9 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.77.2.7 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:27 2014 UTC (10 years ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.42: +13 -4 lines
Diff to previous 1.42 (colored) to selected 1.77.2.7 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Sep 24 18:04:53 2013 UTC (10 years, 6 months ago) by jdc
Branch: MAIN
Changes since 1.41: +10 -5 lines
Diff to previous 1.41 (colored) to selected 1.77.2.7 (colored)

Add a property "i2c-indirect-config" to allow/disallow i2c indirect config.
If missing, "allowed" is assumed.  Set it to false for OFW machines.
Patch from martin@.  Removes erroneous i2c probe messages that appeared with
wildcard support.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Sep 12 20:20:03 2013 UTC (10 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.40: +3 -4 lines
Diff to previous 1.40 (colored) to selected 1.77.2.7 (colored)

Remove unused variable

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:25 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.39: +13 -8 lines
Diff to previous 1.39 (colored) to selected 1.77.2.7 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Wed Aug 7 19:38:45 2013 UTC (10 years, 7 months ago) by soren
Branch: MAIN
Changes since 1.39: +13 -8 lines
Diff to previous 1.39 (colored) to selected 1.77.2.7 (colored)

Allow i2c addr wildcard matching. Use with care!

Revision 1.39.6.1 / (download) - annotate - [select for diffs], Fri May 10 01:10:03 2013 UTC (10 years, 10 months ago) by khorben
Branch: khorben-n900
Changes since 1.39: +12 -2 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.77.2.7 (colored)

Added two locators for I2C devices: "intr" and "intrbase".

They are required to allow the TPS65950 companion chip to both handle its
interrupts on the system, and allow its extra GPIO pins to be used as
interrupts as well.

XXX This change is not adequate because intr_establish() is a MD interface,
    so it will have to be re-designed before merging to the main tree.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:13 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored) to selected 1.77.2.7 (colored)

resync with head

Revision 1.39 / (download) - annotate - [select for diffs], Sun Feb 3 16:28:51 2013 UTC (11 years, 1 month ago) by jdc
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Branch point for: rmind-smpnet, khorben-n900
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored) to selected 1.77.2.7 (colored)

Also set ia.ia_size from size when doing direct config.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:30 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored) to selected 1.77.2.7 (colored)

sync with head

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:25 2012 UTC (11 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.77.2.7 (colored)

sync to latest -current.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 14 02:57:10 2012 UTC (12 years ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored) to selected 1.77.2.7 (colored)

Don't try to match a device if there's already a device attached at
the specified address.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Oct 11 15:19:09 2011 UTC (12 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.36: +2 -6 lines
Diff to previous 1.36 (colored) to selected 1.77.2.7 (colored)

remove spurious warning about duplicate devices when using info from MD
code ( like OpenFirmware )
ok jmcneill

Revision 1.36 / (download) - annotate - [select for diffs], Mon Oct 3 23:53:04 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.35: +8 -2 lines
Diff to previous 1.35 (colored) to selected 1.77.2.7 (colored)

iic_ioctl_exec: if the i2c controller's "exec" function uses -1 instead of
an error code to report failure, convert it to EIO.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Oct 3 22:27:23 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.34: +2 -12 lines
Diff to previous 1.34 (colored) to selected 1.77.2.7 (colored)

fix build for kernels with i2c host controller drivers but no iic(4)
driver present

Revision 1.34 / (download) - annotate - [select for diffs], Sun Oct 2 21:12:43 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.33: +13 -4 lines
Diff to previous 1.33 (colored) to selected 1.77.2.7 (colored)

iic_ioctl_exec: initialize cmd before using it

Revision 1.33 / (download) - annotate - [select for diffs], Sun Oct 2 18:58:45 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.32: +65 -12 lines
Diff to previous 1.32 (colored) to selected 1.77.2.7 (colored)

add support for detaching iic(4)

Revision 1.32 / (download) - annotate - [select for diffs], Sun Oct 2 17:39:40 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.31: +7 -4 lines
Diff to previous 1.31 (colored) to selected 1.77.2.7 (colored)

I2C_IOCTL_EXEC: only allow i2c write ops if the device was opened for writing

Revision 1.31 / (download) - annotate - [select for diffs], Sun Oct 2 16:39:47 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.30: +91 -69 lines
Diff to previous 1.30 (colored) to selected 1.77.2.7 (colored)

Install dev/i2c/i2c_io.h and implement the API in the iic(4) driver.
Obsolete the I2C_SCAN option as this can now be done from userland.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Oct 2 12:25:40 2011 UTC (12 years, 5 months ago) by mbalmer
Branch: MAIN
Changes since 1.29: +4 -5 lines
Diff to previous 1.29 (colored) to selected 1.77.2.7 (colored)

Consistent use of 'return'.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 2 12:13:08 2011 UTC (12 years, 5 months ago) by mbalmer
Branch: MAIN
Changes since 1.28: +2 -0 lines
Diff to previous 1.28 (colored) to selected 1.77.2.7 (colored)

Build iic(4) and gpioiic(4) as modules.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 2 11:38:48 2011 UTC (12 years, 5 months ago) by mbalmer
Branch: MAIN
Changes since 1.27: +40 -5 lines
Diff to previous 1.27 (colored) to selected 1.77.2.7 (colored)

ii2c can be built as module.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Aug 2 18:46:35 2011 UTC (12 years, 7 months ago) by pgoyette
Branch: MAIN
Changes since 1.26: +27 -5 lines
Diff to previous 1.26 (colored) to selected 1.77.2.7 (colored)

Prevent multiple attachments at the same i2c address.

OK jmcneill@

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 31 15:58:25 2011 UTC (12 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.25: +12 -5 lines
Diff to previous 1.25 (colored) to selected 1.77.2.7 (colored)

add rescan support

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:11 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.23: +133 -7 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:27 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.19.4.2: +133 -7 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.77.2.7 (colored)

sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 1 17:35:21 2010 UTC (14 years, 1 month ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.24: +6 -2 lines
Diff to previous 1.24 (colored) to selected 1.77.2.7 (colored)

Do initialise i2c_attach_args new members, for indirect configuration
too.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 28 11:34:42 2010 UTC (14 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.23: +129 -7 lines
Diff to previous 1.23 (colored) to selected 1.77.2.7 (colored)

Generic (device property based) framework for optional direct configuration
of i2c devices, as discussed on tech-kern.

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:39 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.19.4.1: +48 -7 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:44 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.22: +45 -8 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 3 16:41:31 2009 UTC (15 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Branch point for: uebayasi-xip
Changes since 1.22: +45 -8 lines
Diff to previous 1.22 (colored) to selected 1.77.2.7 (colored)

Change the i2c bus scan routine to use the write_quick protocol for most
addresses, rather than trying to read a byte of data from the device.

Some devices don't like to be read from (certain clock devices are, I'm
told, write-only!), while others expect to be asked only for words (or
pairs of bytes).

While here, skip a bunch of i2c addresses that can't (or at the very
least, shouldn't) have any slave devices.

This is the only use in NetBSD of the quick_read/quick_write protocol,
and it remains disabled by default.  I've updated all the generic i2c
drivers to handle the quick_* protocols, but several port-specific
drivers have not been updated since I'm in no position to verify that
the changes work.  Assistance from sandpoint, arm/xscale, evbarm/gumstix,
mips/alchemy, and macppc would be greatly appreciated.

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:25 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.20: +7 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:30:58 2008 UTC (15 years, 5 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.20.2.1: +5 -2 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.18.8.3 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:29 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.18.8.2: +3 -0 lines
Diff to previous 1.18.8.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 29 22:55:08 2008 UTC (15 years, 6 months ago) by pgoyette
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.21: +5 -2 lines
Diff to previous 1.21 (colored) to selected 1.77.2.7 (colored)

When scanning i2c bus for responding devices, skip over the multicast
i2c Alert Response Address.  Skipping this won't hurt (the address is
allegedly reserved), and it might avoid the lock-ups that have been
seen by others.

Revision 1.18.8.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:21 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.18.8.1: +2 -1 lines
Diff to previous 1.18.8.1 (colored) to branchpoint 1.18 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:52 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored) to selected 1.77.2.7 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Sep 11 20:48:50 2008 UTC (15 years, 6 months ago) by pgoyette
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored) to selected 1.77.2.7 (colored)

Provide an option I2C_SCAN to enable sanning i2c bus for responses.  This
is disabled by default, preserving current behavior.

OK garbled@

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:17 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.18: +8 -11 lines
Diff to previous 1.18 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:38 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.19: +8 -11 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:01 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.19: +8 -11 lines
Diff to previous 1.19 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Sun May 4 15:26:29 2008 UTC (15 years, 10 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.19: +8 -11 lines
Diff to previous 1.19 (colored) to selected 1.77.2.7 (colored)

device_t/softc split and other related cosmetic changes.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 6 20:25:59 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.77.2.7 (colored)

use aprint_*_dev and device_xname

Revision 1.3.12.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:50 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.12.5: +7 -1 lines
Diff to previous 1.3.12.5 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.77.2.7 (colored)

sync with head

Revision 1.14.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:40 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.14.8.1: +13 -4 lines
Diff to previous 1.14.8.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.77.2.7 (colored)

sync with HEAD

Revision 1.15.6.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:04 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15.6.1: +7 -1 lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:11 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.16: +7 -1 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.77.2.7 (colored)

Sync with head.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:55:31 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:25:47 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-kmem
Changes since 1.16: +7 -1 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 11 12:09:21 2007 UTC (16 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored) to selected 1.77.2.7 (colored)

use __KERNEL_RCSID()

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:57 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: MAIN
Branch point for: bouyer-xeni386
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored) to selected 1.77.2.7 (colored)

Merge jmcneill-pm branch.

Revision 1.14.6.4 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:09 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.14.6.3: +2 -2 lines
Diff to previous 1.14.6.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.77.2.7 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.14.6.3 / (download) - annotate - [select for diffs], Fri Nov 23 21:01:04 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.14.6.2: +4 -1 lines
Diff to previous 1.14.6.2 (colored) to branchpoint 1.14 (colored) to selected 1.77.2.7 (colored)

Register with PM framework. i2c is by definition dumb so nothing to
do...

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:49 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15: +7 -4 lines
Diff to previous 1.15 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.3.12.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:07 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.12.4: +7 -4 lines
Diff to previous 1.3.12.4 (colored) to branchpoint 1.3 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:58 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.15: +7 -4 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 12 19:42:44 2007 UTC (16 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.15: +7 -4 lines
Diff to previous 1.15 (colored) to selected 1.77.2.7 (colored)

From jmcneill-pm: don't probe for I2C device. It has limited usefulness
and hangs a number of machines.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:26:10 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.14: +22 -1 lines
Diff to previous 1.14 (colored) to selected 1.77.2.7 (colored)

sync with HEAD

Revision 1.13.6.4 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:18 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.13.6.3: +22 -1 lines
Diff to previous 1.13.6.3 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.77.2.7 (colored)

Sync with head.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Wed Sep 5 12:23:13 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.14.6.1: +7 -4 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored) to selected 1.77.2.7 (colored)

Disable i2c scan, it's dangerous.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:54 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.14: +22 -1 lines
Diff to previous 1.14 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.3.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:34:03 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.12.3: +32 -19 lines
Diff to previous 1.3.12.3 (colored) to branchpoint 1.3 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:20:14 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.14: +22 -1 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 1 22:19:25 2007 UTC (16 years, 7 months ago) by riz
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Changes since 1.14: +22 -1 lines
Diff to previous 1.14 (colored) to selected 1.77.2.7 (colored)

For SMBus, add the ability to enumerate devices on the bus.
This does NOT identify the devices, merely indicates the
presence of devices at certain addresses.  Tested on ichsmb
and nfsmb - other SMBus devices will need to ensure the
proper bus type is set. (I2C_TYPE_SMBUS)

From Nicolas Joly, via Paul Goyette, in PR#36744.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:05:30 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.13: +11 -19 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.77.2.7 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:32 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.13: +11 -19 lines
Diff to previous 1.13 (colored) to selected 1.77.2.7 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.13.6.3 / (download) - annotate - [select for diffs], Sun May 13 17:36:24 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.13.6.2: +2 -2 lines
Diff to previous 1.13.6.2 (colored) to branchpoint 1.13 (colored) to selected 1.77.2.7 (colored)

- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Tue Apr 10 12:07:08 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.13.6.1: +11 -19 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored) to selected 1.77.2.7 (colored)

Nuke the deferred kthread creation stuff, as it's no longer needed.
Pointed out by thorpej@.

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Mon Apr 9 22:09:56 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.77.2.7 (colored)

- Add two new arguments to kthread_create1: pri_t pri, bool mpsafe.
- Fork kthreads off proc0 as new LWPs, not new processes.

Revision 1.3.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:02 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.12.2: +127 -1 lines
Diff to previous 1.3.12.2 (colored) to branchpoint 1.3 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Fri Feb 9 21:03:51 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.8.4.1: +127 -1 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 6 12:39:15 2007 UTC (17 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored) to selected 1.77.2.7 (colored)

Missing LIST_INIT. Pointed out by uebayasi@

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 5 23:56:13 2007 UTC (17 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored) to selected 1.77.2.7 (colored)

Remove debug printf accidentally added in last commit.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 5 23:31:37 2007 UTC (17 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.10: +126 -1 lines
Diff to previous 1.10 (colored) to selected 1.77.2.7 (colored)

Allow i2c child devices to register interrupt handlers to the smbus host
controller. Both interrupt context and process context type handlers are
supported.

Revision 1.3.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:00 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.12.1: +6 -8 lines
Diff to previous 1.3.12.1 (colored) to branchpoint 1.3 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:03 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.8.6.1: +7 -7 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:07 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored) to selected 1.77.2.7 (colored)

Sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:50 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored) to selected 1.77.2.7 (colored)

__unused removal on arguments; approved by core.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:43 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.8: +7 -6 lines
Diff to previous 1.8 (colored) to selected 1.77.2.7 (colored)

sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:58 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.8: +7 -6 lines
Diff to previous 1.8 (colored) to selected 1.77.2.7 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:51 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.5: +9 -8 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.77.2.7 (colored)

sync with head

Revision 1.5.8.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:10 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5.8.1: +3 -6 lines
Diff to previous 1.5.8.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.77.2.7 (colored)

sync with head

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:22 2006 UTC (17 years, 8 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.7: +3 -6 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.77.2.7 (colored)

Merge from HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 26 18:19:40 2006 UTC (17 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.7: +3 -6 lines
Diff to previous 1.7 (colored) to selected 1.77.2.7 (colored)

remove the "name" element from the i2cbus attach args, that's what
interface attributes are good for

Revision 1.3.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:51 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +8 -4 lines
Diff to previous 1.3 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:52 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.5: +7 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.77.2.7 (colored)

Sync with head.

Revision 1.5.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:24:35 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.5: +7 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.5.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:56 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5: +7 -3 lines
Diff to previous 1.5 (colored) to selected 1.77.2.7 (colored)

sync with head.

Revision 1.5.12.2 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:19 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.5.12.1: +2 -2 lines
Diff to previous 1.5.12.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.77.2.7 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 29 06:41:24 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, gdamore-uart-base, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.77.2.7 (colored)

Use device_private().

Revision 1.5.12.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:10 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored) to selected 1.77.2.7 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 27 23:59:38 2006 UTC (18 years ago) by jmcneill
Branch: MAIN
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored) to selected 1.77.2.7 (colored)

Implement a handful of missing smbus protocol functions. Proposed on
tech-kern: http://mail-index.netbsd.org/tech-kern/2006/03/16/0029.html

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:22 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored) to selected 1.77.2.7 (colored)

merge ktrace-lwp.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:04:00 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.4: +2 -2 lines
Diff to previous 1.2.2.4 (colored) next main 1.3 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD. Here we go again...

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 26 12:42:11 2005 UTC (18 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.77.2.7 (colored)

s/locdesc_t/int/g

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:27:46 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.3: +1 -1 lines
Diff to previous 1.2.2.3 (colored) to selected 1.77.2.7 (colored)

Fix the sync with head I botched.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:47 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.2: +4 -3 lines
Diff to previous 1.2.2.2 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 13 12:55:47 2004 UTC (19 years, 6 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored) to selected 1.77.2.7 (colored)

a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
 config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
 on "locators.h"

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:46:05 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.1: +118 -0 lines
Diff to previous 1.2.2.1 (colored) to selected 1.77.2.7 (colored)

Sync with HEAD

Revision 1.2.2.1, Sun May 16 11:42:28 2004 UTC (19 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +0 -118 lines
FILE REMOVED

file i2c.c was added on branch ktrace-lwp on 2004-08-03 10:46:05 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 16 11:42:28 2004 UTC (19 years, 10 months ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.77.2.7 (colored)

Fix typo in comment, reported by Alexander Yurchenko grange at rt mipt ru.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 30 00:35:31 2003 UTC (20 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to selected 1.77.2.7 (colored)

New generic I2C framework.  Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc.  Primarily written by Steve Woodford,
with some modification by me.

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.




CVSweb <webmaster@jp.NetBSD.org>