Project

General

Profile

Bug #1176 ยป re.diff

sepherosa, 12/08/2008 02:54 AM

View differences:

sys/dev/netif/re/if_re.c
static const struct re_hwrev re_hwrevs[] = {
{ RE_HWREV_8139CPLUS, RE_MACVER_UNKN, ETHERMTU,
RE_C_HWCSUM | RE_C_8139CP },
RE_C_HWCSUM | RE_C_8139CP | RE_C_FASTE },
{ RE_HWREV_8169, RE_MACVER_UNKN, ETHERMTU,
RE_C_HWCSUM | RE_C_8169 },
......
sc->re_sim_time = 75; /* 75us */
else
sc->re_sim_time = 125; /* 125us */
sc->re_imtype = RE_IMTYPE_SIM; /* simulated interrupt moderation */
if (!RE_IS_8139CP(sc)) {
/* simulated interrupt moderation */
sc->re_imtype = RE_IMTYPE_SIM;
} else {
sc->re_imtype = RE_IMTYPE_NONE;
}
re_config_imtype(sc, sc->re_imtype);
sysctl_ctx_init(&sc->re_sysctl_ctx);
    (1-1/1)