patch-2.4.22 linux-2.4.22/arch/mips/ddb5074/time.c
Next file: linux-2.4.22/arch/mips/ddb5xxx/common/irq.c
Previous file: linux-2.4.22/arch/mips/ddb5074/setup.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
1969-12-31 16:00:00.000000000 -0800
- Orig file:
linux-2.4.21/arch/mips/ddb5074/time.c
- Orig date:
2001-04-13 20:26:07.000000000 -0700
diff -urN linux-2.4.21/arch/mips/ddb5074/time.c linux-2.4.22/arch/mips/ddb5074/time.c
@@ -1,32 +0,0 @@
-/*
- * arch/mips/ddb5074/time.c -- Timer routines
- *
- * Copyright (C) 2000 Geert Uytterhoeven <geert@sonycom.com>
- * Sony Software Development Center Europe (SDCE), Brussels
- */
-#include <linux/init.h>
-#include <asm/mc146818rtc.h>
-
-static unsigned char ddb_rtc_read_data(unsigned long addr)
-{
- outb_p(addr, RTC_PORT(0));
-
- return inb_p(RTC_PORT(1));
-}
-
-static void ddb_rtc_write_data(unsigned char data, unsigned long addr)
-{
- outb_p(addr, RTC_PORT(0));
- outb_p(data, RTC_PORT(1));
-}
-
-static int ddb_rtc_bcd_mode(void)
-{
- return 1;
-}
-
-struct rtc_ops ddb_rtc_ops = {
- ddb_rtc_read_data,
- ddb_rtc_write_data,
- ddb_rtc_bcd_mode
-};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)