Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Whitespace
details: https://anonhg.NetBSD.org/src/rev/76c3f23ea271
branches: trunk
changeset: 368670:76c3f23ea271
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Jul 26 14:53:12 2022 +0000
description:
Whitespace
diffstat:
sys/dev/pci/if_bge.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (83 lines):
diff -r a4a2da10fb94 -r 76c3f23ea271 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Tue Jul 26 00:25:45 2022 +0000
+++ b/sys/dev/pci/if_bge.c Tue Jul 26 14:53:12 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.366 2022/07/22 06:31:08 skrll Exp $ */
+/* $NetBSD: if_bge.c,v 1.367 2022/07/26 14:53:12 skrll Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.366 2022/07/22 06:31:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.367 2022/07/26 14:53:12 skrll Exp $");
#include <sys/param.h>
@@ -1286,7 +1286,7 @@
int s = pserialize_read_enter();
IFNET_READER_FOREACH(ifp) {
if (strncmp(ifp->if_xname, namebuf, namelen) != 0)
- continue;
+ continue;
/* We got a match: update if doing auto-threshold-tuning */
if (bge_auto_thresh)
bge_set_thresh(ifp, lvl);
@@ -1320,7 +1320,7 @@
/* Grab a big chunk o' storage. */
if (bus_dmamem_alloc(sc->bge_dmatag, BGE_JMEM, PAGE_SIZE, 0,
- &seg, 1, &rseg, BUS_DMA_NOWAIT)) {
+ &seg, 1, &rseg, BUS_DMA_NOWAIT)) {
aprint_error_dev(sc->bge_dev, "can't alloc rx buffers\n");
return ENOBUFS;
}
@@ -3542,7 +3542,7 @@
* First check if firmware knows we do not have SEEPROM.
*/
if (prop_dictionary_get_bool(device_properties(self),
- "without-seeprom", &no_seeprom) && no_seeprom)
+ "without-seeprom", &no_seeprom) && no_seeprom)
sc->bge_flags |= BGEF_NO_EEPROM;
else if (BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5906)
@@ -4450,7 +4450,7 @@
continue;
}
if (bge_newbuf_jumbo(sc, sc->bge_jumbo,
- NULL)== ENOBUFS) {
+ NULL) == ENOBUFS) {
if_statinc(ifp, if_ierrors);
bge_newbuf_jumbo(sc, sc->bge_jumbo, m);
continue;
@@ -4926,7 +4926,7 @@
* (thus perhaps avoiding the bcm5700 dma-min bug).
*/
for (last = pkt; last->m_next != NULL; last = last->m_next) {
- continue; /* do nothing */
+ continue; /* do nothing */
}
/* `last' now points to last in chain. */
@@ -4990,8 +4990,8 @@
m = prev;
continue;
} else if (m->m_next != NULL &&
- M_TRAILINGSPACE(m) >= shortfall &&
- m->m_next->m_len >= (8 + shortfall)) {
+ M_TRAILINGSPACE(m) >= shortfall &&
+ m->m_next->m_len >= (8 + shortfall)) {
/* m is writable and have enough data in next, pull up. */
memcpy(m->m_data + m->m_len, m->m_next->m_data,
@@ -5183,7 +5183,7 @@
aprint_error_dev(sc->bge_dev,
"TSO: hard case m0->m_len == %d < ip/tcp hlen %zd,"
"not handled yet\n",
- m0->m_len, hlen+ sizeof(struct tcphdr));
+ m0->m_len, hlen+ sizeof(struct tcphdr));
#ifdef NOTYET
/*
* XXX jonathan%NetBSD.org@localhost: untested.
Home |
Main Index |
Thread Index |
Old Index