CVS log for src/sys/dev/i2c/i2c.c
Up to [cvs.NetBSD.org] / src / sys / dev / i2c
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Oct 24 10:17:40 2022 UTC (2 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +6 -11
lines
iic(4): Use config_detach_children to simplify.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Oct 24 10:17:27 2022 UTC (2 years, 1 month ago) by riastradh
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -136
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 23 03:05:27 2022 UTC (2 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +6 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 29 15:33:45 2022 UTC (2 years, 5 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +16 -10
lines
Allocate data buffer instead of using the stack.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Apr 1 15:49:12 2022 UTC (2 years, 8 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 28 12:33:21 2022 UTC (2 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -7
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 24 09:42:14 2022 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3
lines
remove double "with" in comments and usage text. Also fix one typo.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Jan 22 11:49:17 2022 UTC (2 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -4
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 21 15:55:36 2022 UTC (2 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3
lines
Replace devhandle_invalidate(), which invalidates a devhandle, with
devhandle_invalid(), which returns an invalid devhandle.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:34:31 2022 UTC (2 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +40 -4
lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 13 14:47:28 2021 UTC (3 years, 2 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.80.2.7: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.7: +2 -37
lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 12 22:02:19 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.80.2.6: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.6: +2 -3
lines
iic_devslot_remove(): remove an errant "return false;" (the result of
a paste-o).
Revision 1.80.2.6: download - view: text, markup, annotated - select for diffs
Sat Sep 11 01:03:18 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.80.2.5: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.5: +37 -2
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 10 15:45:28 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.80.2.4: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.4: +3 -7
lines
Remove unnecessary references to i2c_attach_args::ia_prop and mark the ones
that remain as XXX.
Revision 1.80.2.4: download - view: text, markup, annotated - select for diffs
Sun Aug 22 18:43:06 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.80.2.3: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.3: +3 -3
lines
In iic_devslot_reserve(), don't set a pointer to NULL before dereferencing
it in a KASSERT().
Revision 1.80.2.3: download - view: text, markup, annotated - select for diffs
Sun Aug 22 18:40:11 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.80.2.2: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.2: +9 -11
lines
Use designated initialiers in iic_attach().
Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 9 01:09:41 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.80.2.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.1: +4 -3
lines
In iic_close(), mark the "sc" variable as __diagused.
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 9 00:30:09 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +364 -172
lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:11 2021 UTC (3 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base
Branch point for: thorpej-i2c-spi-conf2
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +6 -8
lines
Merge thorpej-cfargs2.
Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 18:53:26 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +6 -8
lines
Adapt to CFARGS().
Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Jun 21 03:12:54 2021 UTC (3 years, 5 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3
lines
fix proplib deprecation
Revision 1.78.2.7: download - view: text, markup, annotated - select for diffs
Tue May 18 23:26:46 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.78.2.6: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.2.6: +4 -5
lines
Correct a comment.
Revision 1.78.2.6: download - view: text, markup, annotated - select for diffs
Mon May 17 00:05:56 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.78.2.5: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.5: +2 -4
lines
Remove "count" from the device enumeration callback arguments.
Revision 1.78.2.5: download - view: text, markup, annotated - select for diffs
Sun May 16 21:04:59 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.78.2.4: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.4: +5 -3
lines
Check for errors from iic_acquire_bus() in iic_ioctl_exec().
Revision 1.78.2.4: download - view: text, markup, annotated - select for diffs
Sun May 16 21:03:38 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.78.2.3: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.3: +41 -15
lines
- 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 - view: text, markup, annotated - select for diffs
Sun May 16 04:40:08 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.78.2.2: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.2: +238 -33
lines
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 - view: text, markup, annotated - select for diffs
Sat May 8 11:34:38 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.78.2.1: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.1: +6 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 25 21:45:15 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +93 -134
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:54 2021 UTC (3 years, 7 months ago) by thorpej
Branches: 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
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +12 -8
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 5 01:27:59 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.77.2.7: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.7: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 4 22:01:22 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.77.2.6: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.6: +3 -3
lines
CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +23 -6
lines
Sync with HEAD.
Revision 1.77.2.6: download - view: text, markup, annotated - select for diffs
Sat Apr 3 01:57:17 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.77.2.5: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.5: +3 -3
lines
Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
Revision 1.77.2.5: download - view: text, markup, annotated - select for diffs
Sun Mar 28 20:02:29 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.77.2.4: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.4: +2 -3
lines
"iic" only has a single interface attribute, so no need to be explicit.
Revision 1.77.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 22 16:23:44 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.77.2.3: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.3: +2 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 22 02:01:00 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.77.2.2: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.2: +7 -5
lines
Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.
Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 21 19:06:19 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 20 19:33:40 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +6 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 25 12:18:18 2021 UTC (3 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +7 -2
lines
Add support for ACPI-based I2C mux attachment.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Jan 18 15:28:21 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +18 -6
lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 7 16:14:23 2020 UTC (4 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +14 -13
lines
whitelist -> permitlist
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jun 12 03:32:30 2020 UTC (4 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +7 -8
lines
i2c-indirect-config == false --> i2c-no-indirect-config == true
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Jun 11 02:39:30 2020 UTC (4 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -8
lines
Update for proplib(3) API changes.
Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:05 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.66.2.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.1: +5 -14
lines
Merge changes from current as of 20200406
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Dec 23 18:27:11 2019 UTC (4 years, 11 months ago) by thorpej
Branches: 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
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
No need to use I2C_F_POLL here.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Dec 22 23:23:32 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -6
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 14 12:29:13 2019 UTC (4 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +4 -9
lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 5 06:28:09 2019 UTC (5 years ago) by mlelstv
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -9
lines
Revert previous. Indirect matches are not wanted on platforms that
use external configuration data (FDT or OF).
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:09 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +11 -6
lines
Sync with HEAD
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Mar 26 09:20:38 2019 UTC (5 years, 8 months ago) by mlelstv
Branches: 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
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +8 -4
lines
touch match_result only on success.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:41 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2
lines
Merge the [pgoyette-compat] branch
Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:48 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.57.2.3: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.3: +5 -4
lines
Sync with HEAD, resolve a few conflicts
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:21:16 2018 UTC (6 years ago) by jdolecek
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -4
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.2: +14 -21
lines
Sync with HEAD
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:34:55 2018 UTC (6 years, 5 months ago) by thorpej
Branches: 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
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -9
lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 26 04:32:35 2018 UTC (6 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +13 -14
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +282 -34
lines
Sync with HEAD
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Jun 22 15:52:00 2018 UTC (6 years, 5 months ago) by martin
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 18 17:07:07 2018 UTC (6 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +29 -31
lines
- 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 - view: text, markup, annotated - select for diffs
Sat Jun 16 21:22:13 2018 UTC (6 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +69 -19
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 7 13:30:49 2018 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +213 -14
lines
Changes / enhancements to i2c indirect device auto-configuration:
— iic_search() chooses a “probe strategy†based on the
"i2c-indirect-probe-strategy†property on the “iic†instance.
Valid values are "smbus-quick-writeâ€, "smbus-receive-byteâ€, and
“noneâ€. If no value is specified, the default is "smbus-quick-writeâ€.
— If the "i2c-indirect-device-whitelist†exists on the “iic†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 “match 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 “compatible†string,
matched by direct-config “driver name†string.
— If the “match quality†is merely “plausible 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 - view: text, markup, annotated - select for diffs
Thu Jun 7 05:56:18 2018 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +12 -211
lines
Back out unintended commits.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Jun 7 05:54:23 2018 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +213 -14
lines
Adjust come defaults:
- Initial gain -> 16x
- auto_gain -> true
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:05 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +14 -5
lines
Sync with HEAD
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue May 15 02:02:18 2018 UTC (6 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: pgoyette-compat-0521
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +14 -5
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 10 16:53:32 2017 UTC (7 years ago) by bouyer
Branches: 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
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:02 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.38.2.2: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.2: +94 -22
lines
update from HEAD
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Oct 28 04:53:55 2017 UTC (7 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -4
lines
Kill some more extern struct cfdriver declarations.
Down with externs in .c!
Revision 1.44.4.6: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:03 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.44.4.5: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.4.5: +2 -4
lines
Sync with HEAD
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:10 2017 UTC (7 years, 6 months ago) by chs
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
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
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -4
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 29 10:19:31 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.54.6.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.6.1: +1 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 29 09:17:59 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:41 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.44.4.4: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.4: +6 -6
lines
Sync with HEAD
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:21 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +6 -6
lines
Sync with HEAD
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Jul 23 18:00:01 2016 UTC (8 years, 4 months ago) by jakllsch
Branches: 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
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3
lines
Use one more value from "locators.h", also make sure 'size' is initialized.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jul 23 17:42:37 2016 UTC (8 years, 4 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -6
lines
Use values from "locators.h" when constructing locators array to be sure
of correct index;
Revision 1.44.4.4: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:02 2016 UTC (8 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.44.4.3: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.3: +3 -3
lines
Sync with HEAD
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jun 7 01:06:27 2016 UTC (8 years, 6 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-localcount-base,
nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:49 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.44.4.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.2: +74 -10
lines
Sync with HEAD (as of 26th Dec)
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Dec 13 17:14:56 2015 UTC (9 years ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +13 -7
lines
allow child devices to be passed in attach args instead of device dictionary
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Dec 10 05:33:28 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +63 -5
lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:07 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.44.4.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.1: +3 -3
lines
Sync with HEAD
Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Sat May 16 04:06:04 2015 UTC (9 years, 7 months ago) by snj
Branches: 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
Diff to: previous 1.44.2.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.1: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 22:26:20 2015 UTC (9 years, 8 months ago) by pgoyette
Branches: MAIN
CVS tags: nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
Add required dependency on i2cexec
Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:09 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +18 -7
lines
Sync with HEAD
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Apr 4 15:16:54 2015 UTC (9 years, 8 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -11
lines
dedup code.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Apr 4 15:14:42 2015 UTC (9 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -2
lines
Free cmd on error if we allocated it.
Found by Brainy, reported by maxv@.
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 23 09:50:36 2015 UTC (9 years, 10 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +10 -3
lines
Pull up following revision(s) (requested by jakllsch in ticket #444):
sys/dev/i2c/i2c.c: revision 1.46
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.46: download - view: text, markup, annotated - select for diffs
Thu Jan 22 17:56:35 2015 UTC (9 years, 10 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +10 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 7 00:32:35 2014 UTC (10 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -2
lines
Let kernel config override I2C_MAX_ADDR
Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:37 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.1: +34 -15
lines
Rebase to HEAD as of a few days ago.
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:51 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -2
lines
Rebase.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:37 2014 UTC (10 years, 4 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base,
netbsd-7-base
Branch point for: nick-nhusb,
netbsd-7
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu May 22 11:40:21 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +34 -15
lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.39.2.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.1: +22 -9
lines
sync with head
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:27 2014 UTC (10 years, 9 months ago) by dholland
Branches: 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
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +13 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 24 18:04:53 2013 UTC (11 years, 2 months ago) by jdc
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +10 -5
lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 12 20:20:03 2013 UTC (11 years, 3 months ago) by martin
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -4
lines
Remove unused variable
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:25 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +13 -8
lines
sync with head
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Aug 7 19:38:45 2013 UTC (11 years, 4 months ago) by soren
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +13 -8
lines
Allow i2c addr wildcard matching. Use with care!
Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Fri May 10 01:10:03 2013 UTC (11 years, 7 months ago) by khorben
Branches: khorben-n900
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +12 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:13 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2
lines
resync with head
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Feb 3 16:28:51 2013 UTC (11 years, 10 months ago) by jdc
Branches: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2
lines
Also set ia.ia_size from size when doing direct config.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:30 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6
lines
sync with head
Revision 1.37.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:25 2012 UTC (12 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +6 -6
lines
sync to latest -current.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Mar 14 02:57:10 2012 UTC (12 years, 9 months ago) by pgoyette
Branches: 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6
lines
Don't try to match a device if there's already a device attached at
the specified address.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Oct 11 15:19:09 2011 UTC (13 years, 2 months ago) by macallan
Branches: 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
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -6
lines
remove spurious warning about duplicate devices when using info from MD
code ( like OpenFirmware )
ok jmcneill
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Oct 3 23:53:04 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 3 22:27:23 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -12
lines
fix build for kernels with i2c host controller drivers but no iic(4)
driver present
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Oct 2 21:12:43 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +13 -4
lines
iic_ioctl_exec: initialize cmd before using it
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Oct 2 18:58:45 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +65 -12
lines
add support for detaching iic(4)
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Oct 2 17:39:40 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -4
lines
I2C_IOCTL_EXEC: only allow i2c write ops if the device was opened for writing
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Oct 2 16:39:47 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +91 -69
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 2 12:25:40 2011 UTC (13 years, 2 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -5
lines
Consistent use of 'return'.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Oct 2 12:13:08 2011 UTC (13 years, 2 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -0
lines
Build iic(4) and gpioiic(4) as modules.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 2 11:38:48 2011 UTC (13 years, 2 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +40 -5
lines
ii2c can be built as module.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Aug 2 18:46:35 2011 UTC (13 years, 4 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +27 -5
lines
Prevent multiple attachments at the same i2c address.
OK jmcneill@
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jul 31 15:58:25 2011 UTC (13 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -5
lines
add rescan support
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:11 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +133 -7
lines
Sync with HEAD.
Revision 1.19.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:27 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.4.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.4.2: +133 -7
lines
sync with head
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Mar 1 17:35:21 2010 UTC (14 years, 9 months ago) by njoly
Branches: 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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +6 -2
lines
Do initialise i2c_attach_args new members, for indirect configuration
too.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Feb 28 11:34:42 2010 UTC (14 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +129 -7
lines
Generic (device property based) framework for optional direct configuration
of i2c devices, as discussed on tech-kern.
Revision 1.19.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:39 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.4.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.4.1: +48 -7
lines
sync with head.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:44 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +45 -8
lines
Sync with HEAD.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Feb 3 16:41:31 2009 UTC (15 years, 10 months ago) by pgoyette
Branches: 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
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +45 -8
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:25 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +7 -3
lines
Sync with HEAD.
Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:30:58 2008 UTC (16 years, 2 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.1: +5 -2
lines
Sync with HEAD.
Revision 1.18.8.3: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:11:29 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18.8.2: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.8.2: +3 -0
lines
Sync with HEAD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Sep 29 22:55:08 2008 UTC (16 years, 2 months ago) by pgoyette
Branches: 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
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:21 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18.8.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.8.1: +2 -1
lines
Sync with HEAD.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:38:52 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -3
lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Sep 11 20:48:50 2008 UTC (16 years, 3 months ago) by pgoyette
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:17 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -11
lines
Sync with HEAD.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:38 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +8 -11
lines
sync with head.
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:01 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +8 -11
lines
sync with head.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun May 4 15:26:29 2008 UTC (16 years, 7 months ago) by xtraeme
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +8 -11
lines
device_t/softc split and other related cosmetic changes.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Apr 6 20:25:59 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
use aprint_*_dev and device_xname
Revision 1.3.12.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:50 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.12.5: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.12.5: +7 -1
lines
sync with head
Revision 1.14.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:40 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.14.8.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.8.1: +13 -4
lines
sync with HEAD
Revision 1.15.6.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:04 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.15.6.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.6.1: +7 -1
lines
Sync with HEAD.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:46:11 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +7 -1
lines
Sync with head.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:55:31 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -1
lines
Sync with HEAD
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:25:47 2007 UTC (17 years ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +7 -1
lines
sync with head.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Dec 11 12:09:21 2007 UTC (17 years ago) by lukem
Branches: 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1
lines
use __KERNEL_RCSID()
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:27:57 2007 UTC (17 years ago) by jmcneill
Branches: MAIN
Branch point for: bouyer-xeni386
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -1
lines
Merge jmcneill-pm branch.
Revision 1.14.6.4: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:09 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.14.6.3: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.3: +2 -2
lines
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.14.6.3: download - view: text, markup, annotated - select for diffs
Fri Nov 23 21:01:04 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.14.6.2: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.2: +4 -1
lines
Register with PM framework. i2c is by definition dumb so nothing to
do...
Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:49 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -4
lines
Sync with HEAD.
Revision 1.3.12.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:07 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.12.4: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.12.4: +7 -4
lines
sync with head.
Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:00:58 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +7 -4
lines
Sync with HEAD
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Nov 12 19:42:44 2007 UTC (17 years, 1 month ago) by joerg
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 23:26:10 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +22 -1
lines
sync with HEAD
Revision 1.13.6.4: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:18 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13.6.3: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.3: +22 -1
lines
Sync with head.
Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Wed Sep 5 12:23:13 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.1: +7 -4
lines
Disable i2c scan, it's dangerous.
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:54 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +22 -1
lines
Sync with HEAD.
Revision 1.3.12.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:34:03 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.12.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.12.3: +32 -19
lines
sync with head.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:14 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +22 -1
lines
Sync with HEAD.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Sep 1 22:19:25 2007 UTC (17 years, 3 months ago) by riz
Branches: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +22 -1
lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 11 20:05:30 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +11 -19
lines
Sync with head.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:32 2007 UTC (17 years, 5 months ago) by ad
Branches: 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
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -19
lines
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 - view: text, markup, annotated - select for diffs
Sun May 13 17:36:24 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13.6.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.2: +2 -2
lines
- 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 - view: text, markup, annotated - select for diffs
Tue Apr 10 12:07:08 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.1: +11 -19
lines
Nuke the deferred kthread creation stuff, as it's no longer needed.
Pointed out by thorpej@.
Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 22:09:56 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
- 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 - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:02 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.12.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.12.2: +127 -1
lines
sync with head.
Revision 1.8.4.2: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:03:51 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.8.4.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.4.1: +127 -1
lines
Sync with HEAD.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 6 12:39:15 2007 UTC (17 years, 10 months ago) by jmcneill
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -1
lines
Missing LIST_INIT. Pointed out by uebayasi@
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 5 23:56:13 2007 UTC (17 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2
lines
Remove debug printf accidentally added in last commit.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 5 23:31:37 2007 UTC (17 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +126 -1
lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:00 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.12.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.12.1: +6 -8
lines
sync with head.
Revision 1.8.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:03 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.8.6.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.6.1: +7 -7
lines
sync with head.
Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:07 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -3
lines
Sync with head.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:50 2006 UTC (18 years, 1 month ago) by christos
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -7
lines
__unused removal on arguments; approved by core.
Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:43 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -6
lines
sync with head
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:58 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -6
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:49:51 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +9 -8
lines
sync with head
Revision 1.5.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:44:10 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.5.8.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.8.1: +3 -6
lines
sync with head
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:22 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -6
lines
Merge from HEAD.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jun 26 18:19:40 2006 UTC (18 years, 5 months ago) by drochner
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -6
lines
remove the "name" element from the i2cbus attach args, that's what
interface attributes are good for
Revision 1.3.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:51 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -4
lines
sync with head.
Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:52 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +7 -3
lines
Sync with head.
Revision 1.5.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:24:35 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +7 -3
lines
sync with head.
Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:56 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -3
lines
sync with head.
Revision 1.5.12.2: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:19 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.5.12.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.12.1: +2 -2
lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Mar 29 06:41:24 2006 UTC (18 years, 8 months ago) by thorpej
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
Use device_private().
Revision 1.5.12.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:42:10 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -2
lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Mar 27 23:59:38 2006 UTC (18 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:22 2005 UTC (19 years ago) by christos
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1
lines
merge ktrace-lwp.
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:04:00 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.4: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.4: +2 -2
lines
Sync with HEAD. Here we go again...
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Aug 26 12:42:11 2005 UTC (19 years, 3 months ago) by drochner
Branches: 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
s/locdesc_t/int/g
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:27:46 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.3: preferred, colored
Changes since revision 1.2.2.3: +1 -1
lines
Fix the sync with head I botched.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:45:47 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.2: preferred, colored
Changes since revision 1.2.2.2: +4 -3
lines
Sync with HEAD.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Sep 13 12:55:47 2004 UTC (20 years, 3 months ago) by drochner
Branches: 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:05 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +118 -0
lines
Sync with HEAD
Revision 1.2.2.1
Sun May 16 11:42:28 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.2: +0 -118
lines
file i2c.c was added on branch ktrace-lwp on 2004-08-03 10:46:05 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun May 16 11:42:28 2004 UTC (20 years, 7 months ago) by wiz
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Fix typo in comment, reported by Alexander Yurchenko grange at rt mipt ru.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Sep 30 00:35:31 2003 UTC (21 years, 2 months ago) by thorpej
Branches: 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
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.
CVSweb <webmaster@jp.NetBSD.org>