The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.40 / (download) - annotate - [select for diffs], Tue Jan 24 07:09:48 2023 UTC (13 months, 1 week ago) by mlelstv
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.39: +3 -4 lines
Diff to previous 1.39 (colored)

Don't panic with invalid user data, just return an error.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Aug 3 23:12:14 2021 UTC (2 years, 7 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-futex2-base, thorpej-futex2, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Fix various typos in comments. Also add missing NetBSD RCS Id in some of these files.

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:44 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.34: +20 -20 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jan 27 02:29:48 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 25 13:30:20 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jan 18 15:28:21 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

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

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

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 17 21:56:20 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.34: +19 -19 lines
Diff to previous 1.34 (colored)

Change the device_compatible_entry struct to have a union of
a scalar value (uintptr_t value) and a pointer value (const void *data),
rather than just "uintptr_t data".  This eliminates the need for drivers
to cast this value, and doesn't lose const'ness of pointers assigned
to the field.

Update all of the users of this field to use the correct set of
designated initialisers for each specific case.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:20 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.29.2.2: +4 -2 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:05 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.29.2.1: +24 -25 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored)

Merge changes from current as of 20200406

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 2 16:24:51 2020 UTC (4 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Changes since 1.33: +24 -25 lines
Diff to previous 1.33 (colored)

No need to use I2C_F_POLL here.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Sep 29 05:35:29 2019 UTC (4 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.32: +5 -4 lines
Diff to previous 1.32 (colored)

appease -Werror=stack-protector by avoiding variable sized arrays
Now this builds and works on sparc64

Revision 1.32 / (download) - annotate - [select for diffs], Sun Sep 29 05:28:21 2019 UTC (4 years, 5 months ago) by macallan
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

add another matchstring for the ds1307 found in Sun Fire V210 ( and probably
V240 )

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:09 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.29: +24 -5 lines
Diff to previous 1.29 (colored)

Sync with HEAD

Revision 1.25.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:48 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.25.2.2: +24 -5 lines
Diff to previous 1.25.2.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.31 / (download) - annotate - [select for diffs], Thu Dec 20 21:36:53 2018 UTC (5 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, 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
Changes since 1.30: +8 -2 lines
Diff to previous 1.30 (colored)

make DSRTC_FLAG_YEAR_START_2K settable by device property

Revision 1.30 / (download) - annotate - [select for diffs], Fri Dec 14 22:05:36 2018 UTC (5 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.29: +18 -5 lines
Diff to previous 1.29 (colored)

add options DSRTC_YEAR_START_2K for machines which use 2000 and not 1970
as base to count years from, like Iyonix.
While there apply the offset when writing to the clock as well.

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:44 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.25.2.1: +29 -26 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 26 06:03:57 2018 UTC (5 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.28: +29 -25 lines
Diff to previous 1.28 (colored)

In my quest to make device_compatible_entry (and associated goo)
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication).  So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 26 04:32:35 2018 UTC (5 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored)

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

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.25: +154 -78 lines
Diff to previous 1.25 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 18 17:07:07 2018 UTC (5 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.26: +103 -114 lines
Diff to previous 1.26 (colored)

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

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

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jun 16 21:28:07 2018 UTC (5 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +101 -14 lines
Diff to previous 1.25 (colored)

More cleanup to i2c autoconfiguration:

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

In addition to the above:
- Add support for direct-config matching this driver based on
  "compatible" properties.
- Address-only matching is now done based on the specific addresses
  the requested model supports.
- "compatible" property can specify to the driver which model is to
  be used, so that using config "flags" directives aren't required
  in the direct-config case.

XXX More changes coming that require re-factoring some other code.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:02 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.16.2.1: +164 -22 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

update from HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Sat Oct 28 04:53:55 2017 UTC (6 years, 4 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

Kill some more extern struct cfdriver declarations.

Down with externs in .c!

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:01 2016 UTC (7 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.21.2.1: +51 -11 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:08 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.22: +51 -11 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Tue Oct 18 18:54:54 2016 UTC (7 years, 4 months ago) by aymeric
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.23: +44 -11 lines
Diff to previous 1.23 (colored)

add support for the MCP7940 based Pi Face Real Time Clock

Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 4 15:06:59 2016 UTC (7 years, 5 months ago) by kiyohara
Branch: MAIN
Changes since 1.22: +9 -2 lines
Diff to previous 1.22 (colored)

Add DS1340.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:13 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 5 10:53:16 2016 UTC (7 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

Fix DS1672 suppport: need to provide dm_ch_reg to avoid a KASSERT
on write. For consistency set dm_ch_value too, even if it's unused.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Apr 14 04:24:58 2015 UTC (8 years, 10 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.18: +101 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up following revision(s) (requested by nonaka in ticket #672):
	sys/dev/i2c/ds1307.c: revisions 1.19, 1.20
	sys/dev/i2c/ds1307reg.h: revision 1.5
- support DS3231 ( more or less a DS3232 without NVRAM it seems )
- support the DS3231's temperature sensor
--
Initialize a variable that gcc thinks might be used uninitialized.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 20 16:34:26 2014 UTC (9 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.20: +16 -16 lines
Diff to previous 1.20 (colored)

use the inline bcdtobin and bintobcd directly instead through a macro.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 13 10:29:27 2014 UTC (9 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Initialize a variable that gcc thinks might be used uninitialized.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 12 01:23:23 2014 UTC (9 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.18: +101 -2 lines
Diff to previous 1.18 (colored)

- support DS3231 ( more or less a DS3232 without NVRAM it seems )
- support the DS3231's temperature sensor

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:37 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.16: +14 -4 lines
Diff to previous 1.16 (colored)

Rebase to HEAD as of a few days ago.

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

Rebase.

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

Add d_discard to all struct cdevsw instances I could find.

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

Revision 1.13.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:21 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.13.4.2: +13 -4 lines
Diff to previous 1.13.4.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (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.16.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.16: +13 -4 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

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

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

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

Revision 1.13.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:58 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.13.4.1: +75 -56 lines
Diff to previous 1.13.4.1 (colored) to branchpoint 1.13 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 25 03:07:37 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.15: +75 -56 lines
Diff to previous 1.15 (colored)

Clean up error messages.
Tidy some logic.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:30 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.13: +320 -102 lines
Diff to previous 1.13 (colored)

sync with head

Revision 1.13.8.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:41 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.13.8.1: +295 -76 lines
Diff to previous 1.13.8.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 23 20:59:19 2012 UTC (12 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10
Changes since 1.14: +295 -76 lines
Diff to previous 1.14 (colored)

Rework this driver to support other dsrtc than just the DS1307.
Support both BCD and 32-bit binary type RTCs.
Supports DS1339, DS1672, and DS3232.
To select variant, put the module # in flags in the the config file.
dsrtc at iic0 addr 0x69 flags 1339
If the flags is not supplied, a 1307 is assumed (compatible).

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:12 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.13: +31 -32 lines
Diff to previous 1.13 (colored)

merge to -current.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 7 15:03:11 2012 UTC (12 years, 1 month ago) by phx
Branch: MAIN
CVS Tags: 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-base2
Changes since 1.13: +31 -32 lines
Diff to previous 1.13 (colored)

Fixed 12/24h mode. Bit 6 from the hours register indicates 12h mode.
Do not overwrite the control register (0x07) with random contents.

Revision 1.12.26.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:49 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.12: +12 -6 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.12.20.1 / (download) - annotate - [select for diffs], Tue May 31 03:04:36 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.12: +12 -6 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Sat May 28 13:59:31 2011 UTC (12 years, 9 months ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.12: +12 -6 lines
Diff to previous 1.12 (colored)

Add direct config support for all devices used by sandpoint.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:39 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.10.4.1: +6 -6 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.9.8.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:06 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.9.8.1: +4 -4 lines
Diff to previous 1.9.8.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:01 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:33 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.10.2.1: +6 -6 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 8 03:49:26 2008 UTC (15 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-nfs-mp-base9, 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-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, 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-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Replace device_lookup() with device_lookup_private() to get softc
after device_t/softc split.  PR kern/38885 from Jonathan A. Kollasch.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:17 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.9: +24 -21 lines
Diff to previous 1.9 (colored)

Sync with HEAD.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:38 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.10: +23 -15 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:01 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.10: +23 -15 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 4 15:26:29 2008 UTC (15 years, 10 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.10: +23 -15 lines
Diff to previous 1.10 (colored)

device_t/softc split and other related cosmetic changes.

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

use aprint_*_dev and device_xname

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:49 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.2.3: +4 -1 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.8.20.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:40 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with HEAD

Revision 1.8.28.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:11 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

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

Sync with HEAD

Revision 1.8.30.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:25:46 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-kmem
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

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

use __KERNEL_RCSID()

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:02 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.2.2: +2 -2 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:17 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.6.2.1: +2 -2 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 12 19:33:21 2007 UTC (17 years, 1 month ago) by cube
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, yamt-idlelwp-base8, yamt-idlelwp, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: yamt-kmem, vmlocking2, matt-armv6, bouyer-xeni386
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Add missing initializers in cdevsw structs.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:00 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.2.1: +14 -36 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

sync with head.

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

Sync with head.

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:27 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4.8.1: +14 -36 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 9 21:10:01 2006 UTC (17 years, 5 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.6: +14 -18 lines
Diff to previous 1.6 (colored)

Convert to MI clock_ymdhms versions of todr calls.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:51 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.4: +2 -20 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 4 23:45:30 2006 UTC (17 years, 6 months ago) by gdamore
Branch: MAIN
CVS Tags: rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.5: +1 -19 lines
Diff to previous 1.5 (colored)

Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.

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

sync with head.

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

Sync with head.

Revision 1.4.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:24:35 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:56 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.4.12.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:19 2006 UTC (17 years, 11 months ago) by tron
Branch: peter-altq
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 29 06:41:24 2006 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Use device_private().

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 13 20:55:46 2005 UTC (18 years, 2 months ago) by abs
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Update some missed _close() and _open() functions from 'struct proc *p'
to 'struct lwp *l'.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:22 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

merge ktrace-lwp.

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:04:00 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.4: +5 -5 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jun 4 20:14:25 2005 UTC (18 years, 9 months ago) by he
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)

Fix the various todr_gettime() and todr_settime() fallouts from
-Wcast-qual differently, by instead changing the signatore of those
"functions" to take a "volatile struct timeval*" instead of a
"struct timeval*".  Many places, these functions are called with
&time, and time is declared as volatile in <sys/kernel.h>.  This
way we can get rid of all the ugly casts which now also triggered
warnings, and caused more code to be added to work around the
problem.

Reviewed by thorpej.

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

Fix the sync with head I botched.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:47 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.2: +1 -1 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

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

Sync with HEAD

Revision 1.1.4.1, Tue Sep 30 00:35:31 2003 UTC (20 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +0 -389 lines
FILE REMOVED

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

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 30 00:35:31 2003 UTC (20 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: ktrace-lwp

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

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

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




CVSweb <webmaster@jp.NetBSD.org>