Marvell/SysKonnect Yukon driver patch

Aurojit Panda apanda at cs.brown.edu
Tue Sep 5 10:15:11 PDT 2006


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




More information about the freebsd-current mailing list