Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Add an explicit initialization of .new_device = ...



details:   https://anonhg.NetBSD.org/src/rev/33e4ebb74bc8
branches:  trunk
changeset: 790957:33e4ebb74bc8
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Oct 28 17:40:43 2013 +0000

description:
Add an explicit initialization of .new_device = NULL

diffstat:

 sys/dev/usb/ehci.c |  5 +++--
 sys/dev/usb/ohci.c |  5 +++--
 sys/dev/usb/uhci.c |  5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diffs (78 lines):

diff -r 4866de54a52a -r 33e4ebb74bc8 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Mon Oct 28 11:24:08 2013 +0000
+++ b/sys/dev/usb/ehci.c        Mon Oct 28 17:40:43 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.212 2013/09/12 19:53:41 martin Exp $ */
+/*     $NetBSD: ehci.c,v 1.213 2013/10/28 17:40:43 matt Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.212 2013/09/12 19:53:41 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.213 2013/10/28 17:40:43 matt Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -267,6 +267,7 @@
        .allocx =       ehci_allocx,
        .freex =        ehci_freex,
        .get_lock =     ehci_get_lock,
+       .new_device =   NULL,
 };
 
 Static const struct usbd_pipe_methods ehci_root_ctrl_methods = {
diff -r 4866de54a52a -r 33e4ebb74bc8 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Mon Oct 28 11:24:08 2013 +0000
+++ b/sys/dev/usb/ohci.c        Mon Oct 28 17:40:43 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.243 2013/09/15 09:16:21 martin Exp $        */
+/*     $NetBSD: ohci.c,v 1.244 2013/10/28 17:40:43 matt Exp $  */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.243 2013/09/15 09:16:21 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.244 2013/10/28 17:40:43 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -259,6 +259,7 @@
        .allocx =       ohci_allocx,
        .freex =        ohci_freex,
        .get_lock =     ohci_get_lock,
+       .new_device =   NULL,
 };
 
 Static const struct usbd_pipe_methods ohci_root_ctrl_methods = {
diff -r 4866de54a52a -r 33e4ebb74bc8 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Mon Oct 28 11:24:08 2013 +0000
+++ b/sys/dev/usb/uhci.c        Mon Oct 28 17:40:43 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.261 2013/09/29 07:28:20 skrll Exp $ */
+/*     $NetBSD: uhci.c,v 1.262 2013/10/28 17:40:43 matt Exp $  */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.261 2013/09/29 07:28:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.262 2013/10/28 17:40:43 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -291,6 +291,7 @@
        .allocx =       uhci_allocx,
        .freex =        uhci_freex,
        .get_lock =     uhci_get_lock,
+       .new_device =   NULL,
 };
 
 const struct usbd_pipe_methods uhci_root_ctrl_methods = {



Home | Main Index | Thread Index | Old Index