Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sandpoint/sandpoint Minor format knots; sort a mode...



details:   https://anonhg.NetBSD.org/src/rev/6cc82e4f6bd7
branches:  trunk
changeset: 763962:6cc82e4f6bd7
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Fri Apr 08 14:09:24 2011 +0000

description:
Minor format knots; sort a model list in alphabetical order and adjust
spacing.

diffstat:

 sys/arch/sandpoint/sandpoint/iic_eumb.c |  12 ++++++------
 sys/arch/sandpoint/sandpoint/satmgr.c   |   6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (55 lines):

diff -r 56a5a1cabd86 -r 6cc82e4f6bd7 sys/arch/sandpoint/sandpoint/iic_eumb.c
--- a/sys/arch/sandpoint/sandpoint/iic_eumb.c   Fri Apr 08 13:56:51 2011 +0000
+++ b/sys/arch/sandpoint/sandpoint/iic_eumb.c   Fri Apr 08 14:09:24 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iic_eumb.c,v 1.12 2011/04/04 18:01:08 phx Exp $ */
+/* $NetBSD: iic_eumb.c,v 1.13 2011/04/08 14:09:24 nisimura Exp $ */
 
 /*-
  * Copyright (c) 2010,2011 Frank Wille.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iic_eumb.c,v 1.12 2011/04/04 18:01:08 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iic_eumb.c,v 1.13 2011/04/08 14:09:24 nisimura Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -59,10 +59,10 @@
 };
 
 static struct i2cdev rtcmodel[] = {
-   { "dlink",    "strtc",      0x68 },
-   { "kurobox",  "rs5c372rtc", 0x32 },
-   { "qnap",     "s390rtc",    0x30 },
-   { "synology", "rs5c372rtc", 0x32 },
+    { "dlink",    "strtc",      0x68 },
+    { "kurobox",  "rs5c372rtc", 0x32 },
+    { "qnap",     "s390rtc",    0x30 },
+    { "synology", "rs5c372rtc", 0x32 },
 };
 
 static void add_i2c_child_devices(device_t, const char *);
diff -r 56a5a1cabd86 -r 6cc82e4f6bd7 sys/arch/sandpoint/sandpoint/satmgr.c
--- a/sys/arch/sandpoint/sandpoint/satmgr.c     Fri Apr 08 13:56:51 2011 +0000
+++ b/sys/arch/sandpoint/sandpoint/satmgr.c     Fri Apr 08 14:09:24 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: satmgr.c,v 1.7 2011/03/26 22:36:34 phx Exp $ */
+/* $NetBSD: satmgr.c,v 1.8 2011/04/08 14:09:24 nisimura Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -136,10 +136,10 @@
 };
 
 static struct satops satmodel[] = {
+    { "dlink",    NULL, NULL, NULL, dbutton }
     { "kurobox",  NULL, kreboot, kpwroff, kbutton },
+    { "qnap",     qinit, qreboot, qpwroff, qbutton },
     { "synology", sinit, sreboot, spwroff, sbutton },
-    { "qnap",     qinit, qreboot, qpwroff, qbutton },
-    { "dlink",    NULL, NULL, NULL, dbutton }
 };
 
 /* single byte stride register layout */



Home | Main Index | Thread Index | Old Index