From 920bae3858a66ddb5fe8d5ac8660cdbc00727388 Mon Sep 17 00:00:00 2001 From: mux Date: Sun, 20 Apr 2003 01:04:04 +0000 Subject: style(9). --- sys/dev/tx/if_txreg.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'sys/dev/tx') diff --git a/sys/dev/tx/if_txreg.h b/sys/dev/tx/if_txreg.h index 2028850..a53d24b 100644 --- a/sys/dev/tx/if_txreg.h +++ b/sys/dev/tx/if_txreg.h @@ -190,12 +190,14 @@ #define EEPROM_SSID 0x0006 /* Subsystem Id */ /* - * Hardware structures + * Hardware structures. */ -/* EPIC's hardware descriptors, must be aligned on dword in memory */ -/* NB: to make driver happy, this two structures MUST have thier sizes */ -/* be divisor of PAGE_SIZE */ +/* + * EPIC's hardware descriptors, must be aligned on dword in memory. + * NB: to make driver happy, this two structures MUST have their sizes + * be divisor of PAGE_SIZE. + */ struct epic_tx_desc { volatile u_int16_t status; volatile u_int16_t txlength; @@ -212,9 +214,11 @@ struct epic_rx_desc { volatile u_int32_t next; }; -/* This structure defines EPIC's fragment list, maximum number of frags */ -/* is 63. Let use maximum, becouse size of struct MUST be divisor of */ -/* PAGE_SIZE, and sometimes come mbufs with more then 30 frags */ +/* + * This structure defines EPIC's fragment list, maximum number of frags + * is 63. Let's use the maximum, because size of struct MUST be divisor + * of PAGE_SIZE, and sometimes come mbufs with more then 30 frags. + */ #define EPIC_MAX_FRAGS 63 struct epic_frag_list { volatile u_int32_t numfrags; @@ -242,4 +246,3 @@ struct epic_frag_list { #define SMC9434TX_XG_ADHOC 0xA021 #define SMC9432FTX_ADHOC 0xA022 #define SMC9432BTX1 0xA024 - -- cgit v1.1