Changeset 499 in vbox for trunk/src/VBox
- Timestamp:
- Feb 1, 2007 10:20:43 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r498 r499 109 109 #define PCNET_PNPMMIO_SIZE 0x20 110 110 111 #define PCNET_SAVEDSTATE_VERSION 4111 #define PCNET_SAVEDSTATE_VERSION 5 112 112 113 113 #define BCR_MAX_RAP 50 114 114 #define MII_MAX_REG 32 115 115 #define CSR_MAX_REG 128 116 117 #define PCNET_TRQUEUE_DEPTH 4 116 118 117 119 typedef struct PCNetState_st PCNetState; … … 155 157 * Set to NIL_RTR3PTR if frame was copied to abFrameBuf. */ 156 158 RTR3PTR pvR3; 157 } aFrames[ 8];159 } aFrames[PCNET_TRQUEUE_DEPTH]; 158 160 /** The current number of frames in aFrames to transmit. */ 159 161 uint32_t iFrame; … … 252 254 STAMPROFILE StatXmitQueue; 253 255 STAMPROFILEADV StatXmitQueueFlushGC; 254 STAMCOUNTER aStatFlushCounts[ 9];255 STAMCOUNTER aStatXmitChainCounts[ 8];256 STAMCOUNTER aStatFlushCounts[PCNET_TRQUEUE_DEPTH+1]; 257 STAMCOUNTER aStatXmitChainCounts[PCNET_TRQUEUE_DEPTH]; 256 258 STAMPROFILEADV StatInterrupt; 257 259 STAMPROFILEADV StatPollTimer; … … 3864 3866 Assert(RT_ELEMENTS(pData->aMII) == MII_MAX_REG); 3865 3867 Assert(sizeof(pData->abFrameBuf) == RT_ALIGN_Z(sizeof(pData->abFrameBuf), 16)); 3868 Assert(PCNET_TRQUEUE_DEPTH*1536 <= sizeof(pData->abFrameBuf)); 3866 3869 3867 3870 /*
Note:
See TracChangeset
for help on using the changeset viewer.