⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
DragonFlyBSD
All Projects
DragonFlyBSD
Overview
Activity
Roadmap
Issues
Documents
Files
Repository
Download (734 Bytes)
Bug #520
ยป if_em_diff.txt
sepherosa
, 01/18/2007 01:42 AM
--- if_em.c.orig 2007-01-18 09:32:50.478362243 +0800
+++ if_em.c 2007-01-18 09:35:30.175765733 +0800
@@ -132,6 +132,8 @@
#include <dev/netif/em/if_em_hw.h>
#include <dev/netif/em/if_em.h>
+#define EM_X60_WORKAROUND
+
/*********************************************************************
* Set this to one to display debug statistics
*********************************************************************/
@@ -2884,6 +2886,11 @@ em_initialize_receive_unit(struct adapte
E1000_WRITE_REG(&adapter->hw, RXCSUM, reg_rxcsum);
}
+#ifdef EM_X60_WORKAROUND
+ if (adapter->hw.mac_type == em_82573)
+ E1000_WRITE_REG(&adapter->hw, RDTR, 32);
+#endif
+
/* Enable Receives */
E1000_WRITE_REG(&adapter->hw, RCTL, reg_rctl);
(1-1/1)
Loading...