Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2010 18:53:12 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/dc dcphy.c pnphy.c src/sys/dev/mii acphy.c amphy.c atphy.c axphy.c bmtphy.c brgphy.c ciphy.c e1000phy.c exphy.c gentbi.c icsphy.c inphy.c ip1000phy.c jmphy.c lxtphy.c mii.c mlphy.c nsgphy.c nsphy.c nsphyter.c pnaphy.c qsphy.c ...
Message-ID:  <201010021853.o92IrSeq091529@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2010-10-02 18:53:12 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/dc           dcphy.c pnphy.c 
    sys/dev/mii          acphy.c amphy.c atphy.c axphy.c bmtphy.c 
                         brgphy.c ciphy.c e1000phy.c exphy.c 
                         gentbi.c icsphy.c inphy.c ip1000phy.c 
                         jmphy.c lxtphy.c mii.c mlphy.c nsgphy.c 
                         nsphy.c nsphyter.c pnaphy.c qsphy.c 
                         rgephy.c rlphy.c rlswitch.c ruephy.c 
                         smcphy.c tdkphy.c tlphy.c truephy.c 
                         ukphy.c xmphy.c 
  Log:
  SVN rev 213364 on 2010-10-02 18:53:12Z by marius
  
  - In the spirit of previous simplifications factor out the checks for a
    different PHY instance being selected and isolation out into the wrappers
    around the service methods rather than duplicating them over and over
    again (besides, a PHY driver shouldn't need to care about which instance
    it actually is).
  - Centralize the check for the need to isolate a non-zero PHY instance not
    supporting isolation in mii_mediachg() and just ignore it rather than
    panicing, which should sufficient given that a) things are likely to
    just work anyway if one doesn't plug in more than one port at a time and
    b) refusing to attach in this case just leaves us in a unknown but most
    likely also not exactly correct configuration (besides several drivers
    setting MIIF_NOISOLATE didn't care about these anyway, probably due to
    setting this flag for no real reason).
  - Minor fixes like removing unnecessary setting of sc->mii_anegticks,
    using sc->mii_anegticks instead of hardcoded values etc.
  
  Revision  Changes    Path
  1.37      +1 -21     src/sys/dev/dc/dcphy.c
  1.25      +1 -21     src/sys/dev/dc/pnphy.c
  1.24      +2 -19     src/sys/dev/mii/acphy.c
  1.26      +2 -27     src/sys/dev/mii/amphy.c
  1.6       +2 -26     src/sys/dev/mii/atphy.c
  1.3       +2 -14     src/sys/dev/mii/axphy.c
  1.15      +2 -29     src/sys/dev/mii/bmtphy.c
  1.90      +10 -30    src/sys/dev/mii/brgphy.c
  1.19      +2 -25     src/sys/dev/mii/ciphy.c
  1.39      +1 -23     src/sys/dev/mii/e1000phy.c
  1.26      +5 -21     src/sys/dev/mii/exphy.c
  1.7       +2 -27     src/sys/dev/mii/gentbi.c
  1.4       +2 -18     src/sys/dev/mii/icsphy.c
  1.19      +1 -14     src/sys/dev/mii/inphy.c
  1.10      +3 -25     src/sys/dev/mii/ip1000phy.c
  1.3       +2 -26     src/sys/dev/mii/jmphy.c
  1.23      +2 -26     src/sys/dev/mii/lxtphy.c
  1.37      +33 -2     src/sys/dev/mii/mii.c
  1.27      +4 -33     src/sys/dev/mii/mlphy.c
  1.27      +1 -26     src/sys/dev/mii/nsgphy.c
  1.33      +2 -26     src/sys/dev/mii/nsphy.c
  1.4       +1 -25     src/sys/dev/mii/nsphyter.c
  1.20      +3 -30     src/sys/dev/mii/pnaphy.c
  1.21      +2 -20     src/sys/dev/mii/qsphy.c
  1.23      +2 -25     src/sys/dev/mii/rgephy.c
  1.34      +5 -20     src/sys/dev/mii/rlphy.c
  1.3       +5 -18     src/sys/dev/mii/rlswitch.c
  1.8       +5 -26     src/sys/dev/mii/ruephy.c
  1.3       +1 -25     src/sys/dev/mii/smcphy.c
  1.26      +2 -27     src/sys/dev/mii/tdkphy.c
  1.26      +0 -23     src/sys/dev/mii/tlphy.c
  1.5       +5 -34     src/sys/dev/mii/truephy.c
  1.23      +2 -27     src/sys/dev/mii/ukphy.c
  1.23      +6 -36     src/sys/dev/mii/xmphy.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010021853.o92IrSeq091529>