Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/dev/wip/librumpusbhc whoops, restore probing of uge...



details:   https://anonhg.NetBSD.org/src/rev/c3a48aeb05bd
branches:  trunk
changeset: 748146:c3a48aeb05bd
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Oct 14 23:29:42 2009 +0000

description:
whoops, restore probing of ugen{0..3} instead of just ugen2

diffstat:

 sys/rump/dev/wip/librumpusbhc/rumpusbhc.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 45f8cdddad70 -r c3a48aeb05bd sys/rump/dev/wip/librumpusbhc/rumpusbhc.c
--- a/sys/rump/dev/wip/librumpusbhc/rumpusbhc.c Wed Oct 14 23:18:39 2009 +0000
+++ b/sys/rump/dev/wip/librumpusbhc/rumpusbhc.c Wed Oct 14 23:29:42 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpusbhc.c,v 1.7 2009/10/13 18:36:48 pooka Exp $      */
+/*     $NetBSD: rumpusbhc.c,v 1.8 2009/10/14 23:29:42 pooka Exp $      */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpusbhc.c,v 1.7 2009/10/13 18:36:48 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpusbhc.c,v 1.8 2009/10/14 23:29:42 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -130,12 +130,10 @@
 
 /* probe ugen0 through ugen3 */
 struct cfdata rumpusbhc_cfdata[] = {
-#if 0
        { "rumpusbhc", "rumpusbhc", 0, FSTATE_NOTFOUND, NULL, 0, &rumpusbhcpar},
        { "rumpusbhc", "rumpusbhc", 1, FSTATE_NOTFOUND, NULL, 0, &rumpusbhcpar},
+       { "rumpusbhc", "rumpusbhc", 2, FSTATE_NOTFOUND, NULL, 0, &rumpusbhcpar},
        { "rumpusbhc", "rumpusbhc", 3, FSTATE_NOTFOUND, NULL, 0, &rumpusbhcpar},
-#endif
-       { "rumpusbhc", "rumpusbhc", 2, FSTATE_NOTFOUND, NULL, 0, &rumpusbhcpar},
 };
 
 #define UGENDEV_BASESTR "/dev/ugen"



Home | Main Index | Thread Index | Old Index