cvs commit: src/sys/dev/mii mii.c src/sys/net if.h if_var.h if_vlan.c

Andre Oppermann andre at FreeBSD.org
Mon May 3 06:48:35 PDT 2004


andre       2004/05/03 06:48:35 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/mii          mii.c 
    sys/net              if.h if_var.h if_vlan.c 
  Log:
  Link state change notification of ethernet media to the routing socket.
  
  o Extend the if_data structure with an ifi_link_state field and
    provide the corresponding defines for the valid states.
  
  o The mii_linkchg() callback updates the ifi_link_state field
    and calls rt_ifmsg() to notify listeners on the routing socket
    in addition to the kqueue KNOTE.
  
  o If vlans are configured on a physical interface notify and update
    all vlan pseudo devices as well with the vlan_link_state() callback.
  
  No objections by:       sam, wpaul, ru, bms
  Brucification by:       bde
  
  Revision  Changes    Path
  1.18      +18 -4     src/sys/dev/mii/mii.c
  1.86      +8 -0      src/sys/net/if.h
  1.74      +1 -0      src/sys/net/if_var.h
  1.59      +25 -0     src/sys/net/if_vlan.c


More information about the cvs-src mailing list