[haiku-development] Re: My "monkey-port" of DEC/Intel 21143 "dc" FreeBSD driver. Some advices needed.

Siarzhuk Zharski <zharik@xxxxxx> wrote:
> 1127         if (ifp->if_flags & IFF_BROADCAST) {
> 1128                 h = dc_mchash_le(sc, ifp->if_broadcastaddr);
> 1129                 sp[h >> 4] |= htole32(1 << (h & 0xF));
> 1130         }
> 1131
> 
> This NULL bring my driver into kdl on boot - so I have add some hack 

Oh, and about this one: it's likely that our emulation layer does not 
set all members of the structure; you may want to fix this there 
instead.

Bye,
   Axel.


Other related posts: