Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Fix the build of ALL kernel (hi matt@).



details:   https://anonhg.NetBSD.org/src/rev/714a0f4f43cf
branches:  trunk
changeset: 765954:714a0f4f43cf
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Jun 12 03:26:20 2011 +0000

description:
Fix the build of ALL kernel (hi matt@).

diffstat:

 sys/dev/usb/ubsa.c    |  6 +++---
 sys/dev/usb/usb_mem.c |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r efc0eb0d1975 -r 714a0f4f43cf sys/dev/usb/ubsa.c
--- a/sys/dev/usb/ubsa.c        Sun Jun 12 03:21:21 2011 +0000
+++ b/sys/dev/usb/ubsa.c        Sun Jun 12 03:26:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ubsa.c,v 1.26 2010/11/03 22:34:23 dyoung Exp $ */
+/*     $NetBSD: ubsa.c,v 1.27 2011/06/12 03:26:20 rmind Exp $  */
 /*-
  * Copyright (c) 2002, Alexander Kabaev <kan.FreeBSD.org>.
  * All rights reserved.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ubsa.c,v 1.26 2010/11/03 22:34:23 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ubsa.c,v 1.27 2011/06/12 03:26:20 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -90,7 +90,7 @@
 #include <dev/usb/ubsavar.h>
 
 #ifdef UBSA_DEBUG
-Static int     ubsadebug = 0;
+int            ubsadebug = 0;
 #ifdef __FreeBSD__
 SYSCTL_NODE(_hw_usb, OID_AUTO, ubsa, CTLFLAG_RW, 0, "USB ubsa");
 SYSCTL_INT(_hw_usb_ubsa, OID_AUTO, debug, CTLFLAG_RW,
diff -r efc0eb0d1975 -r 714a0f4f43cf sys/dev/usb/usb_mem.c
--- a/sys/dev/usb/usb_mem.c     Sun Jun 12 03:21:21 2011 +0000
+++ b/sys/dev/usb/usb_mem.c     Sun Jun 12 03:26:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_mem.c,v 1.48 2011/06/09 19:08:32 matt Exp $        */
+/*     $NetBSD: usb_mem.c,v 1.49 2011/06/12 03:26:20 rmind Exp $       */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_mem.c,v 1.48 2011/06/09 19:08:32 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_mem.c,v 1.49 2011/06/12 03:26:20 rmind Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -130,7 +130,7 @@
                        splx(s);
                        *dmap = b;
                        DPRINTFN(6,("usb_block_allocmem: free list size=%zu\n",
-                           p->size));
+                           b->size));
                        return (USBD_NORMAL_COMPLETION);
                }
        }
@@ -208,7 +208,7 @@
 #endif
 
 #ifdef DEBUG
-Static bool
+static bool
 usb_valid_block_p(usb_dma_block_t *b, struct usb_dma_block_qh *qh)
 {
        usb_dma_block_t *xb;



Home | Main Index | Thread Index | Old Index