Sponsored Content
Operating Systems Solaris Porting a Linux Driver to Solaris Post 302329905 by longwave on Monday 29th of June 2009 04:29:50 PM
Old 06-29-2009
Porting a Linux Driver to Solaris

Hi all,

Has anyone experience with proting a Linux driver (C-code) to Solaris 10?

I have a Sunix SATA card with a inicio1622 chipset, but no driver available. From the website of inicio I downloaded the drivercode for Linux 2.4.

Having done some investigation I found a Solaris driver skeleton in C, but the hard part is in porting the driver to the Solaris structure.

Any advice is welcome.

Thank you.
longwave
 

9 More Discussions You Might Find Interesting

1. Programming

Porting to solaris

I have ported a c program to solaris. When I run , it gives me segmentation fault error at line :- memcpy ((char *)a_string ,(char *)0, MAX_READ ) ; originally this was in reliant unix as :- memcpy ( a_string , 0 , MAX_READ ) ; Can somebody help me about this ? (1 Reply)
Discussion started by: suds19
1 Replies

2. UNIX for Dummies Questions & Answers

HP-UX to linux porting

Hi all, i wanted to port some HP-UX code to linux. can anybody point to some documents or resources that would help me in doing the porting.. thanks in advance Arun Prakash (0 Replies)
Discussion started by: arunprakash
0 Replies

3. Programming

porting solaris to BSD

Hi i have a C program that i need to port from solaris to BSD The flags i pass on CC in solaris are -lsocket -lnsl I use sockets and threads anyone know flags for BSD (1 Reply)
Discussion started by: yngwie
1 Replies

4. Linux

when porting from HP-UX to Linux

helo, i m porting HP-UX socket application to Linux SSL-socket application. I have use htonl() in HP-UX. so when i use it in Linux, data transf is not done and application become soem time crashed. now when i remove htonl() in linux, then i got data but it will not proper order or some data may... (1 Reply)
Discussion started by: amitpansuria
1 Replies

5. UNIX for Advanced & Expert Users

Help with porting a linux SNC driver to OSX

Hi guys! I'm a regular joe, so this thread might be in the wrong section and if I appear dumb it mostly because I am..and have lack of knowledge about the unix world. :) Please move the tread if needed. To the problem. We are allot of people in the OSx86 community that need a linux driver... (0 Replies)
Discussion started by: Blackshore
0 Replies

6. Filesystems, Disks and Memory

Porting OSE to Linux

Hi, I was trying to port efs_mount(OSE system call) to a LInux.The efs_mount function is used to mount a volume on the indicated device dev.Upon successful completion of this OSE sytem call a volume manager (VM) will be available through which files on this volume are accessed. The Syntax for... (4 Replies)
Discussion started by: roshantraj30
4 Replies

7. Shell Programming and Scripting

Porting from Solaris to Linux

Can any one please help the use of "cu command in Solaris" and as well as in Linux :confused: (1 Reply)
Discussion started by: sabee.prakash
1 Replies

8. Solaris

Porting graphical Solaris application to Linux

I don't expect any quick answers, but if people have links to resources I can investigate I'd be extremely appreciative. Here is what we have today: The "application" is a multi-process train control system that uses the Unix desktop, currently CDE, several motif-based applications and sound,... (8 Replies)
Discussion started by: paz9
8 Replies

9. Shell Programming and Scripting

Porting script from Solaris to Linux

I have a script which has commands that are located in different paths on my Linux o/s than on Solaris. For example, to make uname work, I need to do it this way in Solaris: my $host= `/usr/bin/uname -n` But in Linux it is: my $host = `/bin/uname -n`I have this issue with at least 5... (8 Replies)
Discussion started by: newbie2010
8 Replies
ddi_binding_name(9F)					   Kernel Functions for Drivers 				      ddi_binding_name(9F)

NAME
ddi_binding_name, ddi_get_name - return driver binding name SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> char *ddi_binding_name(dev_info_t *dip); char *ddi_get_name(dev_info_t *dip); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). PARAMETERS
dip A pointer to the device's dev_info structure. DESCRIPTION
ddi_binding_name() and ddi_get_name() return the driver binding name. This is the name used to select a driver for the device. This name is typically derived from the device name property or the device compatible property. The name returned may be a driver alias or the driver name. RETURN VALUES
ddi_binding_name() and ddi_get_name() return the name used to bind a driver to a device. CONTEXT
ddi_binding_name() and ddi_get_name() can be called from user, kernel, or interrupt context. SEE ALSO
ddi_node_name(9F) Writing Device Drivers WARNINGS
The name returned by ddi_binding_name() and ddi_get_name() is read-only. SunOS 5.11 3 May 1996 ddi_binding_name(9F)
All times are GMT -4. The time now is 02:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy