Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   tsutsui
Date:           Wed Oct  4 15:04:43 UTC 2006

Modified Files:
        src/sys/arch/sparc/sparc: oclock.c
        src/sys/dev/ic: intersil7170.c
Added Files:
        src/sys/dev/ic: intersil7170reg.h intersil7170var.h
Removed Files:
        src/sys/dev/ic: intersil7170.h

Log Message:
Reorganize MI intersil7170(4) TOD clock driver:
- make intersil7170_softc more generic and allocate it during autoconf(9)
  rather than MALLOC(9) in attachment
- put todr_chip_handle_t, year0 value, and the century adjustment flag
  into the intersil7170_softc
- change the attachment function to just take the softc like mk48txx(4)
- split sys/dev/ic/intersil7170.h into intersil7170reg.h and intersil7170var.h
- cleanup some macro

Untested on real sun4 machines, but no objection on port-sparc
(and port-sun3) in three days.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/arch/sparc/sparc/oclock.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/ic/intersil7170.c
cvs rdiff -r1.4 -r0 src/sys/dev/ic/intersil7170.h
cvs rdiff -r0 -r1.1 src/sys/dev/ic/intersil7170reg.h \
    src/sys/dev/ic/intersil7170var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index