Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2010 18:03:52 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/mii mii.c
Message-ID:  <201011181804.oAII4EIS074792@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2010-11-18 18:03:52 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/dev/mii          mii.c 
  Log:
  SVN rev 215460 on 2010-11-18 18:03:52Z by marius
  
  MFC: r215348
  
  Return from mii_attach() after calling bus_generic_attach(9) on the device_t
  of the MAC driver in order to attach miibus(4) on the first pass instead of
  falling through to also calling it on the device_t of miibus(4). The latter
  code flow was intended to attach the PHY drivers the same way regardless of
  whether it's the first or a repeated pass, modulo the bus_generic_attach()
  call in miibus_attach() which shouldn't be there. However, it turned out
  that these variants cause miibus(4) to be attached twice under certain
  conditions when using MAC drivers as modules.
  
  Submitted by:   yongari
  
  Revision  Changes    Path
  1.31.2.7  +3 -0      src/sys/dev/mii/mii.c



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