Hard link if_igb.ko to if_em.ko. Use a LINK directive to ensure that
this is more friendly to the tree. Tested this with loader.conf:if_igb_load="YES" and it does the right thing. Submitted by: Ian Lepore <ian@freebsd.org>
This commit is contained in:
parent
3abf5d76f2
commit
307a8f2c21
@ -22,7 +22,6 @@ CFLAGS += -I${SRCTOP}/sys/dev/e1000
|
||||
# DEVICE_POLLING for a non-interrupt-driven method
|
||||
#CFLAGS += -DDEVICE_POLLING
|
||||
|
||||
afterinstall:
|
||||
cd ${DESTDIR}${KMODDIR} && ln -sf if_em.ko if_igb.ko
|
||||
LINKS= ${KMODDIR}/${KMOD}.ko ${KMODDIR}/if_igb.ko
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user