Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Whitespace
details: https://anonhg.NetBSD.org/src/rev/963f8d40f8f2
branches: nick-nhusb
changeset: 334445:963f8d40f8f2
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Mar 20 09:15:07 2016 +0000
description:
Whitespace
diffstat:
sys/dev/usb/emdtv_dtv.c | 6 +++---
sys/dev/usb/if_athn_usb.c | 8 ++++----
sys/dev/usb/uchcom.c | 8 ++++----
sys/dev/usb/udsir.c | 6 +++---
sys/dev/usb/uhso.c | 20 ++++++++++----------
5 files changed, 24 insertions(+), 24 deletions(-)
diffs (200 lines):
diff -r 5dfe9fd09a31 -r 963f8d40f8f2 sys/dev/usb/emdtv_dtv.c
--- a/sys/dev/usb/emdtv_dtv.c Sun Mar 20 08:42:19 2016 +0000
+++ b/sys/dev/usb/emdtv_dtv.c Sun Mar 20 09:15:07 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emdtv_dtv.c,v 1.10.14.5 2015/12/28 09:26:33 skrll Exp $ */
+/* $NetBSD: emdtv_dtv.c,v 1.10.14.6 2016/03/20 09:15:07 skrll Exp $ */
/*-
* Copyright (c) 2008, 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emdtv_dtv.c,v 1.10.14.5 2015/12/28 09:26:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emdtv_dtv.c,v 1.10.14.6 2016/03/20 09:15:07 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -408,7 +408,7 @@
struct emdtv_isoc_xfer *ix = priv;
struct emdtv_softc *sc = ix->ix_sc;
struct dtv_payload payload;
- struct usbd_pipe * isoc = sc->sc_isoc_pipe;
+ struct usbd_pipe *isoc = sc->sc_isoc_pipe;
uint32_t len;
uint8_t *buf;
int i;
diff -r 5dfe9fd09a31 -r 963f8d40f8f2 sys/dev/usb/if_athn_usb.c
--- a/sys/dev/usb/if_athn_usb.c Sun Mar 20 08:42:19 2016 +0000
+++ b/sys/dev/usb/if_athn_usb.c Sun Mar 20 09:15:07 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_athn_usb.c,v 1.6.8.8 2015/12/28 09:26:33 skrll Exp $ */
+/* $NetBSD: if_athn_usb.c,v 1.6.8.9 2016/03/20 09:15:07 skrll Exp $ */
/* $OpenBSD: if_athn_usb.c,v 1.12 2013/01/14 09:50:31 jsing Exp $ */
/*-
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_athn_usb.c,v 1.6.8.8 2015/12/28 09:26:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_athn_usb.c,v 1.6.8.9 2016/03/20 09:15:07 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -562,9 +562,9 @@
}
static inline void
-athn_usb_kill_pipe(struct usbd_pipe * *pipeptr)
+athn_usb_kill_pipe(struct usbd_pipe **pipeptr)
{
- struct usbd_pipe * pipe;
+ struct usbd_pipe *pipe;
CTASSERT(sizeof(pipe) == sizeof(void *));
pipe = atomic_swap_ptr(pipeptr, NULL);
diff -r 5dfe9fd09a31 -r 963f8d40f8f2 sys/dev/usb/uchcom.c
--- a/sys/dev/usb/uchcom.c Sun Mar 20 08:42:19 2016 +0000
+++ b/sys/dev/usb/uchcom.c Sun Mar 20 09:15:07 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uchcom.c,v 1.13.6.6 2015/09/29 11:38:29 skrll Exp $ */
+/* $NetBSD: uchcom.c,v 1.13.6.7 2016/03/20 09:15:07 skrll Exp $ */
/*
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uchcom.c,v 1.13.6.6 2015/09/29 11:38:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uchcom.c,v 1.13.6.7 2016/03/20 09:15:07 skrll Exp $");
/*
* driver for WinChipHead CH341/340, the worst USB-serial chip in the world.
@@ -188,7 +188,7 @@
usbd_status);
static int set_config(struct uchcom_softc *);
-static int find_ifaces(struct uchcom_softc *, struct usbd_interface * *);
+static int find_ifaces(struct uchcom_softc *, struct usbd_interface **);
static int find_endpoints(struct uchcom_softc *,
struct uchcom_endpoints *);
static void close_intr_pipe(struct uchcom_softc *);
@@ -369,7 +369,7 @@
}
static int
-find_ifaces(struct uchcom_softc *sc, struct usbd_interface * *riface)
+find_ifaces(struct uchcom_softc *sc, struct usbd_interface **riface)
{
usbd_status err;
diff -r 5dfe9fd09a31 -r 963f8d40f8f2 sys/dev/usb/udsir.c
--- a/sys/dev/usb/udsir.c Sun Mar 20 08:42:19 2016 +0000
+++ b/sys/dev/usb/udsir.c Sun Mar 20 09:15:07 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udsir.c,v 1.1.14.8 2016/03/20 08:42:19 skrll Exp $ */
+/* $NetBSD: udsir.c,v 1.1.14.9 2016/03/20 09:15:07 skrll Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udsir.c,v 1.1.14.8 2016/03/20 08:42:19 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udsir.c,v 1.1.14.9 2016/03/20 09:15:07 skrll Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -175,7 +175,7 @@
struct udsir_softc *sc = device_private(self);
struct usbif_attach_arg *uiaa = aux;
struct usbd_device *dev = uiaa->uiaa_device;
- struct usbd_interface * iface = uiaa->uiaa_iface;
+ struct usbd_interface *iface = uiaa->uiaa_iface;
char *devinfop;
usb_endpoint_descriptor_t *ed;
uint8_t epcount;
diff -r 5dfe9fd09a31 -r 963f8d40f8f2 sys/dev/usb/uhso.c
--- a/sys/dev/usb/uhso.c Sun Mar 20 08:42:19 2016 +0000
+++ b/sys/dev/usb/uhso.c Sun Mar 20 09:15:07 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhso.c,v 1.17.2.7 2016/03/20 08:42:19 skrll Exp $ */
+/* $NetBSD: uhso.c,v 1.17.2.8 2016/03/20 09:15:07 skrll Exp $ */
/*-
* Copyright (c) 2009 Iain Hibbert
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhso.c,v 1.17.2.7 2016/03/20 08:42:19 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhso.c,v 1.17.2.8 2016/03/20 09:15:07 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -453,7 +453,7 @@
{
struct uhso_softc *sc = device_private(self);
struct usb_attach_arg *uaa = aux;
- struct usbd_interface * ifh;
+ struct usbd_interface *ifh;
char *devinfop;
uint8_t count, i, spec;
usbd_status status;
@@ -581,8 +581,8 @@
{
umass_bbb_cbw_t cmd;
usb_endpoint_descriptor_t *ed;
- struct usbd_interface * ifh;
- struct usbd_pipe * pipe;
+ struct usbd_interface *ifh;
+ struct usbd_pipe *pipe;
struct usbd_xfer *xfer;
usbd_status status;
@@ -682,7 +682,7 @@
}
Static usb_endpoint_descriptor_t *
-uhso_get_endpoint(struct usbd_interface * ifh, int type, int dir)
+uhso_get_endpoint(struct usbd_interface *ifh, int type, int dir)
{
usb_endpoint_descriptor_t *ed;
uint8_t count, i;
@@ -719,12 +719,12 @@
};
Static void
-uhso_mux_attach(struct uhso_softc *sc, struct usbd_interface * ifh, int index)
+uhso_mux_attach(struct uhso_softc *sc, struct usbd_interface *ifh, int index)
{
usbd_desc_iter_t iter;
const usb_descriptor_t *desc;
usb_endpoint_descriptor_t *ed;
- struct usbd_pipe * pipe;
+ struct usbd_pipe *pipe;
struct uhso_port *hp;
uint8_t *buf;
size_t size;
@@ -1030,7 +1030,7 @@
*/
Static void
-uhso_bulk_attach(struct uhso_softc *sc, struct usbd_interface * ifh, int index)
+uhso_bulk_attach(struct uhso_softc *sc, struct usbd_interface *ifh, int index)
{
usb_endpoint_descriptor_t *ed;
usb_interface_descriptor_t *id;
@@ -1890,7 +1890,7 @@
*/
Static void
-uhso_ifnet_attach(struct uhso_softc *sc, struct usbd_interface * ifh, int index)
+uhso_ifnet_attach(struct uhso_softc *sc, struct usbd_interface *ifh, int index)
{
usb_endpoint_descriptor_t *ed;
struct uhso_port *hp;
Home |
Main Index |
Thread Index |
Old Index