Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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,

  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    are you using a SPARC based SUN system?
    Operating System: GNU Emacs

  3. #3
    Yes, currently the code is available for Solaris (SPARC). I need to port it to Linux.

  4. $spacer_open
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    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. =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts