Skip to contentSkip to conversation

ds1286 \\\\

PATCH Peter De Schrijver 1 participant 1 message Jul 11, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,

This patch moves ralf's ds1286 driver to drivers/char and makes it selectable for the ddb5074 board as well. I don't have an SGI here to check if it still works for an indy though. It should though :) test results welcome :)

Cheers,

Peter.

linux/drivers/char/Config.in +3 -0
diff -r -N -u -w oss-2.4/linux/drivers/char/Config.in oss-2.4-ddb5074/linux/drivers/char/Config.in
@@ -268,6 +268,9 @@
 if [ "$CONFIG_OBSOLETE" = "y" -a "$CONFIG_ALPHA_BOOK1" = "y" ]; then
    bool 'Tadpole ANA H8 Support'  CONFIG_H8
 fi
+if [ "$CONFIG_DDB5074" = "y" -o "$CONFIG_SGI" = "y" ]; then
+   bool 'DS1286 RTC support' CONFIG_RTC_DS1286
+fi
 
 tristate 'Double Talk PC internal speech card support' CONFIG_DTLK
 tristate 'Siemens R3964 line discipline' CONFIG_R3964
linux/drivers/char/Makefile +1 -0
diff -r -N -u -w oss-2.4/linux/drivers/char/Makefile oss-2.4-ddb5074/linux/drivers/char/Makefile
@@ -179,6 +179,7 @@
 obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
 obj-$(CONFIG_SERIAL_TX3912) += generic_serial.o serial_tx3912.o
 obj-$(CONFIG_TXX927_SERIAL) += serial_txx927.o
+obj-$(CONFIG_RTC_DS1286) += ds1286.o
 
 subdir-$(CONFIG_RIO) += rio
 subdir-$(CONFIG_INPUT) += joystick
linux/drivers/char/ds1286.c +533 -0

533 lines not on this page · raw message

linux/drivers/char/misc.c +0 -3
diff -r -N -u -w oss-2.4/linux/drivers/char/misc.c oss-2.4-ddb5074/linux/drivers/char/misc.c
@@ -261,9 +261,6 @@
 #ifdef CONFIG_BVME6000
 	rtc_DP8570A_init();
 #endif
-#ifdef CONFIG_SGI_DS1286
-	ds1286_init();
-#endif
 #ifdef CONFIG_PMAC_PBOOK
 	pmu_device_init();
 #endif