summaryrefslogtreecommitdiffstats
path: root/sys/dev/em/if_em.h
diff options
context:
space:
mode:
authorpdeuskar <pdeuskar@FreeBSD.org>2002-07-16 16:55:03 +0000
committerpdeuskar <pdeuskar@FreeBSD.org>2002-07-16 16:55:03 +0000
commit7995d306bcdcaa2681090cfcaed794f15a85c77d (patch)
tree284e4f4e8951c0bd2650ac202095af1ba0c16b3f /sys/dev/em/if_em.h
parent4410d83dcc36f0f5f77a472d9371eb764d2e3d62 (diff)
downloadFreeBSD-src-7995d306bcdcaa2681090cfcaed794f15a85c77d.zip
FreeBSD-src-7995d306bcdcaa2681090cfcaed794f15a85c77d.tar.gz
- Use IO mode to reset the controller (82544 and beyond)
- Read the Mac address only once during attach. (This fixes the failover issue observed using the bonding driver) MFC after: 3 days
Diffstat (limited to 'sys/dev/em/if_em.h')
-rw-r--r--sys/dev/em/if_em.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/em/if_em.h b/sys/dev/em/if_em.h
index 3dc8b44..d548437 100644
--- a/sys/dev/em/if_em.h
+++ b/sys/dev/em/if_em.h
@@ -88,7 +88,6 @@ SUCH DAMAGE.
#define AUTONEG_ADV_DEFAULT (ADVERTISE_10_HALF | ADVERTISE_10_FULL | \
ADVERTISE_100_HALF | ADVERTISE_100_FULL | \
ADVERTISE_1000_FULL)
-#define EM_ENABLE_RXCSUM_OFFLOAD 1
#define EM_REPORT_TX_EARLY 2
#define EM_CHECKSUM_FEATURES (CSUM_TCP | CSUM_UDP)
#define EM_MAX_INTR 3
@@ -185,10 +184,12 @@ struct adapter {
struct em_osdep osdep;
struct device *dev;
struct resource *res_memory;
+ struct resource *res_ioport;
struct resource *res_interrupt;
void *int_handler_tag;
struct ifmedia media;
struct callout_handle timer_handle;
+ int io_rid;
u_int8_t unit;
/* Info about the board itself */
@@ -199,7 +200,6 @@ struct adapter {
u_int32_t tx_int_delay;
u_int32_t rx_int_delay;
- u_int8_t rx_checksum;
XSUM_CONTEXT_T active_checksum_context;
/* Transmit definitions */
OpenPOWER on IntegriCloud