Marvell/SysKonnect Yukon driver patch

From: Aurojit Panda <apanda_at_cs.brown.edu>
Date: Tue, 05 Sep 2006 13:14:51 -0400
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
Received on Tue Sep 05 2006 - 15:15:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC