Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Whitespace
details: https://anonhg.NetBSD.org/src/rev/820da9046e50
branches: trunk
changeset: 349287:820da9046e50
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Dec 04 10:08:26 2016 +0000
description:
Whitespace
diffstat:
sys/dev/usb/emdtv.c | 8 ++++----
sys/dev/usb/if_athn_usb.c | 6 +++---
sys/dev/usb/if_aue.c | 8 ++++----
sys/dev/usb/if_axe.c | 8 ++++----
sys/dev/usb/if_urndisreg.h | 6 +++---
sys/dev/usb/if_urtw.c | 6 +++---
sys/dev/usb/if_urtwn.c | 24 ++++++++++++------------
sys/dev/usb/ohci.c | 6 +++---
sys/dev/usb/uberry.c | 18 +++++++++---------
sys/dev/usb/ubsa.c | 6 +++---
sys/dev/usb/ucom.c | 42 +++++++++++++++++++++---------------------
sys/dev/usb/udl.c | 14 +++++++-------
sys/dev/usb/udsbr.c | 6 +++---
sys/dev/usb/uhci.c | 6 +++---
sys/dev/usb/uhidev.c | 6 +++---
sys/dev/usb/uipad.c | 18 +++++++++---------
sys/dev/usb/uirdavar.h | 4 ++--
sys/dev/usb/uplcom.c | 8 ++++----
sys/dev/usb/urio.c | 6 +++---
sys/dev/usb/usb_quirks.c | 18 +++++++++---------
sys/dev/usb/usb_subr.c | 8 ++++----
sys/dev/usb/usbdi.c | 6 +++---
sys/dev/usb/uscanner.c | 6 +++---
sys/dev/usb/usscanner.c | 6 +++---
24 files changed, 125 insertions(+), 125 deletions(-)
diffs (truncated from 930 to 300 lines):
diff -r 76385ef4a1d6 -r 820da9046e50 sys/dev/usb/emdtv.c
--- a/sys/dev/usb/emdtv.c Sun Dec 04 10:07:06 2016 +0000
+++ b/sys/dev/usb/emdtv.c Sun Dec 04 10:08:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emdtv.c,v 1.11 2016/04/23 10:15:31 skrll Exp $ */
+/* $NetBSD: emdtv.c,v 1.12 2016/12/04 10:12:35 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.c,v 1.11 2016/04/23 10:15:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emdtv.c,v 1.12 2016/12/04 10:12:35 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -162,7 +162,7 @@
emdtv_dtv_detach(sc, flags);
if (sc->sc_iface != NULL) {
- status = usbd_set_interface(sc->sc_iface, 0);
+ status = usbd_set_interface(sc->sc_iface, 0);
if (status != USBD_NORMAL_COMPLETION)
aprint_error_dev(sc->sc_dev,
"couldn't stop stream: %s\n", usbd_errstr(status));
@@ -383,7 +383,7 @@
if (sc->sc_board->eb_manual_gpio == false) {
val = eeprom_offset + gpioreg;
- emdtv_write_1(sc, 0x03, 0xa0, val);
+ emdtv_write_1(sc, 0x03, 0xa0, val);
gpio_value = emdtv_read_1(sc, 0x02, 0xa0);
} else {
const struct emdtv_gpio_regs *r = &eb->eb_gpio_regs;
diff -r 76385ef4a1d6 -r 820da9046e50 sys/dev/usb/if_athn_usb.c
--- a/sys/dev/usb/if_athn_usb.c Sun Dec 04 10:07:06 2016 +0000
+++ b/sys/dev/usb/if_athn_usb.c Sun Dec 04 10:08:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_athn_usb.c,v 1.13 2016/09/05 20:58:51 skrll Exp $ */
+/* $NetBSD: if_athn_usb.c,v 1.14 2016/12/04 10:12:35 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.13 2016/09/05 20:58:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_athn_usb.c,v 1.14 2016/12/04 10:12:35 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2279,7 +2279,7 @@
Static int
athn_usb_tx(struct athn_softc *sc, struct mbuf *m, struct ieee80211_node *ni,
- struct athn_usb_tx_data *data)
+ struct athn_usb_tx_data *data)
{
struct athn_usb_softc *usc = ATHN_USB_SOFTC(sc);
struct athn_node *an = ATHN_NODE(ni);
diff -r 76385ef4a1d6 -r 820da9046e50 sys/dev/usb/if_aue.c
--- a/sys/dev/usb/if_aue.c Sun Dec 04 10:07:06 2016 +0000
+++ b/sys/dev/usb/if_aue.c Sun Dec 04 10:08:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aue.c,v 1.138 2016/11/25 12:56:29 skrll Exp $ */
+/* $NetBSD: if_aue.c,v 1.139 2016/12/04 10:12:35 skrll Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_aue.c,v 1.138 2016/11/25 12:56:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_aue.c,v 1.139 2016/12/04 10:12:35 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -662,7 +662,7 @@
*
* Note: We force all of the GPIO pins low first, *then*
* enable the ones we want.
- */
+ */
if (sc->aue_flags & LSYS) {
/* Grrr. LinkSys has to be different from everyone else. */
aue_csr_write_1(sc, AUE_GPIO0,
@@ -671,7 +671,7 @@
aue_csr_write_1(sc, AUE_GPIO0,
AUE_GPIO_OUT0 | AUE_GPIO_SEL0);
}
- aue_csr_write_1(sc, AUE_GPIO0,
+ aue_csr_write_1(sc, AUE_GPIO0,
AUE_GPIO_OUT0 | AUE_GPIO_SEL0 | AUE_GPIO_SEL1);
if (sc->aue_flags & PII)
diff -r 76385ef4a1d6 -r 820da9046e50 sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c Sun Dec 04 10:07:06 2016 +0000
+++ b/sys/dev/usb/if_axe.c Sun Dec 04 10:08:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axe.c,v 1.76 2016/12/04 10:07:06 skrll Exp $ */
+/* $NetBSD: if_axe.c,v 1.77 2016/12/04 10:08:26 skrll Exp $ */
/* $OpenBSD: if_axe.c,v 1.137 2016/04/13 11:03:37 mpi Exp $ */
/*
@@ -87,7 +87,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.76 2016/12/04 10:07:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.77 2016/12/04 10:08:26 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -209,7 +209,7 @@
{ { USB_VENDOR_IODATA, USB_PRODUCT_IODATA_ETGUS2 }, AX178 },
{ { USB_VENDOR_JVC, USB_PRODUCT_JVC_MP_PRX1}, 0 },
{ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_ETHERNET }, AX772B },
- { { USB_VENDOR_LINKSYS, USB_PRODUCT_LINKSYS_HG20F9}, AX772B },
+ { { USB_VENDOR_LINKSYS, USB_PRODUCT_LINKSYS_HG20F9}, AX772B },
{ { USB_VENDOR_LINKSYS2, USB_PRODUCT_LINKSYS2_USB200M}, 0 },
{ { USB_VENDOR_LINKSYS4, USB_PRODUCT_LINKSYS4_USB1000 }, AX178 },
{ { USB_VENDOR_LOGITEC, USB_PRODUCT_LOGITEC_LAN_GTJU2}, AX178 },
@@ -325,7 +325,7 @@
static int
axe_miibus_readreg_locked(device_t dev, int phy, int reg)
{
- AXEHIST_FUNC(); AXEHIST_CALLED();
+ AXEHIST_FUNC(); AXEHIST_CALLED();
struct axe_softc *sc = device_private(dev);
usbd_status err;
uint16_t val;
diff -r 76385ef4a1d6 -r 820da9046e50 sys/dev/usb/if_urndisreg.h
--- a/sys/dev/usb/if_urndisreg.h Sun Dec 04 10:07:06 2016 +0000
+++ b/sys/dev/usb/if_urndisreg.h Sun Dec 04 10:08:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urndisreg.h,v 1.2 2016/04/23 10:15:31 skrll Exp $ */
+/* $NetBSD: if_urndisreg.h,v 1.3 2016/12/04 10:12:35 skrll Exp $ */
/* $OpenBSD: if_urndisreg.h,v 1.14 2010/07/08 18:22:01 ckuethe Exp $ */
/*
@@ -303,5 +303,5 @@
/* Rndis offsets */
#define RNDIS_HEADER_OFFSET (sizeof(uint32_t) * 2)
#define RNDIS_DATA_OFFSET (sizeof(struct urndis_packet_msg) - \
- offsetof(struct urndis_packet_msg, \
- rm_dataoffset))
+ offsetof(struct urndis_packet_msg, \
+ rm_dataoffset))
diff -r 76385ef4a1d6 -r 820da9046e50 sys/dev/usb/if_urtw.c
--- a/sys/dev/usb/if_urtw.c Sun Dec 04 10:07:06 2016 +0000
+++ b/sys/dev/usb/if_urtw.c Sun Dec 04 10:08:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urtw.c,v 1.12 2016/11/25 12:56:29 skrll Exp $ */
+/* $NetBSD: if_urtw.c,v 1.13 2016/12/04 10:12:35 skrll Exp $ */
/* $OpenBSD: if_urtw.c,v 1.39 2011/07/03 15:47:17 matthew Exp $ */
/*-
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtw.c,v 1.12 2016/11/25 12:56:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtw.c,v 1.13 2016/12/04 10:12:35 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -2208,7 +2208,7 @@
URTW_CW_CONF_PERPACKET_RETRY);
urtw_write8_m(sc, URTW_CW_CONF, data8);
- urtw_read8_m(sc, URTW_TX_AGC_CTL, &data8);
+ urtw_read8_m(sc, URTW_TX_AGC_CTL, &data8);
data8 &= ~URTW_TX_AGC_CTL_PERPACKET_GAIN;
data8 &= ~URTW_TX_AGC_CTL_PERPACKET_ANTSEL;
data8 &= ~URTW_TX_AGC_CTL_FEEDBACK_ANT;
diff -r 76385ef4a1d6 -r 820da9046e50 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Sun Dec 04 10:07:06 2016 +0000
+++ b/sys/dev/usb/if_urtwn.c Sun Dec 04 10:08:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urtwn.c,v 1.51 2016/11/25 12:56:29 skrll Exp $ */
+/* $NetBSD: if_urtwn.c,v 1.52 2016/12/04 10:12:35 skrll Exp $ */
/* $OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $ */
/*-
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.51 2016/11/25 12:56:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.52 2016/12/04 10:12:35 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -191,7 +191,7 @@
URTWN_RTL8188E_DEV(REALTEK, RTL8188ETV),
URTWN_RTL8188E_DEV(REALTEK, RTL8188EU),
URTWN_RTL8188E_DEV(ABOCOM, RTL8188EU),
-
+
/* URTWN_RTL8192EU */
URTWN_RTL8192EU_DEV(REALTEK, RTL8192EU),
};
@@ -3079,7 +3079,7 @@
if (urtwn_read_4(sc, R92E_SYS_CFG1_8192E) & R92E_SPSLDO_SEL){
/* LDO. */
- urtwn_write_1(sc, R92E_LDO_SWR_CTRL, 0xc3);
+ urtwn_write_1(sc, R92E_LDO_SWR_CTRL, 0xc3);
}
else {
urtwn_write_2(sc, R92C_SYS_SWR_CTRL2, urtwn_read_2(sc,
@@ -3127,7 +3127,7 @@
"timeout waiting for chip power up\n");
return ETIMEDOUT;
}
-
+
urtwn_write_2(sc, R92C_CR, 0x00);
reg = urtwn_read_2(sc, R92C_CR);
reg |= R92C_CR_HCI_TXDMA_EN | R92C_CR_HCI_RXDMA_EN |
@@ -3209,9 +3209,9 @@
KASSERT(mutex_owned(&sc->sc_write_mtx));
- if (sc->chip & URTWN_CHIP_88E)
+ if (sc->chip & URTWN_CHIP_88E)
page_count = R88E_TX_PAGE_COUNT;
- else if (sc->chip & URTWN_CHIP_92EU)
+ else if (sc->chip & URTWN_CHIP_92EU)
page_count = R92E_TX_PAGE_COUNT;
else
page_count = R92C_TX_PAGE_COUNT;
@@ -3425,7 +3425,7 @@
/* Reset the FWDL checksum. */
urtwn_write_1(sc, R92C_MCUFWDL,
- urtwn_read_1(sc, R92C_MCUFWDL) | R92C_MCUFWDL_CHKSUM_RPT);
+ urtwn_read_1(sc, R92C_MCUFWDL) | R92C_MCUFWDL_CHKSUM_RPT);
DELAY(50);
/* download firmware */
@@ -3646,7 +3646,7 @@
for (i = 0; i < __arraycount(rtl8188eu_mac); i++)
urtwn_write_1(sc, rtl8188eu_mac[i].reg,
rtl8188eu_mac[i].val);
- } else if (ISSET(sc->chip, URTWN_CHIP_92EU)) {
+ } else if (ISSET(sc->chip, URTWN_CHIP_92EU)) {
for (i = 0; i < __arraycount(rtl8192eu_mac); i++)
urtwn_write_1(sc, rtl8192eu_mac[i].reg,
rtl8192eu_mac[i].val);
@@ -4413,7 +4413,7 @@
reg0 = urtwn_bb_read(sc, R92C_OFDM0_TRXPATHENA);
reg1 = urtwn_bb_read(sc, R92C_OFDM0_TRMUXPAR);
reg2 = urtwn_bb_read(sc, R92C_FPGA0_RFIFACESW(1));
-
+
/* Save adda regs to be restored when finished. */
for (i = 0; i < __arraycount(addaReg); i++)
addaBackup[i] = urtwn_bb_read(sc, addaReg[i]);
@@ -4443,7 +4443,7 @@
urtwn_bb_read(sc, R92C_HSSI_PARAM1(1))|
R92C_HSSI_PARAM1_PI);
}
-
+
attempt = 1;
next_attempt:
@@ -4462,7 +4462,7 @@
if (sc->ntxchains > 1)
urtwn_bb_write(sc, R92C_LSSI_PARAM(1), R92C_IQK_LSSI_PARAM);
-
+
urtwn_write_1(sc, R92C_TXPAUSE, (~TP_STOPBECON) & TP_STOPALL);
urtwn_write_1(sc, R92C_BCN_CTRL, (iqkBackup[1] &
~R92C_BCN_CTRL_EN_BCN));
diff -r 76385ef4a1d6 -r 820da9046e50 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c Sun Dec 04 10:07:06 2016 +0000
+++ b/sys/dev/usb/ohci.c Sun Dec 04 10:08:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.264 2016/08/14 14:42:22 skrll Exp $ */
+/* $NetBSD: ohci.c,v 1.265 2016/12/04 10:12:35 skrll 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.264 2016/08/14 14:42:22 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.265 2016/12/04 10:12:35 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -3538,7 +3538,7 @@
Home |
Main Index |
Thread Index |
Old Index