mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +00:00
[RTL8139]
- Switch back to a 32K receive window, because WRAP doesn't work with a 64K window and our receive code depends on that functionality svn path=/trunk/; revision=59430
This commit is contained in:
parent
25a49804c0
commit
945604b9dd
1 changed files with 6 additions and 4 deletions
|
@ -12,8 +12,10 @@
|
|||
#define RESOURCE_LIST_TAG 'Rltr'
|
||||
|
||||
#define MAX_RESET_ATTEMPTS 25
|
||||
#define RECEIVE_BUFFER_SIZE (65536)
|
||||
#define FULL_RECEIVE_BUFFER_SIZE (65536 + 16 + 2048)
|
||||
#define RECEIVE_BUFFER_SIZE (32768)
|
||||
// The full receive window requires 16 bytes of padding
|
||||
// plus 2048 for receive overflows (because of WRAP)
|
||||
#define FULL_RECEIVE_BUFFER_SIZE (32768 + 16 + 2048)
|
||||
#define RECV_CRC_LENGTH 4
|
||||
|
||||
#define MINIMUM_FRAME_SIZE 60
|
||||
|
@ -21,8 +23,8 @@
|
|||
|
||||
#define DRIVER_VERSION 1
|
||||
|
||||
// 1/2 packet early RX, 512 byte FIFO threshold, 64K RX buffer, unlimited DMA bursts, WRAP
|
||||
#define RC_VAL (0x800BF80)
|
||||
// 1/2 packet early RX, 512 byte FIFO threshold, 32K RX buffer, unlimited DMA bursts, WRAP
|
||||
#define RC_VAL (0x800B780)
|
||||
|
||||
// 2048 byte DMA bursts
|
||||
#define TC_VAL (0x700)
|
||||
|
|
Loading…
Reference in a new issue