I had the same problem with checking the MAC addr. Perhaps we should call a reset
after we do that? That might fix it. I'll take a look at it tommorow. This week has
been a bitch, so i haven't even looked at it all week.
I'll also take a look at the other problem. I'm not sure at all what causes that...
Thanks for giving such good help!
Mike
On Thu, Apr 06, 2000 at 11:45:33PM -0500, Eric Sandeen wrote:
> (Sorry if I broke the thread, I just subscribed...)
>
> > > Also, it seems that if I insert the module while the interface is
> > > plugged in, the firmware download fails. If I load the module, then
> > > plug in the device, the firmware download works fine...
> > That's probably because the hardware only allows the firmware to be loaded
> >once. If you try to load it a second time it hangs. According the the
> >FreeBSD driver we can check to see if the firmware has allready been loaded
> >by checking the device version. Though I think we need to force that to be
> >reread because it appears to be cached.
> > - Nick Lopez
> > [EMAIL PROTECTED]
>
> Hmmm I played with it some tonight, trying to get it to check for
> firmware before the download.
>
> If I call kaweth_control to read the MAC id (assuming I'm doing it
> right... no docs from KLSI yet...) it returns successfully whether or
> not the firmware is loaded. The BSD driver seemed to say that it would
> fail without firmware.
>
> So, I let kaweth_probe fill mac_addr with 0xFF's, then tried to read the
> MAC id, and compared what I got to 0xFF.
>
> This works... except when I do this MAC id query, subsequent firmware
> loading fails.
>
> i.e., if I use the original kaweth.c to load the firmware, then use my
> modified code and try to re-load firmware, it reads the MAC id
> correctly, and skips the firmware download. However, trying to load it
> the first time with my new code fails. :/
>
> Also, the original code seems to have problems if you load the module
> while the adapter is plugged in. The only way I can get it to
> successfully initialize is to load the driver, and then plug in the
> adapter.
>
> -Eric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]