28c28
< * $FreeBSD: head/sys/dev/mc146818/mc146818var.h 170844 2007-06-16 23:10:00Z marius $
---
> * $FreeBSD: head/sys/dev/mc146818/mc146818var.h 201008 2009-12-25 22:53:46Z marius $
40a41
>
42,44c43,45
< #define MC146818_NO_CENT_ADJUST 0x0001 /* don't adjust century */
< #define MC146818_BCD 0x0002 /* use BCD mode */
< #define MC146818_12HR 0x0004 /* use AM/PM mode */
---
> #define MC146818_NO_CENT_ADJUST 0x0001 /* don't adjust century */
> #define MC146818_BCD 0x0002 /* use BCD mode */
> #define MC146818_12HR 0x0004 /* use AM/PM mode */
47,48c48,49
< u_int (*sc_mcread)(device_t, u_int);
< void (*sc_mcwrite)(device_t, u_int, u_int);
---
> u_int (*sc_mcread)(device_t dev, u_int reg);
> void (*sc_mcwrite)(device_t dev, u_int reg, u_int val);
50,51c51,52
< u_int (*sc_getcent)(device_t);
< void (*sc_setcent)(device_t, u_int);
---
> u_int (*sc_getcent)(device_t dev);
> void (*sc_setcent)(device_t dev, u_int cent);
55,56c56,57
< u_int mc146818_def_read(device_t, u_int);
< void mc146818_def_write(device_t, u_int, u_int);
---
> u_int mc146818_def_read(device_t dev, u_int reg);
> void mc146818_def_write(device_t dev, u_int reg, u_int val);
63c64
< int mc146818_getsecs(device_t, int *);
---
> int mc146818_getsecs(device_t dev, int *secp);
65,66c66,67
< int mc146818_gettime(device_t, struct timespec *);
< int mc146818_settime(device_t, struct timespec *);
---
> int mc146818_gettime(device_t dev, struct timespec *ts);
> int mc146818_settime(device_t dev, struct timespec *ts);
< * $FreeBSD: head/sys/dev/mc146818/mc146818var.h 170844 2007-06-16 23:10:00Z marius $
---
> * $FreeBSD: head/sys/dev/mc146818/mc146818var.h 201008 2009-12-25 22:53:46Z marius $
40a41
>
42,44c43,45
< #define MC146818_NO_CENT_ADJUST 0x0001 /* don't adjust century */
< #define MC146818_BCD 0x0002 /* use BCD mode */
< #define MC146818_12HR 0x0004 /* use AM/PM mode */
---
> #define MC146818_NO_CENT_ADJUST 0x0001 /* don't adjust century */
> #define MC146818_BCD 0x0002 /* use BCD mode */
> #define MC146818_12HR 0x0004 /* use AM/PM mode */
47,48c48,49
< u_int (*sc_mcread)(device_t, u_int);
< void (*sc_mcwrite)(device_t, u_int, u_int);
---
> u_int (*sc_mcread)(device_t dev, u_int reg);
> void (*sc_mcwrite)(device_t dev, u_int reg, u_int val);
50,51c51,52
< u_int (*sc_getcent)(device_t);
< void (*sc_setcent)(device_t, u_int);
---
> u_int (*sc_getcent)(device_t dev);
> void (*sc_setcent)(device_t dev, u_int cent);
55,56c56,57
< u_int mc146818_def_read(device_t, u_int);
< void mc146818_def_write(device_t, u_int, u_int);
---
> u_int mc146818_def_read(device_t dev, u_int reg);
> void mc146818_def_write(device_t dev, u_int reg, u_int val);
63c64
< int mc146818_getsecs(device_t, int *);
---
> int mc146818_getsecs(device_t dev, int *secp);
65,66c66,67
< int mc146818_gettime(device_t, struct timespec *);
< int mc146818_settime(device_t, struct timespec *);
---
> int mc146818_gettime(device_t dev, struct timespec *ts);
> int mc146818_settime(device_t dev, struct timespec *ts);