Results 1 to 4 of 4
Hi,
I am new to this forum and newbie to device drivers. I need to port a device driver code from Solaris to Linux. The Solaris code uses DDI (device ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-01-2005 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 3
Porting from Solaris to Linux
Hi,
I am new to this forum and newbie to device drivers. I need to port a device driver code from Solaris to Linux. The Solaris code uses DDI (device driver Interface) system calls (for eg ddi_soft_state_init, ddi_get_instance) which are specific to Solaris. I would like to know whether there are any corresponding system calls in Linux so that I can replace the DDI system calls directly or should I need to re-write the driver code newly again.
Thanks in advance,
Ganesan.
- 07-01-2005 #2Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
are you using a SPARC based SUN system?
Operating System: GNU Emacs
- 07-04-2005 #3Just Joined!
- Join Date
- Jul 2005
- Posts
- 3
Yes, currently the code is available for Solaris (SPARC). I need to port it to Linux.
- 07-04-2005 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Well, I for once haven't ever used Sun's DDI, so I don't really know what either ddi_soft_state_init or ddi_get_instance actually do. Because of that, it's a bit hard to find a Linux kernel counterpart. =)


Reply With Quote
