1
linux/drivers/char
David Brownell c750090085 rtc: avoid legacy drivers with generic framework
Kconfig tweaks to help reduce RTC configuration bugs, by avoiding
legacy RTC drivers when the generic RTC framework is enabled:

 - If rtc-cmos is selected, disable the legacy rtc driver;

 - When using generic RTC on x86, enable rtc-cmos by default;

 - In the old "chardev RTC" section of Kconfig, add a comment
   warning people off these (seven) legacy RTC drivers when
   the generic framework is in use.

People can still use the legacy drivers if they want (or need) to.

This doesn't fix the broken dependencies for the legacy "CMOS" RTC driver.
Ideally it would be a full list of platforms where it works, not a partial
list of ones where it won't.  Or better yet, it would depend on a
"HAVE_CMOS_RTC" flag defined by various platforms ...  surely there's a
Kconfig style guideline lurking there.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:16 -07:00
..
agp agp: convert drivers/char/agp/frontend.c to use unlocked_ioctl 2008-04-26 18:43:20 +10:00
drm drm: _end is shadowing real _end, just rename it. 2008-04-26 18:21:28 +10:00
hw_random Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2008-04-21 15:57:09 -07:00
ip2 Char: ip2, fix sparse warnings 2008-04-02 15:28:19 -07:00
ipmi
mwave arm/mach-integrator/time.c, mwave: revert portions of recent irq cleanups 2008-04-24 08:35:37 -04:00
pcmcia drivers/char: minor irq handler cleanups 2008-04-20 19:03:43 -04:00
rio drivers: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:32 -04:00
tpm drivers/char: minor irq handler cleanups 2008-04-20 19:03:43 -04:00
xilinx_hwicap [POWERPC] char/xilinx_hwicap/ section fix 2008-04-24 20:58:02 +10:00
.gitignore
amiserial.c
apm-emulation.c
applicom.c
applicom.h
bfin-otp.c Blackfin char driver for Blackfin on-chip OTP memory (v3) 2008-04-25 08:04:56 +08:00
briq_panel.c
cd1865.h
ChangeLog
consolemap.c
cp437.uni
cs5535_gpio.c
cyclades.c
defkeymap.c_shipped Fix default compose table initialization 2008-03-03 14:53:16 -08:00
defkeymap.map
digi1.h
digiFep1.h
digiPCI.h
ds1286.c
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c
epca.c
epca.h
epcaconfig.h
esp.c drivers/char/esp.c: fix bootup lockup 2008-03-07 10:05:13 -08:00
generic_nvram.c
generic_serial.c drivers: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:32 -04:00
genrtc.c
hangcheck-timer.c
hpet.c x86: revert assign IRQs to hpet timer 2008-04-04 18:36:49 +02:00
hvc_beat.c [POWERPC] hvcbeat: Fix buffer manipulation 2008-04-17 07:46:10 +10:00
hvc_console.c
hvc_console.h
hvc_iseries.c
hvc_rtas.c
hvc_vio.c
hvc_xen.c
hvcs.c
hvsi.c
i8k.c
ip27-rtc.c
isicom.c drivers/char/isicom.c: correct use of ! and & 2008-03-04 16:35:15 -08:00
istallion.c
Kconfig rtc: avoid legacy drivers with generic framework 2008-04-28 08:58:16 -07:00
keyboard.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-04-25 12:38:14 -07:00
lcd.c
lcd.h
lp.c
Makefile Blackfin char driver for Blackfin on-chip OTP memory (v3) 2008-04-25 08:04:56 +08:00
mbcs.c
mbcs.h
mem.c x86: PAT use reserve free memtype in mmap of /dev/mem 2008-04-24 23:40:47 +02:00
misc.c PM: Remove destroy_suspended_device() 2008-04-19 19:10:28 -07:00
mmtimer.c
moxa.c
mspec.c
mxser.c
mxser.h
n_hdlc.c
n_r3964.c
n_tty.c drivers/char/n_tty.c misannotated prototype 2008-03-30 14:20:23 -07:00
nozomi.c fix iomem misannotations in nozomi 2008-03-30 14:20:23 -07:00
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c
ps3flash.c
pty.c
random.c
raw.c
riscom8_reg.h
riscom8.c char: riscom, fix rc_board indexing 2008-03-13 13:11:43 -07:00
riscom8.h
rocket_int.h drivers/char/rocket portability fixes 2008-03-19 19:42:36 -07:00
rocket.c drivers/char/rocket portability fixes 2008-03-19 19:42:36 -07:00
rocket.h
rtc.c
scc.h
scx200_gpio.c
selection.c
ser_a2232.c
ser_a2232.h
ser_a2232fw.ax
ser_a2232fw.h
serial167.c
snsc_event.c
snsc.c
snsc.h Convert asm/semaphore.h users to linux/semaphore.h 2008-04-18 22:22:54 -04:00
sonypi.c sonypi: Storage class should be before const qualifier 2008-04-21 22:29:37 +00:00
specialix_io8.h
specialix.c drivers/char: minor irq handler cleanups 2008-04-20 19:03:43 -04:00
stallion.c drivers/char: minor irq handler cleanups 2008-04-20 19:03:43 -04:00
sx.c
sx.h
sxboards.h
sxwindow.h
synclink_gt.c drivers/char: minor irq handler cleanups 2008-04-20 19:03:43 -04:00
synclink.c drivers/char: minor irq handler cleanups 2008-04-20 19:03:43 -04:00
synclinkmp.c drivers/char: minor irq handler cleanups 2008-04-20 19:03:43 -04:00
sysrq.c
tb0219.c
tlclk.c
toshiba.c
tty_audit.c
tty_io.c consoles: polling support, kgdboc 2008-04-17 20:05:37 +02:00
tty_ioctl.c
vc_screen.c
viocons.c
viotape.c
virtio_console.c
vme_scc.c
vr41xx_giu.c
vt_ioctl.c
vt.c VT notifier fix for VT switch 2008-03-04 16:35:11 -08:00