]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r235255
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 14 May 2012 03:11:07 +0000 (03:11 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 14 May 2012 03:11:07 +0000 (03:11 +0000)
commit9dc0d74487c6e5a50218ff5759430f1b82a07946
treea8946cc5bf0dab1d7a788bb477c5bc409fb39e34
parentf4fb726f66e265541b2cec80a25ba20beb54f8e7
MFC: r235255

- Change the module order of these MAC drivers to be last so they are
  deterministically handled after the corresponding PHY drivers when
  loaded as modules. Otherwise, when these MAC/PHY driver pairs are
  compiled into a single module probing the PHY driver may fail. This
  makes r151438 and r226154 actually work. [1]
  Reported and tested by: yongari (fxp(4))
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.

Submitted by: jhb [1]

git-svn-id: svn://svn.freebsd.org/base/stable/9@235422 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/dc/if_dc.c
sys/dev/fxp/if_fxp.c
sys/dev/usb/net/if_rue.c
sys/dev/xl/if_xl.c