diff options
| author | Maxime Henrion <mux@FreeBSD.org> | 2003-04-20 01:04:04 +0000 |
|---|---|---|
| committer | Maxime Henrion <mux@FreeBSD.org> | 2003-04-20 01:04:04 +0000 |
| commit | 2ccf1ce757fe1a49966af7ea5a297f328a1ffac9 (patch) | |
| tree | 1c0a988d5b48412e61b65519af8b95ae0276fc03 | |
| parent | 097d4338db69ee1bfd8bb56011da98bd48f265ae (diff) | |
Notes
| -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 202885005f53..a53d24b498da 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 - |
