[RFD] Time rework [take #2]

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

 



OK, I don't get any feedbacks since my original post but I had time to
make some changes...

It's now based on "linux-2.6.22-rc4-357-g7518784", with a part of Ralf's
linux-time patches.

I'd like to port some 'interesting' platforms as a proof of
concept. Could anybody name them ? I'd like to port a platform that
uses the 'hpt' as clock source and timer. A second one that uses the
hpt only as a timer, and a third one that doesn't uses it at all. A
small description can help too...

Thanks

		Franck
---
 arch/mips/Kconfig                         |   13 +
 arch/mips/au1000/common/irq.c             |    3 +-
 arch/mips/au1000/common/setup.c           |    2 -
 arch/mips/au1000/common/time.c            |   44 ---
 arch/mips/basler/excite/excite_setup.c    |    5 +-
 arch/mips/ddb5xxx/common/rtc_ds1386.c     |   10 +-
 arch/mips/ddb5xxx/ddb5477/setup.c         |    4 +-
 arch/mips/dec/setup.c                     |    4 -
 arch/mips/dec/time.c                      |   12 +-
 arch/mips/emma2rh/markeins/setup.c        |    4 +-
 arch/mips/gt64120/wrppmc/setup.c          |    4 -
 arch/mips/gt64120/wrppmc/time.c           |    2 +-
 arch/mips/jmr3927/rbhma3100/setup.c       |    4 +-
 arch/mips/kernel/Makefile                 |    2 +
 arch/mips/kernel/hpt.c                    |  294 ++++++++++++++++++
 arch/mips/kernel/process.c                |    2 +
 arch/mips/kernel/smp.c                    |    1 +
 arch/mips/kernel/smtc.c                   |    2 +-
 arch/mips/kernel/time.c                   |  468 ++--------------------------
 arch/mips/lasat/ds1603.c                  |    6 +-
 arch/mips/lasat/ds1603.h                  |    2 -
 arch/mips/lasat/setup.c                   |    6 +-
 arch/mips/lasat/sysctl.c                  |   59 ----
 arch/mips/lib/Makefile                    |    2 +-
 arch/mips/lib/time.c                      |   52 ++++
 arch/mips/mips-boards/atlas/atlas_setup.c |    5 -
 arch/mips/mips-boards/generic/time.c      |  101 +------
 arch/mips/mips-boards/malta/malta_setup.c |    4 -
 arch/mips/mips-boards/sead/sead_setup.c   |    3 -
 arch/mips/mips-boards/sim/sim_setup.c     |    3 -
 arch/mips/mips-boards/sim/sim_time.c      |   72 +-----
 arch/mips/momentum/ocelot_3/setup.c       |   12 +-
 arch/mips/momentum/ocelot_c/setup.c       |   15 +-
 arch/mips/philips/pnx8550/common/setup.c  |    3 -
 arch/mips/philips/pnx8550/common/time.c   |    7 +-
 arch/mips/pmc-sierra/yosemite/setup.c     |   18 +-
 arch/mips/sgi-ip22/ip22-int.c             |    3 +-
 arch/mips/sgi-ip22/ip22-setup.c           |    2 -
 arch/mips/sgi-ip22/ip22-time.c            |   25 +--
 arch/mips/sgi-ip27/ip27-init.c            |    3 -
 arch/mips/sgi-ip27/ip27-timer.c           |   24 +--
 arch/mips/sgi-ip32/ip32-setup.c           |   12 +-
 arch/mips/sibyte/bcm1480/time.c           |   13 +-
 arch/mips/sibyte/sb1250/time.c            |   13 +-
 arch/mips/sibyte/swarm/setup.c            |   48 +++-
 arch/mips/sibyte/swarm/time.c             |  244 ---------------
 arch/mips/sni/a20r.c                      |    1 -
 arch/mips/sni/ds1216.c                    |    4 +-
 arch/mips/sni/pcimt.c                     |    3 -
 arch/mips/sni/pcit.c                      |    3 -
 arch/mips/sni/rm200.c                     |    2 -
 arch/mips/sni/time.c                      |    2 +-
 arch/mips/tx4927/common/tx4927_setup.c    |    9 +-
 arch/mips/tx4938/common/rtc_rx5c348.c     |   10 +-
 arch/mips/tx4938/common/setup.c           |    9 -
 arch/mips/tx4938/toshiba_rbtx4938/setup.c |    4 +-
 arch/mips/vr41xx/common/init.c            |    8 +-
 include/asm-mips/hpt.h                    |   16 +
 include/asm-mips/rtc.h                    |    6 +-
 include/asm-mips/time.h                   |   51 +---
 60 files changed, 516 insertions(+), 1249 deletions(-)
 create mode 100644 arch/mips/kernel/hpt.c
 create mode 100644 arch/mips/lib/time.c
 delete mode 100644 arch/mips/sibyte/swarm/time.c
 create mode 100644 include/asm-mips/hpt.h





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux