Porting from Solaris to Linux
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,