mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 13:34:38 +08:00
net: sgi: ioc3-eth: Fix IPG settings
The half/full duplex settings for inter packet gap counters/timer were reversed. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8dff19a6dc
commit
3498cb272e
@ -79,8 +79,8 @@
|
||||
#define RX_OFFSET (sizeof(struct ioc3_erxbuf) + NET_IP_ALIGN)
|
||||
#define RX_BUF_SIZE (13 * IOC3_DMA_XFER_LEN)
|
||||
|
||||
#define ETCSR_FD ((17 << ETCSR_IPGR2_SHIFT) | (11 << ETCSR_IPGR1_SHIFT) | 21)
|
||||
#define ETCSR_HD ((21 << ETCSR_IPGR2_SHIFT) | (21 << ETCSR_IPGR1_SHIFT) | 21)
|
||||
#define ETCSR_FD ((21 << ETCSR_IPGR2_SHIFT) | (21 << ETCSR_IPGR1_SHIFT) | 21)
|
||||
#define ETCSR_HD ((17 << ETCSR_IPGR2_SHIFT) | (11 << ETCSR_IPGR1_SHIFT) | 21)
|
||||
|
||||
/* Private per NIC data of the driver. */
|
||||
struct ioc3_private {
|
||||
|
Loading…
Reference in New Issue
Block a user