]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r226154, r226165
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 6 Nov 2011 17:23:49 +0000 (17:23 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 6 Nov 2011 17:23:49 +0000 (17:23 +0000)
commitdfee0a508eb9fc87657384551ab62b767170cf7c
tree4c63f6ba0728a9f46ec947a102914748e2e864fa
parent63cf614ba942bf305de23230a1325e25d185acdf
MFC: r226154, r226165

- Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHY
  drivers that only ever attach to a particular MAC driver, i.e. inphy(4),
  ruephy(4) and xlphy(4), to the directory where the respective MAC driver
  lives and only compile it into the kernel when the latter is also there,
  also removing it from miibus.ko and moving it into the module of the
  respective MAC driver.
- While at it, rename exphy.c, which comes from NetBSD where the MAC driver
  it corresponds to also is named ex(4) instead of xl(4) but that in FreeBSD
  actually identifies itself as xlphy(4), and its function names accordingly
  for consistency.
- Additionally while at it, fix some minor style issues like whitespace
  in the register headers and add multi-inclusion protection to inphyreg.h.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/9@227229 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/conf/NOTES
sys/conf/files
sys/dev/fxp/inphy.c [moved from sys/dev/mii/inphy.c with 99% similarity]
sys/dev/fxp/inphyreg.h [moved from sys/dev/mii/inphyreg.h with 86% similarity]
sys/dev/usb/net/ruephy.c [moved from sys/dev/mii/ruephy.c with 99% similarity]
sys/dev/usb/net/ruephyreg.h [moved from sys/dev/mii/ruephyreg.h with 88% similarity]
sys/dev/xl/xlphy.c [moved from sys/dev/mii/exphy.c with 86% similarity]
sys/modules/fxp/Makefile
sys/modules/mii/Makefile
sys/modules/usb/rue/Makefile
sys/modules/xl/Makefile