cvs commit: src/sys/dev/em if_em.c

Gleb Smirnoff glebius at FreeBSD.org
Wed Feb 15 02:51:12 PST 2006


glebius     2006-02-15 10:51:11 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/em           if_em.c 
  Log:
  - Rename em_print_link_status() to em_update_link_status().
  - In em_attach() remove em_check_for_link(). Not needed here, since
    already done in em_hardware_init().
  - In em_attach() replace the printing block with call to
    em_update_link_status().
  - Remove modification of sc->link_state from em_hardware_init() and
    from em_media_status(). This makes em_update_link_status() a
    single point of change. Call em_update_link_status() where needed.
  
  Revision  Changes    Path
  1.110     +9 -42     src/sys/dev/em/if_em.c


More information about the cvs-src mailing list