[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH rhel 5.?] Create efirtc device node on ia64 to access hw clock (#485200)



Setting system time with hwclock in setuptime step fails on ia64 probably
because we don't create /dev/efirtc in loader.
---
 loader2/devices.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/loader2/devices.h b/loader2/devices.h
index e61e58a..36d1cb6 100644
--- a/loader2/devices.h
+++ b/loader2/devices.h
@@ -91,6 +91,9 @@ struct devnode devnodes[] = {
     {"adb", CHARDEV, 56, 0, 0644, "root", "root"},
     {"iseries", DIRTYPE, 0, 0, 0755, "root", "root" },
 #endif
+#ifdef __ia64__
+    {"efirtc", CHARDEV, 10, 136, 0644, "root", "root"},
+#endif
     {"rtc", CHARDEV, 10, 135, 0644, "root", "root"},
     { NULL, 0, 0, 0, 0, NULL, NULL },
 };
-- 
1.5.4.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]