Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 21:42:49 +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: r365122 - head/sys/dev/bge
Message-ID:  <202009012142.081LgnnN039377@repo.freebsd.org>

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

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

Modified:
  head/sys/dev/bge/if_bge.c
  head/sys/dev/bge/if_bgereg.h

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c	Tue Sep  1 21:42:38 2020	(r365121)
+++ head/sys/dev/bge/if_bge.c	Tue Sep  1 21:42:49 2020	(r365122)
@@ -240,7 +240,6 @@ static const struct bge_type {
 	{ FJTSU_VENDORID,	FJTSU_DEVICEID_PW008GE4 },
 	{ FJTSU_VENDORID,	FJTSU_DEVICEID_PW008GE5 },
 	{ FJTSU_VENDORID,	FJTSU_DEVICEID_PP250450 },
-
 	{ 0, 0 }
 };
 
@@ -255,7 +254,6 @@ static const struct bge_vendor {
 	{ SK_VENDORID,		"SysKonnect" },
 	{ TC_VENDORID,		"3Com" },
 	{ FJTSU_VENDORID,	"Fujitsu" },
-
 	{ 0, NULL }
 };
 
@@ -330,7 +328,6 @@ static const struct bge_revision {
 	{ BGE_CHIPID_BCM57765_B0,	"BCM57765 B0" },
 	{ BGE_CHIPID_BCM57780_A0,	"BCM57780 A0" },
 	{ BGE_CHIPID_BCM57780_A1,	"BCM57780 A1" },
-
 	{ 0, NULL }
 };
 
@@ -363,7 +360,6 @@ static const struct bge_revision bge_majorrevs[] = {
 	{ BGE_ASICREV_BCM5719,		"unknown BCM5719" },
 	{ BGE_ASICREV_BCM5720,		"unknown BCM5720" },
 	{ BGE_ASICREV_BCM5762,		"unknown BCM5762" },
-
 	{ 0, NULL }
 };
 

Modified: head/sys/dev/bge/if_bgereg.h
==============================================================================
--- head/sys/dev/bge/if_bgereg.h	Tue Sep  1 21:42:38 2020	(r365121)
+++ head/sys/dev/bge/if_bgereg.h	Tue Sep  1 21:42:49 2020	(r365122)
@@ -145,7 +145,6 @@
 #define	BGE_EXT_SSRAM			0x00020000
 #define	BGE_EXT_SSRAM_END		0x000FFFFF
 
-
 /*
  * BCM570x register offsets. These are memory mapped registers
  * which can be accessed with the CSR_READ_4()/CSR_WRITE_4() macros.
@@ -462,7 +461,6 @@
 #define	BGE_PCICLOCKCTL_SYSPLL_DISABLE	0x00008000
 #define	BGE_PCICLOCKCTL_BIST_ENABLE	0x00010000
 
-
 #ifndef PCIM_CMD_MWIEN
 #define	PCIM_CMD_MWIEN			0x0010
 #endif
@@ -902,7 +900,6 @@
 #define	BGE_SGDIGSTS_PAUSE_CAP		0x00080000
 #define	BGE_SGDIGSTS_ASYM_PAUSE		0x00100000
 
-
 /* MI communication register */
 #define	BGE_MICOMM_DATA			0x0000FFFF
 #define	BGE_MICOMM_REG			0x001F0000
@@ -927,7 +924,6 @@
 #define	BGE_MIMODE_500KHZ_CONST		0x00008000
 #define	BGE_MIMODE_BASE			0x000C0000
 
-
 /*
  * Send data initiator control registers.
  */
@@ -1157,7 +1153,6 @@
 #define	BGE_RXLP_LOCSTAT_IFIN_ERRORS	0x2254
 #define	BGE_RXLP_LOCSTAT_RXTHRESH_HIT	0x2258
 
-
 /* Receive List Placement mode register */
 #define	BGE_RXLPMODE_RESET		0x00000001
 #define	BGE_RXLPMODE_ENABLE		0x00000002
@@ -1208,7 +1203,6 @@
 #define	BGE_RDBDI_RETURN_PROD15		0x24BC
 #define	BGE_RDBDI_HWDIAG		0x24C0
 
-
 /* Receive Data and Receive BD Initiator Mode register */
 #define	BGE_RDBDIMODE_RESET		0x00000001
 #define	BGE_RDBDIMODE_ENABLE		0x00000002
@@ -1221,7 +1215,6 @@
 #define	BGE_RDBDISTAT_GIANT_ATTN	0x00000008
 #define	BGE_RDBDISTAT_BADRINGSZ_ATTN	0x00000010
 
-
 /*
  * Receive Data Completion Control registers
  */
@@ -1410,7 +1403,6 @@
 #define	BGE_HCC_TX_BD_CONS14		0x3CF8
 #define	BGE_HCC_TX_BD_CONS15		0x3CFC
 
-
 /* Host coalescing mode register */
 #define	BGE_HCCMODE_RESET		0x00000001
 #define	BGE_HCCMODE_ENABLE		0x00000002
@@ -1544,7 +1536,6 @@
 #define	BGE_BMANSTAT_ERRO		0x00000004
 #define	BGE_BMANSTAT_LOWMBUF_ERROR	0x00000010
 
-
 /*
  * Read DMA Control registers
  */
@@ -1652,7 +1643,6 @@
 #define	BGE_WDMASTAT_PCI_FIFOOREAD_ATTN	0x00000100
 #define	BGE_WDMASTAT_LOCREAD_TOOBIG	0x00000200
 
-
 /*
  * RX CPU registers
  */
@@ -1748,7 +1738,6 @@
 #define	BGE_TXCPUSTAT_MA_REQ_FIFOOFLOW	0x40000000
 #define	BGE_TXCPUSTAT_BLOCKING_READ	0x80000000
 
-
 /*
  * Low priority mailbox registers
  */
@@ -1924,7 +1913,6 @@
 #define	BGE_MSISTAT_MSI_FIFOUFLOW_ATTN	0x00000020
 #define	BGE_MSISTAT_MSI_FIFOOFLOW_ATTN	0x00000040
 
-
 /*
  * DMA Completion registers
  */
@@ -1934,7 +1922,6 @@
 #define	BGE_DMACMODE_RESET		0x00000001
 #define	BGE_DMACMODE_ENABLE		0x00000002
 
-
 /*
  * General control registers.
  */
@@ -2427,7 +2414,6 @@ struct bge_status_block {
 #define	BGE_STATFLAG_LINKSTATE_CHANGED	0x00000002
 #define	BGE_STATFLAG_ERROR		0x00000004
 
-
 /*
  * Broadcom Vendor ID
  * (Note: the BCM570x still defaults to the Alteon PCI vendor ID
@@ -2665,7 +2651,6 @@ struct bge_rx_mac_stats {
 	bge_hostaddr		etherStatsPkts4096Octetsto8191Octets;
 	bge_hostaddr		etherStatsPkts8192Octetsto9022Octets;
 };
-
 
 /* Statistics maintained MAC Transmit block. */
 struct bge_tx_mac_stats {



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