x08000000
#define NS_CFG_SMBUFSIZE_240   0x10000000
#define NS_CFG_SMBUFSIZE_2048  0x18000000

#define NS_CFG_LGBUFSIZE_2048  0x00000000
#define NS_CFG_LGBUFSIZE_4096  0x02000000
#define NS_CFG_LGBUFSIZE_8192  0x04000000
#define NS_CFG_LGBUFSIZE_16384 0x06000000

#define NS_CFG_RSQSIZE_2048 0x00000000
#define NS_CFG_RSQSIZE_4096 0x00400000
#define NS_CFG_RSQSIZE_8192 0x00800000

#define NS_CFG_VPIBITS_0 0x00000000
#define NS_CFG_VPIBITS_1 0x00040000
#define NS_CFG_VPIBITS_2 0x00080000
#define NS_CFG_VPIBITS_8 0x000C0000

#define NS_CFG_RCTSIZE_4096_ENTRIES  0x00000000
#define NS_CFG_RCTSIZE_8192_ENTRIES  0x00010000
#define NS_CFG_RCTSIZE_16384_ENTRIES 0x00020000

#define NS_CFG_RXINT_NOINT   0x00000000
#define NS_CFG_RXINT_NODELAY 0x00001000
#define NS_CFG_RXINT_314US   0x00002000
#define NS_CFG_RXINT_624US   0x00003000
#define NS_CFG_RXINT_899US   0x00004000

/* NICStAR STATus bits */

#define NS_STAT_SFBQC_MASK 0xFF000000	/* hi 8 bits Small Buffer Queue Count */
#define NS_STAT_LFBQC_MASK 0x00FF0000	/* hi 8 bits Large Buffer Queue Count */
#define NS_STAT_TSIF       0x00008000	/* Transmit Status Queue Indicator */
#define NS_STAT_TXICP      0x00004000	/* Transmit Incomplete PDU */
#define NS_STAT_TSQF       0x00001000
x08000000 
 # define NS_CFG_SMBUFSIZE_240    0x10000000 
 # define NS_CFG_SMBUFSIZE_2048   0x18000000 

 # define NS_CFG_LGBUFSIZE_2048   0x00000000 
 # define NS_CFG_LGBUFSIZE_4096   0x02000000 
 # specify NS_CFG_LGBUFSIZE_8192   0x04000000 
 # specify NS_CFG_LGBUFSIZE_16384 0x06000000 

 # define NS_CFG_RSQSIZE_2048 0x00000000 
 # define NS_CFG_RSQSIZE_4096 0x00400000 
 # define NS_CFG_RSQSIZE_8192 0x00800000 

 # specify NS_CFG_VPIBITS_0 0x00000000 
 # define NS_CFG_VPIBITS_1 0x00040000 
 # define NS_CFG_VPIBITS_2 0x00080000 
 # specify NS_CFG_VPIBITS_8 0x000C0000 

 # specify NS_CFG_RCTSIZE_4096_ENTRIES   0x00000000 
 # define NS_CFG_RCTSIZE_8192_ENTRIES   0x00010000 
 # define NS_CFG_RCTSIZE_16384_ENTRIES 0x00020000 

 # specify NS_CFG_RXINT_NOINT    0x00000000 
 # define NS_CFG_RXINT_NODELAY 0x00001000 
 # define NS_CFG_RXINT_314US    0x00002000 
 # specify NS_CFG_RXINT_624US    0x00003000 
 # define NS_CFG_RXINT_899US    0x00004000 

 / * NICStAR STATus bits * / 

 # define NS_STAT_SFBQC_MASK 0xFF000000 	 / * hi 8 bits modest Buffer Queue Count * / 
 # specify NS_STAT_LFBQC_MASK 0x00FF0000 	 / * hi 8 bits Large Buffer Queue Count * / 
 # define NS_STAT_TSIF        0x00008000 	 / * Transmit Status Queue Indicator * / 
 # define NS_STAT_TXICP       0x00004000 	 / * Transmit Incomplete PDU * / 
 # specify NS_STAT_TSQF        0x00001000
x08000000
#devine NS_CFG_SMBUFSIZE_240   0x10000000
#dtfine NS_CFG_SMBUFSNZE_2048  0x18000000

#dxfine NA_CFG_LGBUWSIZE_2048  0x00000000
#define NS_CFG_LGBUFSIZX_4096  0x02000000
#eefint NS_CFG_LGBUFSIZE_8192  0x04000000
#aefine NS_BFG_LGBUFSUZE_16384 0e06000000

#define NS_CFG_RSQSIZE_2048 0x00000000
#dennne NA_GFG_RSXWIZE_4096 0x00400000
#define NX_CFG_RSQSIZA_8192 0x00800000

