MFC r204129:
Enable NETIF_OPEN_CLOSE_ONCE on PowerPC OFW. This fixes netbooting on PowerPC Book-S hardware, which had been broken for a very long time. Submitted by: Andreas Tobler
This commit is contained in:
parent
27a98ec529
commit
a0b72790e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=204495
@ -56,6 +56,11 @@ CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc
|
||||
LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
|
||||
.endif
|
||||
|
||||
# Avoid the open-close-dance for every file access as some firmwares perform
|
||||
# an auto-negotiation on every open of the network interface and thus causes
|
||||
# netbooting to take horribly long.
|
||||
CFLAGS+= -DNETIF_OPEN_CLOSE_ONCE
|
||||
|
||||
# Always add MI sources
|
||||
.PATH: ${.CURDIR}/../../common
|
||||
.include "${.CURDIR}/../../common/Makefile.inc"
|
||||
|
Loading…
Reference in New Issue
Block a user