diff options
author | marius <marius@FreeBSD.org> | 2011-10-08 12:33:10 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-10-08 12:33:10 +0000 |
commit | 07ac74d257832436e5d62b6a367e914e7b885db8 (patch) | |
tree | d092c392cb4048b55d5299cf6e1cdf2d236f5376 /sys/modules/usb | |
parent | d905bcbba92d530f4fc057a29b74755a8ae49382 (diff) | |
download | FreeBSD-src-07ac74d257832436e5d62b6a367e914e7b885db8.zip FreeBSD-src-07ac74d257832436e5d62b6a367e914e7b885db8.tar.gz |
- 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.
Diffstat (limited to 'sys/modules/usb')
-rw-r--r-- | sys/modules/usb/rue/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/modules/usb/rue/Makefile b/sys/modules/usb/rue/Makefile index 258df6f..e7e236e 100644 --- a/sys/modules/usb/rue/Makefile +++ b/sys/modules/usb/rue/Makefile @@ -30,8 +30,7 @@ S= ${.CURDIR}/../../.. .PATH: $S/dev/usb/net KMOD= if_rue -SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \ - miibus_if.h opt_inet.h \ - if_rue.c +SRCS= bus_if.h device_if.h miibus_if.h miidevs.h if_rue.c opt_bus.h +SRCS+= opt_inet.h opt_usb.h ruephy.c usb_if.h usbdevs.h .include <bsd.kmod.mk> |