cvs commit: src/sys/dev/ed if_ed.c if_ed_3c503.c if_ed_hpp.c if_edvar.h

Warner Losh imp at FreeBSD.org
Fri Jan 27 00:25:48 PST 2006


imp         2006-01-27 08:25:47 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ed           if_ed.c if_ed_3c503.c if_ed_hpp.c 
                         if_edvar.h 
  Log:
  Create mediachg functions for the 3c503 and hpp cards.  This is used
  to properly configure the right interface to use.
  
  Also call the mediachg function when we set flags UP and are already
  running.  If this were a pure ifmedia driver, we'd not need to do this
  since we'd be ignoring the linkX flags.
  
  This reduces the number of ifdefs to support sub-devices a little as a
  nice side effect.  It also reduces the number of hpp interfaces
  exposed by 33%.
  
  Revision  Changes    Path
  1.268     +4 -30     src/sys/dev/ed/if_ed.c
  1.4       +21 -1     src/sys/dev/ed/if_ed_3c503.c
  1.6       +3 -1      src/sys/dev/ed/if_ed_hpp.c
  1.40      +0 -1      src/sys/dev/ed/if_edvar.h


More information about the cvs-src mailing list