[openbeosnetteam] Re: Realtek 8139 Driver

In reply to Niels Reedijk:
> > Do you have already wrote the userland add-on to interface your
> driver
> > with net_server?
> 
> Yes I have. I figured that it most probably would be compatible with
> the current add-on if I would only follow the etherpci example, but it
> isn't. (I believe the add-on of Be is probably designed differently to
> accommodate the 'nice' design of the rtl8139).

No, he's not, as the same kernel driver works as is with BONE too.

But I bet your control_hook(), not returning B_OK to ioctl(dev, ETHER_INIT), 
don't allow Be Inc.'s rtl813 net_server add-on to publish your driver.
Try to add this in your control_hook:

  case ETHER_INIT:
    return B_OK;

It should works better...

-Philippe

Other related posts: