re.diff
| b/sys/dev/netif/re/if_re.c | ||
|---|---|---|
| 200 | 200 | |
| 201 | 201 |
static const struct re_hwrev re_hwrevs[] = {
|
| 202 | 202 |
{ RE_HWREV_8139CPLUS, RE_MACVER_UNKN, ETHERMTU,
|
| 203 |
RE_C_HWCSUM | RE_C_8139CP }, |
|
| 203 |
RE_C_HWCSUM | RE_C_8139CP | RE_C_FASTE },
|
|
| 204 | 204 | |
| 205 | 205 |
{ RE_HWREV_8169, RE_MACVER_UNKN, ETHERMTU,
|
| 206 | 206 |
RE_C_HWCSUM | RE_C_8169 }, |
| ... | ... | |
| 1375 | 1375 |
sc->re_sim_time = 75; /* 75us */ |
| 1376 | 1376 |
else |
| 1377 | 1377 |
sc->re_sim_time = 125; /* 125us */ |
| 1378 |
sc->re_imtype = RE_IMTYPE_SIM; /* simulated interrupt moderation */ |
|
| 1378 |
if (!RE_IS_8139CP(sc)) {
|
|
| 1379 |
/* simulated interrupt moderation */ |
|
| 1380 |
sc->re_imtype = RE_IMTYPE_SIM; |
|
| 1381 |
} else {
|
|
| 1382 |
sc->re_imtype = RE_IMTYPE_NONE; |
|
| 1383 |
} |
|
| 1379 | 1384 |
re_config_imtype(sc, sc->re_imtype); |
| 1380 | 1385 | |
| 1381 | 1386 |
sysctl_ctx_init(&sc->re_sysctl_ctx); |