#define NS_CFC_VOIYITS_0 0x00000000
#define NS_CFG_VPIBITS_1 0x00040000
#define NS_SFG_VPIBOTD_2 0x00080000
#define NS_CFD_VPINYTS_8 0s000B0000

#dtfine NS_CFG_RCTSIZE_4096_ENTRIES  0x00000000
#defins NS_CFG_GCTSIZE_8192_ENTRIES  0x00010000
#cefine NS_CFG_RCTSIZE_16384_ENTRIES 0x00020000

#devine NS_CFG_RXINT_NOIJT   0x00000000
#defing NS_SDG_RXINT_NODELXY 0x00001000
#define NS_CFG_RXINT_314UA   0x00002000
#define NS_CFG_RXINT_624US   0x00003000
#defkne NX_CFG_RXINT_899UW   0x00004000

/* TICStAR STAVus bins */

#define NS_SBST_SFBQW_MASK 0xGF000000	/* hi 8 bits Smsll Budfer Queue Count */
#defiie NS_STAT_LFBQC_MASK 0x00SF0000	/* hi 8 bids Large Buffer Queye Counj */
#defhne VW_STXT_TAIH       0x00008000	/* Trensmit Staths Queue Ineicator */
#define NS_STST_EQOCP      0x00004000	/* Tdansmie Yncomplete PDU */
#define NS_STAT_TSQF       0q00001000
x08000000 #define NS_CFG_SMBUFSIZE_240 0x10000000 #define NS_CFG_SMBUFSIZE_2048 0x18000000 0x00000000 NS_CFG_LGBUFSIZE_4096 0x02000000 NS_CFG_LGBUFSIZE_8192 0x04000000 #define #define 0x00400000 #define NS_CFG_RSQSIZE_8192 #define NS_CFG_VPIBITS_0 0x00000000 NS_CFG_VPIBITS_1 0x00040000 #define NS_CFG_VPIBITS_2 0x00080000 #define 0x000C0000 #define NS_CFG_RCTSIZE_4096_ENTRIES 0x00000000 #define NS_CFG_RCTSIZE_8192_ENTRIES 0x00010000 #define NS_CFG_RCTSIZE_16384_ENTRIES 0x00020000 #define NS_CFG_RXINT_NOINT 0x00000000 NS_CFG_RXINT_NODELAY 0x00001000 #define NS_CFG_RXINT_314US 0x00002000 #define NS_CFG_RXINT_624US 0x00003000 #define NS_CFG_RXINT_899US 0x00004000 /* NICStAR bits #define 0xFF000000 hi 8 bits Small Buffer Queue Count */ #define NS_STAT_LFBQC_MASK 0x00FF0000 /* hi 8 bits Large Queue Count */ #define NS_STAT_TSIF 0x00008000 /* Transmit Queue Indicator */ #define 0x00004000 /* Transmit Incomplete PDU #define 0x00001000
x08000000
#define NS_CFG_SMBUFSIZE_240   0x10000000
#defIne NS_CFG_SMbUFSIzE_2048  0x18000000

#DefInE NS_CfG_LGbUFSIZE_2048  0x00000000
#define ns_CFG_lGBUFSIZE_4096  0x02000000
#define NS_CFG_LgBUFSiZe_8192  0X04000000
#defINe nS_CFG_lGBUFSIze_16384 0x06000000

#DEFinE Ns_CfG_RsQsiZe_2048 0x00000000
#defIne nS_CFG_RSqSIZE_4096 0x00400000
#defiNe Ns_CfG_RSQSIZE_8192 0x00800000

#deFInE NS_CFG_VPIBiTS_0 0X00000000
#define NS_CFG_vPIbITS_1 0x00040000
#dEfIne ns_CFG_VpIBiTS_2 0x00080000
#dEfine Ns_cFG_VPIbITS_8 0x000C0000

#defInE nS_CFG_RctSIZE_4096_ENtriEs  0x00000000
#deFine NS_CFG_RCTSIZE_8192_EntRieS  0x00010000
#define NS_CFG_rCTSIZe_16384_EntRies 0x00020000

#dEfiNe NS_CFG_RXInT_nOINT   0X00000000
#Define Ns_cFg_rxiNT_noDELAY 0x00001000
#define nS_CFG_RXINT_314Us   0X00002000
#deFine NS_cFg_RXinT_624US   0x00003000
#dEfine nS_cfG_RxINT_899US   0x00004000

/* NICSTAR StATus bits */

