Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 21:38:18 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365109 - in head/sys/dev/altera: atse msgdma pio softdma
Message-ID:  <202009012138.081LcIZH032673@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Sep  1 21:38:18 2020
New Revision: 365109
URL: https://svnweb.freebsd.org/changeset/base/365109

Log:
  altera: clean up empty lines in .c and .h files

Modified:
  head/sys/dev/altera/atse/if_atse.c
  head/sys/dev/altera/atse/if_atsereg.h
  head/sys/dev/altera/msgdma/msgdma.c
  head/sys/dev/altera/pio/pio.h
  head/sys/dev/altera/softdma/softdma.c

Modified: head/sys/dev/altera/atse/if_atse.c
==============================================================================
--- head/sys/dev/altera/atse/if_atse.c	Tue Sep  1 21:38:06 2020	(r365108)
+++ head/sys/dev/altera/atse/if_atse.c	Tue Sep  1 21:38:18 2020	(r365109)
@@ -588,7 +588,6 @@ atse_get_eth_address(struct atse_softc *sc)
 	if (sc->atse_eth_addr[0] == 0x00 && sc->atse_eth_addr[1] == 0x07 &&
 	    sc->atse_eth_addr[2] == 0xed && sc->atse_eth_addr[3] == 0xff &&
 	    sc->atse_eth_addr[4] == 0xed && sc->atse_eth_addr[5] == 0x15) {
-
 		device_printf(sc->atse_dev, "Factory programmed Ethernet "
 		    "hardware address blacklisted.  Falling back to random "
 		    "address to avoid collisions.\n");
@@ -1177,7 +1176,6 @@ static struct atse_rx_err_stats_regs {
 	const char *name;
 	const char *descr;
 } atse_rx_err_stats_regs[] = {
-
 #define	ATSE_RX_ERR_FIFO_THRES_EOP	0 /* FIFO threshold reached, on EOP. */
 #define	ATSE_RX_ERR_ELEN		1 /* Frame/payload length not valid. */
 #define	ATSE_RX_ERR_CRC32		2 /* CRC-32 error. */
@@ -1559,7 +1557,6 @@ atse_miibus_statchg(device_t dev)
 
 	if ((mii->mii_media_status & (IFM_ACTIVE | IFM_AVALID)) ==
 	    (IFM_ACTIVE | IFM_AVALID)) {
-
 		switch (IFM_SUBTYPE(mii->mii_media_active)) {
 		case IFM_10_T:
 			val4 |= BASE_CFG_COMMAND_CONFIG_ENA_10;

Modified: head/sys/dev/altera/atse/if_atsereg.h
==============================================================================
--- head/sys/dev/altera/atse/if_atsereg.h	Tue Sep  1 21:38:06 2020	(r365108)
+++ head/sys/dev/altera/atse/if_atsereg.h	Tue Sep  1 21:38:18 2020	(r365109)
@@ -118,7 +118,6 @@ static char *fifo_memory_block[] = {
 #define	PCS_TXRX_ENABLE_DYNAMIC_RECONF	0	/* Dynamic trans. reconfig. */
 #define	PCS_TXRX_STARTING_CHANNEL	0	/* 0..284. */
 
-
 /* -------------------------------------------------------------------------- */
 
 /* XXX more values based on the bitmaps provided. Cleanup. */
@@ -397,7 +396,6 @@ static char *fifo_memory_block[] = {
 /* 0xC8 - 0xCF, Reserved; set to zero, ignore on read. */
 /* 0xD7 - 0xFF, Reserved; set to zero, ignore on read. */
 
-
 /* -------------------------------------------------------------------------- */
 
 /* DE4 Intel Strata Flash Ethernet Option Bits area. */
@@ -456,7 +454,6 @@ struct atse_softc {
 	struct buf_ring		*br;
 	struct mtx		br_mtx;
 };
-
 
 int	atse_attach(device_t);
 int	atse_detach_dev(device_t);

Modified: head/sys/dev/altera/msgdma/msgdma.c
==============================================================================
--- head/sys/dev/altera/msgdma/msgdma.c	Tue Sep  1 21:38:06 2020	(r365108)
+++ head/sys/dev/altera/msgdma/msgdma.c	Tue Sep  1 21:38:18 2020	(r365109)
@@ -399,7 +399,6 @@ msgdma_desc_alloc(struct msgdma_softc *sc, struct msgd
 	return (0);
 }
 
-
 static int
 msgdma_channel_alloc(device_t dev, struct xdma_channel *xchan)
 {

Modified: head/sys/dev/altera/pio/pio.h
==============================================================================
--- head/sys/dev/altera/pio/pio.h	Tue Sep  1 21:38:06 2020	(r365108)
+++ head/sys/dev/altera/pio/pio.h	Tue Sep  1 21:38:18 2020	(r365109)
@@ -40,4 +40,3 @@
 #define	PIO_EDGECAPT	0x0c
 #define	PIO_OUTSET	0x10
 #define	PIO_OUTCLR	0x14
-

Modified: head/sys/dev/altera/softdma/softdma.c
==============================================================================
--- head/sys/dev/altera/softdma/softdma.c	Tue Sep  1 21:38:06 2020	(r365108)
+++ head/sys/dev/altera/softdma/softdma.c	Tue Sep  1 21:38:18 2020	(r365109)
@@ -501,7 +501,6 @@ softdma_process_descriptors(struct softdma_channel *ch
 	desc = &chan->descs[chan->idx_tail];
 
 	while (desc != NULL) {
-
 		if ((desc->control & CONTROL_OWN) == 0) {
 			break;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012138.081LcIZH032673>