Commit Graph

8 Commits

Author SHA1 Message Date
cube e37986b806 Add missing initializers in cdevsw structs. 2007-01-12 19:33:21 +00:00
gdamore a37acb1b52 Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.
2006-09-04 23:45:30 +00:00
thorpej 8fc3572573 Use device_private(). 2006-03-29 06:41:24 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
he aafdb08c5a 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.
2005-06-04 20:14:24 +00:00
briggs 1991e35ca9 PR kern/27088 from Jared Momose. The read function should specify the
length of the command buffer (1) instead of 0.  Otherwise, data will
have an implied offset of 0 and reads at non-0 locations will incorrectly
return the data from 0.  Fix as suggested in the report.
2004-09-30 18:57:39 +00:00
briggs 1ce6ced119 As suggested by Jason Thorpe, rename m41t to m41trtc. 2003-10-20 16:24:10 +00:00
thorpej 2652188cc4 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.
2003-09-30 00:35:30 +00:00