Where can I find Linux functions corresponding to the Solaris DDI?

Thread Tools Search this Thread
Top Forums Programming Where can I find Linux functions corresponding to the Solaris DDI?
# 1  
Old 06-27-2007
Where can I find Linux functions corresponding to the Solaris DDI?


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:

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  
Old 06-27-2007
# 3  
Old 06-28-2007
O'Reilly has a book "Linux Device Drivers". A free online version of the earlier edition is available. It should help.
# 4  
Old 06-28-2007
Thanks for the responses, you gave me good references

Meanwhile I found a lot of what I'm looking for under include/linux Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to find C programming functions using shell script?

I want to find c function definition with pattern with shell script by checking condition for each line: data_type functionname(param_list){ .... } I knew cscope or ctag is usable for this task, but if there any ways to do without using them. I am thinking of checking line condition... (3 Replies)
Discussion started by: cmdcmd
3 Replies

2. Shell Programming and Scripting

Find command works on Linux but fails on Solaris.

Hi, I am looking for a generic find command that works on both Linux and Solaris. I have the below command that works fine on Linux but fails on solaris.find /web/config -type f '(' -name '*.txt' -or -name '*.xml' -name '*.pro' ')' Fails on SunOS mysolaris 5.10 Generic_150400-61 sun4v sparc... (1 Reply)
Discussion started by: mohtashims
1 Replies

3. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies

4. Programming

can a linux kernel module call libc functions?

can a linux kernel module call libc functions, such as printf(), strcpy(), etc...? (9 Replies)
Discussion started by: vistastar
9 Replies

5. Shell Programming and Scripting

Perl script to find where functions is called in c

Hello, I need to write a perl script to find where functions is called in c files.. The script should scan the file and find out the function names and then search to see where they are called... Lets for now assume all functions are internal. I don't know where to start :( ... (4 Replies)
Discussion started by: bojomojo
4 Replies

6. Programming

c functions to turn off open ports in linux

nmap is a network utility which gives u information about open ports on ur system. for eg $ nmap PORT STATE SERVICE 7/tcp open echo 13/tcp open daytime 22/tcp open ssh 23/tcp open telnet 37/tcp open time 1100/tcp open unknown these open... (2 Replies)
Discussion started by: anand121
2 Replies

7. Red Hat

DES and Crypt functions in Linux RedHat

Hi I wish to encrypt some files in Linux Redhat server using DES and Encrpt functions but I am not able to find such fncs in Linux. Please help. (0 Replies)
Discussion started by: kapilk
0 Replies

8. UNIX for Dummies Questions & Answers

Please help me to find the functions for description

i have taken a screen shot of the question. http://www.magicscreenshot.com/MagicScreenshot/REAdbT956kE.png Please some one help me.:) (1 Reply)
Discussion started by: kjamsheed
1 Replies

9. Solaris

Are these C++ functions Available in SUN Solaris?

I tried to compile a socket programming code under SUN Solaris by using g++, i get the following errors: Undefined first referenced symbol in file __xnet_connect /var/tmp//ccidZvCu.o __xnet_socket ... (5 Replies)
Discussion started by: f.ben.isaac
5 Replies
Login or Register to Ask a Question

Featured Tech Videos