The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9.18.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (7 months, 1 week ago) by jdolecek
Branch: tls-maxphys
Changes since 1.9.18.1: +54 -79 lines
Diff to previous 1.9.18.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

update from HEAD

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:09 2016 UTC (2 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.1: +47 -86 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 11 18:24:56 2016 UTC (2 years, 6 months ago) by jdc
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, 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, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, netbsd-8-base, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.14: +1 -7 lines
Diff to previous 1.14 (colored)

Always take the bus lock (avoids collisions when drivers set I2C_F_POLL).

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 4 10:00:33 2016 UTC (2 years, 6 months ago) by jdc
Branch: MAIN
Changes since 1.13: +12 -22 lines
Diff to previous 1.13 (colored)

Redo r1.12 - process cmd and value buffers in pcfiic_xmit().
Avoids allocating a temporary buffer for writes using both buffers.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 3 17:32:17 2016 UTC (2 years, 6 months ago) by jdc
Branch: MAIN
Changes since 1.12: +38 -61 lines
Diff to previous 1.12 (colored)

Remove duplicate register definitions and merge them all into pcf8584reg.h.
No functional change.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:49 2015 UTC (2 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11: +23 -9 lines
Diff to previous 1.11 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.12 / (download) - annotate - [select for diffs], Wed Dec 16 08:04:58 2015 UTC (2 years, 6 months ago) by jdc
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.11: +23 -9 lines
Diff to previous 1.11 (colored)

Allow pcfiic to handle i2c writes using cmdbuf for the register, and buf for
the value to be written.  Prior to this, we would send an empty write command
to the correct i2c address, plus an empty write command to the device at the
i2c address of the first byte of buf.

Revision 1.9.18.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:38 2014 UTC (3 years, 10 months ago) by tls
Branch: tls-maxphys
Changes since 1.9: +4 -6 lines
Diff to previous 1.9 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:22 2014 UTC (4 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.9: +4 -6 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

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

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

Revision 1.9.22.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (4 years, 1 month ago) by rmind
Branch: rmind-smpnet
Changes since 1.9: +4 -6 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 20 22:02:32 2014 UTC (4 years, 5 months ago) by jdc
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7
Branch point for: nick-nhusb
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

Remove the check for (cmdlen > 0) when writing.  When i2cscan sends a
quick_write, the command length is 0, so we were previously returning
success for every address in this case.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Sep 15 09:17:28 2013 UTC (4 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored)

Remove unused variable

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:29 2010 UTC (7 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4.4.2: +5 -6 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:24 2010 UTC (8 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.6: +5 -6 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.5.20.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:20 2010 UTC (8 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.5: +260 -192 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 16 18:58:39 2010 UTC (8 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.  No functional change
intended.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 31 21:01:03 2010 UTC (8 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)

remove a now useless bus_space_barrier()

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 31 05:09:41 2010 UTC (8 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

Do as OpenSolaris does and read the status register after each write.
Now this driver works on my Blade 2500.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:33 2010 UTC (8 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4.4.1: +262 -193 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 28 11:47:28 2010 UTC (8 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.5: +262 -193 lines
Diff to previous 1.5 (colored)

Update pcf8584 driver from OpenBSD

Revision 1.2.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:26 2008 UTC (10 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.2.16.1: +1 -8 lines
Diff to previous 1.2.16.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:45 2008 UTC (10 years, 1 month ago) by yamt
Branch: yamt-pf42
Changes since 1.4: +2 -9 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:05 2008 UTC (10 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4: +2 -9 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:51 2008 UTC (10 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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-premerge-20091211, 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, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip
Changes since 1.4: +2 -9 lines
Diff to previous 1.4 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 8 12:07:27 2008 UTC (10 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

use aprint_*_dev and device_xname

Revision 1.2.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:42 2008 UTC (10 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 26 19:14:24 2008 UTC (10 years, 3 months ago) by tnn
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

convert pcf8584 to device_t.

Revision 1.1.14.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:27:01 2007 UTC (10 years, 8 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with HEAD

Revision 1.1.16.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:57 2007 UTC (10 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.16.2: +3 -3 lines
Diff to previous 1.1.16.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.12.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:57 2007 UTC (10 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.1.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:53 2007 UTC (10 years, 8 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:39 2007 UTC (10 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.1.4.2: +3 -3 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:58 2007 UTC (10 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.1.16.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:04 2007 UTC (10 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.16.1: +246 -0 lines
Diff to previous 1.1.16.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:05 2007 UTC (11 years ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.1.6.1: +246 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Jun 9 21:37:17 2007 UTC (11 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.1.4.1: +246 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Sync with head.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:22 2007 UTC (11 years, 3 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.1.2.1: +246 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.16.1, Sat Apr 14 19:33:29 2007 UTC (11 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +0 -246 lines
FILE REMOVED

file pcf8584.c was added on branch yamt-lazymbuf on 2007-09-03 14:35:04 +0000

Revision 1.1.6.1, Sat Apr 14 19:33:29 2007 UTC (11 years, 3 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.1: +0 -246 lines
FILE REMOVED

file pcf8584.c was added on branch mjf-ufs-trans on 2007-07-11 20:06:05 +0000

Revision 1.1.4.1, Sat Apr 14 19:33:29 2007 UTC (11 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.1: +0 -246 lines
FILE REMOVED

file pcf8584.c was added on branch vmlocking on 2007-06-09 21:37:16 +0000

Revision 1.1.2.1, Sat Apr 14 19:33:29 2007 UTC (11 years, 3 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.1: +0 -246 lines
FILE REMOVED

file pcf8584.c was added on branch yamt-idlelwp on 2007-04-15 16:03:22 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 14 19:33:29 2007 UTC (11 years, 3 months ago) by tnn
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-lazymbuf, yamt-idlelwp, vmlocking, mjf-ufs-trans, matt-armv6, jmcneill-pm, bouyer-xenamd64

Add envctrl(4): Sun Ultra Enterprise 450 environmental monitoring driver.
Also add accompanying i2c controller driver, pcf8584.
Both written by me. Some cosmetic improvements from Iain Hibbert.
ok <martin>

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




CVSweb <webmaster@jp.NetBSD.org>