The NetBSD Project

CVS log for src/sys/dev/ic/dwiic.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:57 2026 UTC (11 days, 13 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +3 -5 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Sep 15 15:18:42 2025 UTC (14 months ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -5 lines
Do the ACPI-specific get-child-devices dance in iic_attach().  This
obviously isn't ideal, but it funnels the issue into a central location
and provides for easier improvement later.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Feb 9 16:56:23 2024 UTC (2 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11
Branch point for: perseant-exfatfs
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Trailing whitespace

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 19 22:34:10 2022 UTC (4 years ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +17 -2 lines
dwiic(4): Don't try processing interrupts before attach completes.

PR kern/57063

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Nov 14 20:51:57 2021 UTC (5 years ago) by andvar
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
fix few typos in comments and log message.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:06 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +4 -31 lines
Merge changes from current as of 20200406

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Dec 23 15:28:08 2019 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, 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.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
dwiic_i2c_exec(): No need to check 'cold' to force I2C_F_POLL; the i2c
upper layer does it for us.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Dec 22 23:23:32 2019 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -30 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.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:10 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +48 -13 lines
Sync with HEAD

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:50 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +48 -13 lines
Ssync with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Sep 26 19:06:33 2018 UTC (8 years, 1 month ago) by jakllsch
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -3 lines
Add dwiic_fdt attachment for "snps,designware-i2c".

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 26 18:32:51 2018 UTC (8 years, 1 month ago) by jakllsch
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +38 -4 lines
Sync with OpenBSD src/sys/dev/ic/dwiic.c r1.4.

Makes split command+data write operations in the exec() function work.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Sep 26 18:06:59 2018 UTC (8 years, 1 month ago) by jakllsch
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -9 lines
Correctly use device_printf() rather than aprint_error_dev() for errors
that can occur at runtime.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 25 16:29:41 2018 UTC (8 years, 1 month ago) by jakllsch
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
return 0 on success of dwiic_i2c_acquire_bus(), not 1 (failure)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 17:12:54 2017 UTC (8 years, 11 months ago) by bouyer
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Add support for I2C designware controllers (as found in Intel PCH devices),
with a pci front-end.
The pci front-end is tied to ACPI and Intel-specific, so it's in arch/x86/pci
and not dev/pci.
Core driver from OpenBSD, PCI front-end by me.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>