diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-11-22 02:12:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-11-22 02:12:02 +0000 |
commit | 93020230a72487254152845a37e3a84f87c4ca03 (patch) | |
tree | 4535e20ecc80a3162704d420638feb34a7b41b5f | |
parent | 6801b11ca982adacbd8ffd7f2f144d2386168095 (diff) |
nate, why is it that for every single ethernet driver you merge into the
tree, you forget to delete the printf's that fire EVERY SINGLE TIME it
changes media?!?!
-rw-r--r-- | sys/dev/pci/if_em.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 0576727d036..bb9cce41542 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -902,18 +902,12 @@ em_print_link_status(struct em_softc * sc) em_get_speed_and_duplex(&sc->hw, &sc->link_speed, &sc->link_duplex); - printf("%s: Link is up %d Mbps %s\n", - sc->sc_dv.dv_xname, - sc->link_speed, - ((sc->link_duplex == FULL_DUPLEX) ? - "Full Duplex" : "Half Duplex")); sc->link_active = 1; } } else { if (sc->link_active == 1) { sc->link_speed = 0; sc->link_duplex = 0; - printf("%s: Link is Down\n", sc->sc_dv.dv_xname); sc->link_active = 0; } } |