diff options
author | mux <mux@FreeBSD.org> | 2003-04-20 01:04:04 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2003-04-20 01:04:04 +0000 |
commit | 920bae3858a66ddb5fe8d5ac8660cdbc00727388 (patch) | |
tree | 1c0a988d5b48412e61b65519af8b95ae0276fc03 /sys/dev/tx | |
parent | c9e51c9b11aa77bdcbfe459b0d81939b170d54e7 (diff) | |
download | FreeBSD-src-920bae3858a66ddb5fe8d5ac8660cdbc00727388.zip FreeBSD-src-920bae3858a66ddb5fe8d5ac8660cdbc00727388.tar.gz |
style(9).
Diffstat (limited to 'sys/dev/tx')
-rw-r--r-- | sys/dev/tx/if_txreg.h | 19 |
1 files changed, 11 insertions, 8 deletions
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 - |