tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mos(4) port
hi
At Fri, 08 May 2009 09:36:00 +0200,
Juraj Hercek wrote:
> > 2) If I overcome trouble mentioned in point (1) above (with couple of
> > DPRINTFNs), I have issues with IPv4. After setting an ip address with
> > "ifconfig mos0 <ip-address>" (where <ip-address> is any valid IPv4
> > address), I'm getting this as a response to "ping <ip-address>" command
> > (on i386):
> > arplookup1: unable to enter address for <ip-address>@40 on null (could
> > not allocate llinfo)
> > arpresolve: can't allocate llinfo on mos0 for <ip-address>
>
> I'll probably check the man pages in order to have better context for
> this problem. Unless anyone has better idea...
try
+#include "opt_inet.h"
and
-arp_ifinit(&sc->arpcom, ifa);
+arp_ifinit(ifp, ifa);
in mos_ioctl().
but it will be done by calling ether_ioctl(), so you should do
set ifp->if_init in USB_ATTACH()
delete SIOCIFADDR case in mos_ioctl()
--
FUKAUMI Naoki
Home |
Main Index |
Thread Index |
Old Index