From 93020230a72487254152845a37e3a84f87c4ca03 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 22 Nov 2002 02:12:02 +0000 Subject: 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?!?! --- sys/dev/pci/if_em.c | 6 ------ 1 file changed, 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; } } -- cgit v1.2.3