On Thu, Dec 17, 2009 at 5:24 PM, Kaushik Gupta <[email protected]> wrote:
> Hi,
> I have used the following  cmd:
> ddi_create_minor_node()
> and can see my network device in /devices but not when I run ifconfig -a.
>
> I am facing problem in registering the device. In linux, I can register my
> device as register_netdev();
> Could someone tell me the corresponding method to register in solaris.
>
> My aim is to see my device when I run ifconfig -a.
>

Assuming you are developing driver for OpenSolaris/Nevada you best bet
would be to do a GLDv3 driver.
The GLDv3 API was recently promoted to public [1]. GLDv3 will allow
you to concentrate on developing the driver for your specific
hardware, while offloading the lion share of the common code to the
generic implementation.Most of the current network drivers in
OpenSolaris are GLDv3 based.



[1] http://arc.opensolaris.org/caselog/PSARC/2009/638/materials/


-- 
Regards,
        Cyril
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to