Subject: re: cleanup todclock attachments (Re: CVS commit: src/sys/arch/sparc64)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: matthew green <mrg@eterna.com.au>
List: port-sparc64
Date: 10/09/2006 22:30:55
   
   Okay, I agree it's worth to keep device names in config files,
   but then is it also better to keep current internal function
   (match/attach etc.) names? i.e. how about the following changes?
   
   in kernel config files:
   ---
   clock* at sbus? slot ? offset ?
   clock* at ebus?
   rtc*   at ebus?
   ---
   
   and in files.sparc64:
   ---
   device clock: mk48txx
   attach clock at sbus with mkclock_sbus
   attach clock at ebus with mkclock_ebus
   file   arch/sparc64/dev/mkclock.c              clock
   
   device rtc: mc146818
   attach rtc at ebus with mcclock_ebus
   file   arch/sparc64/dev/mcclock.c              rtc
   ---


this leaves a bunch of stuff in arch/sparc64/sparc64/clock.c?
looks pretty good.