Date: Tue, 05 Sep 2006 13:14:51 -0400 From: Aurojit Panda <apanda@cs.brown.edu> To: <freebsd-current@freebsd.org> Subject: Marvell/SysKonnect Yukon driver patch Message-ID: <C12328CB.1989%apanda@cs.brown.edu>
next in thread | raw e-mail | index | archive | help
The source from http://people.freebsd.org/~andre/mykbsd60x86-8.12.1.3-src.tgz does not compile because it uses IFP2ENADDR. Since Mac Minis and most Intel Macs seem to use Marvell/SysKonnect Ethernet cards and the 7-Current branch is the only thing that will boot on those, this was not working out for me, so here's a patch for if_yk.c in the root of the tar file, which allows this driver to work. 1569,1570c1569,1570 < } < #else --- > } > #elif __FreeBSD_version < 700006 1577a1578,1588 > SK_ADDR_LOGICAL_ADDRESS); > } > #else > > if (bcmp(IF_LLADDR(pAC->pIfnet), > pAC->Addr.Net[0].CurrentMacAddress.a,6)) { > > SkAddrOverride(pAC, > pAC, > 0, > (SK_MAC_ADDR*)IF_LLADDR(pAC->pIfnet), Aurojit Panda
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C12328CB.1989%apanda>