Sponsored Content
Operating Systems HP-UX compiling linux driver to run on HPUX Post 31461 by Neo on Thursday 7th of November 2002 09:54:22 PM
Old 11-07-2002
Yes, I agree that device drivers are hardware specific but there are devices drivers that will port. I agree with Perderabo and LivinFree that we cannot simply compile without some (perhaps a lot!) of code modification. See these links for more info:


http://devrsrc1.external.hp.com/LPK/

Quote:
The Linux (kernel version 2.2) to HP-UX, Network Device Driver Porting Guide compares the Linux and HP-UX driver environments and provides detailed instructions on porting a networking device driver from Linux to HP-UX. Code snippets are used to illustrate bus access, memory mapping, interrupt handling, etc. in the HP-UX environment. The porting guide also provides sample HP-UX and Linux device drivers for PCI Fast Ethernet card based on Intel's 21143 chipset.
After reading the references below, I am starting to think that porting drivers from Linux to HPUX is a LOT OF WORK (just like Perderabo said!!) :

Here is another link from HP:

http://dspp-test.eservices.hp.com/ds...3,1882,00.html

Here is another excellent HP link with a "linux to hpux device driver porting guide" in PDF format:

http://h21007.www2.hp.com/dspp/files...ting_guide.pdf

A lot of work .... !!!!!

Sorry LivinFree, perhaps your post about eBay was not off topic Smilie I'm a bit sensitive to off-topic posts (by moderators) because of recent feedback on this subject.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

modem driver for linux

how to get modem driver for linux on intel netvista a22p model?please help.Thanks.:( (2 Replies)
Discussion started by: xinubhaskar
2 Replies

2. Programming

Porting From Linux To Hpux

Gents, i'm a senior applications developer and need to port a Linux server application ( no additional / special libraries or unique header files ) to a HPUX enviroment. Any chance to compile it on the Linux using flags to create an HPUX binary with gcc? (8 Replies)
Discussion started by: anak0nda
8 Replies

3. UNIX for Dummies Questions & Answers

Need Book for Linux Basics and Linux device driver.

hai friend, I am new to Linux, i need a book for Linux basic and Linux device driver .. plz send the book name and author(Easy to learn and mostly used by programmers) and also send the link if it is available in Net... Thank you. ... (0 Replies)
Discussion started by: sundar.lsr
0 Replies

4. Programming

Compiling Objective-C 2.0 under Linux

Hello all, I am new to programming and currently I am taking a swing at Objective-C. I easily compile my programs on my Macintosh, and have compiled some Objective-C programs on my linux box. The problem I am having is when I try to use features demonstrated in the book Programming in... (4 Replies)
Discussion started by: inquen
4 Replies

5. Programming

Compiling virtual network adapter driver problem (net_device struct)

Hi, I found on linuxgazette.net/93/bhaskaran.html page very useful sample of virtual driver (not connected to real hardware). I try to compile it with no effect. So: I got fresh Ubuntu 9.10 (kernel 2.6.31-14) My source is saved in networkAdapter.c file in /usr/src/myModules directory. I... (21 Replies)
Discussion started by: Chrisdot
21 Replies

6. UNIX for Dummies Questions & Answers

Linux driver installation and so on.

I find Linux drivers to be the most elusive topic that there is and have enough questions about them that could fill a guide or tutorial if there was one. From what I can gather drivers are installed by one of three ways. 1- Recompile the kernel to include a driver that is included in the... (2 Replies)
Discussion started by: theKbStockpiler
2 Replies

7. Programming

compiling old C program in Linux.

Hello, I am writing to ask for support about compiling an very old but famous C-progam for genetics study called MapMaker/QTL, and the source code is available from MIT: http://www.broadinstitute.org/ftp/distribution/software/mapmaker3/The program was originally designed for systems like SunOS... (1 Reply)
Discussion started by: yifangt
1 Replies

8. UNIX for Advanced & Expert Users

Compiling git in HPUX 11.31 itanium

Hello, Would you know the steps on how to compile git command in HPUX? (1 Reply)
Discussion started by: SystemAddict
1 Replies

9. Hardware

Difference between platform driver,codec driver and Machine driver

In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

10. Shell Programming and Scripting

Compiling FORTRAN into Linux

Hello, I use Linux on Ubuntu 12.04. I have a fortran script with extension .f and I want to compile it to an executable file in linux. I have used this command: f77 -o snp_hwe.exe snp_hwe.f But I receive this error: (.text+0x18): undefined reference to `main' collect2: ld returned 1... (1 Reply)
Discussion started by: Homa
1 Replies
TM::Materialized::Stream(3pm)				User Contributed Perl Documentation			     TM::Materialized::Stream(3pm)

NAME
TM::Materialized::Stream - Topic Maps, abstract class for maps with stream based input/output drivers SYNOPSIS
# this class will never be directly used for instantiation # see the description in TM and individual low-level drivers (AsTMa, ...) DESCRIPTION
This class is a subclass of TM, so it implements map objects. It is abstract, though, as it only defined how a stream-based driver package should behave. It may thus be inherited by classes which implement external formats (TM::Materialized::AsTMa, TM::Materialized::XML, ....). INTERFACE
Constructor The constructor of implementations should expect a hash as parameter containing the field(s) from TM and one or more of the following: url: If given, then the instance will be read from this url whenever synced in. file: If given, then the data will be read/written from/to this file. This is just a convenience as it will be mapped to url. inline: If given, then the instance will be read directly from this text provided inline when synced. If several fields ("file", "url", "inline") are specified, it is undefined which one will be taken. Examples (using AsTMa): # opening from an AsTMa= file $atm = new TM::Materialized::AsTMa (file => 'here.atm'); # why need a file? files are evil, anyway $atm = new TM::Materialized::AsTMa (inline => '# this is AsTMa'); SEE ALSO
TM AUTHOR INFORMATION
Copyright 200[2-6], Robert Barta <drrho@cpan.org>, All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. http://www.perl.com/perl/misc/Artistic.html perl v5.10.1 2008-04-10 TM::Materialized::Stream(3pm)
All times are GMT -4. The time now is 03:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy