Module Name: src Committed By: matt Date: Mon Oct 28 17:40:43 UTC 2013
Modified Files: src/sys/dev/usb: ehci.c ohci.c uhci.c Log Message: Add an explicit initialization of .new_device = NULL To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213 src/sys/dev/usb/ehci.c cvs rdiff -u -r1.243 -r1.244 src/sys/dev/usb/ohci.c cvs rdiff -u -r1.261 -r1.262 src/sys/dev/usb/uhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/ehci.c diff -u src/sys/dev/usb/ehci.c:1.212 src/sys/dev/usb/ehci.c:1.213 --- src/sys/dev/usb/ehci.c:1.212 Thu Sep 12 19:53:41 2013 +++ src/sys/dev/usb/ehci.c Mon Oct 28 17:40:43 2013 @@ -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 @@ Static const struct usbd_bus_methods ehc .allocx = ehci_allocx, .freex = ehci_freex, .get_lock = ehci_get_lock, + .new_device = NULL, }; Static const struct usbd_pipe_methods ehci_root_ctrl_methods = { Index: src/sys/dev/usb/ohci.c diff -u src/sys/dev/usb/ohci.c:1.243 src/sys/dev/usb/ohci.c:1.244 --- src/sys/dev/usb/ohci.c:1.243 Sun Sep 15 09:16:21 2013 +++ src/sys/dev/usb/ohci.c Mon Oct 28 17:40:43 2013 @@ -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 @@ Static const struct usbd_bus_methods ohc .allocx = ohci_allocx, .freex = ohci_freex, .get_lock = ohci_get_lock, + .new_device = NULL, }; Static const struct usbd_pipe_methods ohci_root_ctrl_methods = { Index: src/sys/dev/usb/uhci.c diff -u src/sys/dev/usb/uhci.c:1.261 src/sys/dev/usb/uhci.c:1.262 --- src/sys/dev/usb/uhci.c:1.261 Sun Sep 29 07:28:20 2013 +++ src/sys/dev/usb/uhci.c Mon Oct 28 17:40:43 2013 @@ -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 @@ const struct usbd_bus_methods uhci_bus_m .allocx = uhci_allocx, .freex = uhci_freex, .get_lock = uhci_get_lock, + .new_device = NULL, }; const struct usbd_pipe_methods uhci_root_ctrl_methods = {