dc_type
if (sc->dc_type == DC_TYPE_98713)
if (sc->dc_type == DC_TYPE_98713)
static const struct dc_type dc_devs[] = {
static const struct dc_type *
const struct dc_type *t;
const struct dc_type *t;
if (hdr->dc_type == DC_EBLOCK_MII)
switch (hdr->dc_type) {
sc->dc_type = DC_TYPE_21143;
sc->dc_type = DC_TYPE_DM9102;
sc->dc_type = DC_TYPE_AL981;
sc->dc_type = DC_TYPE_AN983;
sc->dc_type = DC_TYPE_98713;
sc->dc_type = DC_TYPE_98713A;
sc->dc_type = DC_TYPE_987x5;
sc->dc_type = DC_TYPE_987x5;
sc->dc_type = DC_TYPE_PNICII;
sc->dc_type = DC_TYPE_PNIC;
sc->dc_type = DC_TYPE_ASIX;
sc->dc_type = DC_TYPE_XIRCOM;
sc->dc_type = DC_TYPE_CONEXANT;
sc->dc_type = DC_TYPE_ULI_M5261;
sc->dc_type = DC_TYPE_ULI_M5263;
if (sc->dc_type == DC_TYPE_98713)
switch(sc->dc_type) {
static const struct dc_type *dc_devtype(device_t);
if (sc->dc_type == DC_TYPE_98713)
if (sc->dc_type == DC_TYPE_ULI_M5263) {
if (sc->dc_type == DC_TYPE_98713) {
if (sc->dc_type == DC_TYPE_98713)
if (sc->dc_type == DC_TYPE_ULI_M5263) {
if (sc->dc_type == DC_TYPE_98713) {
if (sc->dc_type == DC_TYPE_98713)
#define DC_IS_CENTAUR(x) (x->dc_type == DC_TYPE_AN983)
#define DC_IS_DAVICOM(x) (x->dc_type == DC_TYPE_DM9102)
#define DC_IS_PNICII(x) (x->dc_type == DC_TYPE_PNICII)
#define DC_IS_PNIC(x) (x->dc_type == DC_TYPE_PNIC)
#define DC_IS_XIRCOM(x) (x->dc_type == DC_TYPE_XIRCOM)
#define DC_IS_CONEXANT(x) (x->dc_type == DC_TYPE_CONEXANT)
uint8_t dc_type;
const struct dc_type *dc_info; /* adapter info */
uint8_t dc_type;
(x->dc_type == DC_TYPE_98713 || \
x->dc_type == DC_TYPE_98713A || \
x->dc_type == DC_TYPE_987x5)
(x->dc_type == DC_TYPE_AL981 || \
x->dc_type == DC_TYPE_AN983)
(x->dc_type == DC_TYPE_ULI_M5261 || \
x->dc_type == DC_TYPE_ULI_M5263)
#define DC_IS_INTEL(x) (x->dc_type == DC_TYPE_21143)
#define DC_IS_ASIX(x) (x->dc_type == DC_TYPE_ASIX)
#define DC_IS_COMET(x) (x->dc_type == DC_TYPE_AL981)