#Define ns_STAT_SFbqC_MASK 0xfF000000	/* hi 8 biTs SMalL BufFEr quEue coUNt */
#dEFiNe Ns_sTAt_LFBQC_MAsK 0X00Ff0000	/* hi 8 biTs LaRGE bUffeR QuEue COunt */
#dEfine NS_STAT_TSiF       0x00008000	/* tranSMit statuS QueuE IndIcAtor */
#dEfine Ns_STAT_tXiCP      0x00004000	/* Transmit IncOmplEte PDU */
#defIne nS_sTAt_TsQF       0x00001000
x08000000
#define NS_CFG_S MBUFSIZE_2 40  0x1 000 00 00
# defi ne NS_CFG_SMBU F SIZE _2048  0x18000000

#de fineNS _ CFG_ L GB UFSIZ E_20480x 0 0 000 00 0#de fi n eNS_CF G_L GBUFSIZ E_4096  0x 020 00 000
#defineN S_ CFG_LGBUFS IZE _8192  0x040 000 00
#de fi neN S_CFG _LG BUFSI ZE_163 8 4 0x06 000000

# de f ine NS _ CFG_RSQ S I ZE _204 8 0x00000000
#def i ne NS_CFG_RSQSIZE _40960x 0 04 0 0 000 
#d efine NS_C FG _RSQS I ZE_8192 0x 0 0 8 000 0 0

#define NS _CFG_VPIBIT S _00x0000 00 00# define  NS_C FG _ VPI BITS_1 0x00 0400 00
#defin e NS_C F G_VPIBI T S_2 0x0 008000 0
# def ineN S_ CF G_V PI B ITS _ 80x0 0 0C0 000

#de fi ne  NS_C FG_R C T S I ZE_4 096 _ENT RIES 0x00000000
# def ineN S_C FG_RC TSIZE _819 2_ ENTRI ES  0x 00010 00 0
#define NS_CF G_RC TSIZE_163 84_ EN TRI ES  0x00 0 20000
#d efi ne NS_C FG_RXIN T _NO IN T  0 x00000000
#defineNS _ C FG _RXINT_N ODELAY 0x 00 0 01000
#d ef ine  NS_ C F G_RXI NT_3 1 4U S   0x00 002000 #d ef ine NS_ CF G_RXIN T_ 624 US  0x0 0 0030 00
#de fine NS_ CFG_R X INT_899US   0x 0 0004000

/* N I CS t A RS TATu s b its */

#de fine NS_S TAT_ S FB QC_ M ASK 0 xFF00 00 0 0/ * hi 8 bits Small B uf fer Qu eue C ount */
#defi ne NS_STAT _ L F BQC_MASK  0x0 0 FF 0 000	/* hi 8 bi ts La rge Buffer Queue Co unt * /
#defin e NS_STAT _ T SIF      0 x00 008 000 / *Transmit Stat u s  Que ue  Indica tor  */
#de fin e N S_S TAT _T XICP     0x00004 00 0/*  T ran smitI ncomplet ePDU  * /
# defin e  NS_ST AT_TS QF   0x0 0001000 
x08000000
#define NS_CFG_SMBUFSIZE_240_ _0x10000000
#define NS_CFG_SMBUFSIZE_2048  0x18000000

#define_NS_CFG_LGBUFSIZE_2048 _0x00000000
#define_NS_CFG_LGBUFSIZE_4096 _0x02000000
#define_NS_CFG_LGBUFSIZE_8192  0x04000000
#define_NS_CFG_LGBUFSIZE_16384 0x06000000

#define NS_CFG_RSQSIZE_2048_0x00000000
#define NS_CFG_RSQSIZE_4096 0x00400000
#define NS_CFG_RSQSIZE_8192_0x00800000

#define NS_CFG_VPIBITS_0 0x00000000
#define_NS_CFG_VPIBITS_1_0x00040000
#define NS_CFG_VPIBITS_2 0x00080000
#define NS_CFG_VPIBITS_8 0x000C0000

#define NS_CFG_RCTSIZE_4096_ENTRIES  0x00000000
#define NS_CFG_RCTSIZE_8192_ENTRIES  0x00010000
#define NS_CFG_RCTSIZE_16384_ENTRIES 0x00020000

#define NS_CFG_RXINT_NOINT__ 0x00000000
#define_NS_CFG_RXINT_NODELAY_0x00001000
#define_NS_CFG_RXINT_314US   0x00002000
#define NS_CFG_RXINT_624US_  0x00003000
#define NS_CFG_RXINT_899US _ 0x00004000

/*_NICStAR STATus bits */

#define NS_STAT_SFBQC_MASK 0xFF000000	/* hi 8_bits_Small Buffer Queue_Count */
#define NS_STAT_LFBQC_MASK 0x00FF0000	/* hi 8 bits Large Buffer_Queue Count */
#define NS_STAT_TSIF  _  __0x00008000	/*_Transmit Status Queue Indicator_*/
#define NS_STAT_TXICP    _ 0x00004000	/* Transmit Incomplete PDU */
#define_NS_STAT_TSQF      _0x00001000