The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do i find if Solaris is 32 or 64 bit. 0ktalmagik UNIX for Dummies Questions & Answers 1 05-01-2006 06:53 PM
where i can find Solaris 9 installetion ? umen SUN Solaris 1 08-23-2005 07:09 AM
How to find RAM size in my Solaris 8 malikabid UNIX for Dummies Questions & Answers 3 02-12-2005 01:01 AM
Find command in Solaris srolen UNIX for Dummies Questions & Answers 3 07-10-2001 10:55 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-27-2007
boyanov boyanov is offline
Registered User
  
 

Join Date: Feb 2007
Location: Berlin / Sofia
Posts: 10
Where can I find Linux functions corresponding to the Solaris DDI?

Hello,

I'm not sure whether this thread is in the right subforum, if it isn't please excuse me.

So, here's my question - right now I'm trying to port a Solaris device driver for a custom piece of hardware to Linux (2.6.15), and I'm having some troubles finding the proper corresponding functions to the Solaris Device Driver Interface (DDI) on Linux. These are functions like:
Code:
cmn_err
copyin
cv_init
ddi_add_intr
ddi_copyin
ddi_create_minor_node
ddi_get_instance
ddi_get_name
ddi_get_soft_state
ddi_getprop
ddi_map_regs
ddi_peek8
ddi_prop_op
ddi_remove_minor_node
ddi_report_dev
ddi_set_driver_private
ddi_soft_state_init
getminor
mod_install
mod_remove
mutex_exit
mutex_init
nochpoll
nodev
nulldev
proc_ref
and so on.
I found good descriptions of those on docs.sun.com, but I'm having troubles finding a convenient list of corresponding Linux functions. Maybe someone can give me a guidance, a link or just an advice.

Thanks in advance.
  #2 (permalink)  
Old 06-27-2007
Perderabo's Avatar
Perderabo Perderabo is online now Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,126
Try: The Linux Kernel Module Programming Guide
  #3 (permalink)  
Old 06-27-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
O'Reilly has a book "Linux Device Drivers". A free online version of the earlier edition is available. It should help.
  #4 (permalink)  
Old 06-28-2007
boyanov boyanov is offline
Registered User
  
 

Join Date: Feb 2007
Location: Berlin / Sofia
Posts: 10
Thanks for the responses, you gave me good references

Meanwhile I found a lot of what I'm looking for under include/linux
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0