485553ca57
- Don't probe for PHYs if we already know to use a SERDES. Unlike as with cas(4) this only serves to speed up the the device attach though and can only be determined via the OFW device tree but not from the VPD. - Don't touch the MIF when using a SERDES. - Add some missing bus space barriers, mainly in the PCS code path.
18 lines
356 B
Makefile
18 lines
356 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/gem
|
|
|
|
KMOD= if_gem
|
|
SRCS= bus_if.h device_if.h if_gem.c if_gem_pci.c ${if_gem_sbus} miibus_if.h
|
|
SRCS+= ${ofw_bus_if} pci_if.h
|
|
|
|
.if ${MACHINE} == "sparc64"
|
|
if_gem_sbus= if_gem_sbus.c
|
|
.endif
|
|
|
|
.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "sparc64"
|
|
ofw_bus_if= ofw_bus_if.h
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|