linux-mips
[Top] [All Lists]

[PATCH][2.4] add #define for clock of VRC4173

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][2.4] add #define for clock of VRC4173
From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Date: Fri, 19 Dec 2003 12:49:16 +0900
Cc: yuasa@hh.iij4u.or.jp, linux-mips <linux-mips@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hello Ralf,

I made the patch for vrc4173.h.
It add #define for clock of VRC4173.

This patch exists for linux_2_4 tag of linux-mips.org CVS.
Please apply this patch.

Yoichi

diff -urN -X dontdiff linux-orig/include/asm-mips/vr41xx/vrc4173.h 
linux/include/asm-mips/vr41xx/vrc4173.h
--- linux-orig/include/asm-mips/vr41xx/vrc4173.h        2003-11-25 
15:25:37.000000000 +0900
+++ linux/include/asm-mips/vr41xx/vrc4173.h     2003-12-19 12:29:30.000000000 
+0900
@@ -72,6 +72,19 @@
 /*
  * Clock Mask Unit
  */
+#define VRC4173_PIU_CLOCK              0x0001
+#define VRC4173_KIU_CLOCK              0x0002
+#define VRC4173_AIU_CLOCK              0x0004
+#define VRC4173_PS2CH1_CLOCK           0x0008
+#define VRC4173_PS2CH2_CLOCK           0x0010
+#define VRC4173_USBU_PCI_CLOCK         0x0020
+#define VRC4173_CARDU1_PCI_CLOCK       0x0040
+#define VRC4173_CARDU2_PCI_CLOCK       0x0080
+#define VRC4173_AC97U_PCI_CLOCK                0x0100
+#define VRC4173_USBU_48MHz_CLOCK       0x0400
+#define VRC4173_EXT_48MHz_CLOCK                0x0800
+#define VRC4173_48MHz_CLOCK            0x1000
+
 extern void vrc4173_clock_supply(u16 mask);
 extern void vrc4173_clock_mask(u16 mask);
 

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH][2.4] add #define for clock of VRC4173, Yoichi Yuasa <=