12 Feb, 2007

1 commit

  • This is an "RTC framework" driver for the "CMOS" RTCs which are standard on
    PCs and some other platforms. That's MC146818 compatible silicon.
    Advantages of this vs. drivers/char/rtc.c (use one _or_ the other, only
    one will be able to claim the RTC irq) include:

    - This leverages both the new RTC framework and the driver model; both
    PNPACPI and platform device modes are supported. (A separate patch
    creates a platform device on PCs where PNPACPI isn't configured.)

    - It supports common extensions like longer alarms. (A separate patch
    exports that information from ACPI through platform_data.)

    - Likewise, system wakeup events use "real driver model support", with
    policy control via sysfs "wakeup" attributes and and using normal rtc
    ioctls to manage wakeup. (Patch in the works. The ACPI hooks are
    known; /proc/acpi/alarm can vanish. Making it work with EFI will
    be a minor challenge to someone with e.g. a MiniMac.)

    It's not yet been tested on non-x86 systems, without ACPI, or with HPET.
    And the RTC framework will surely have teething pains on "mainstream"
    PC-based systems (though must embedded Linux systems use it heavily), not
    limited to sorting out the "/dev/rtc0" issue (udev easily tweaked). Also,
    the ALSA rtctimer code doesn't use the new RTC API.

    Otherwise, this should be a no-known-regressions replacement for the old
    drivers/char/rtc.c driver, and should help the non-embedded distros (and
    the new timekeeping code) start to switch to the framework.

    Note also that any systems using "rtc-m48t86" are candidates to switch over
    to this more functional driver; the platform data is different, and the way
    bytes are read is different, but otherwise those chips should be compatible.

    [akpm@osdl.org: sparc32 fix]
    [akpm@osdl.org: sparc64 fix]
    Signed-off-by: David Brownell
    Cc: Woody Suwalski
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

11 Jul, 2006

1 commit

  • Handle memory-mapped chips properly, needed for example on DECstations.
    This support was in Linux 2.4 but for some reason got lost in 2.6. This
    patch is taken directly from the linux-mips repository.

    [akpm@osdl.org: cleanup]
    Signed-off-by: Maciej W. Rozycki
    Signed-off-by: Martin Michlmayr
    Cc: Paul Gortmaker
    Cc: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Maciej W. Rozycki
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds