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
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
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
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
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
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
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
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
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
Hello,
Would you know the steps on how to compile git command in HPUX? (1 Reply)
Discussion started by: SystemAddict
1 Replies
9. Hardware
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
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
LEARN ABOUT FREEBSD
if_my
MY(4) BSD Kernel Interfaces Manual MY(4)
NAME
my -- Myson Technology Ethernet PCI driver
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device my
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_my_load="YES"
DESCRIPTION
The my driver provides support for various NICs based on the Myson chipset. The Myson chipset is a variant of the DEC Tulip NIC chipset.
The driver will work with almost any MII-compliant PHY, thus failure to positively identify the chip is not a fatal error.
HARDWARE
The my driver provides support for various NICs based on the Myson chipset. Supported models include:
o Myson MTD800 PCI Fast Ethernet chip
o Myson MTD803 PCI Fast Ethernet chip
o Myson MTD89X PCI Gigabit Ethernet chip
SEE ALSO
altq(4), de(4), netintro(4), pci(4), ifconfig(8)
HISTORY
The my driver first appeared in FreeBSD 4.6.
AUTHORS
The my driver was written by Myson Technology Inc.
This manual page was written by Hiten M. Pandya <hmp@FreeBSD.org>.
BUGS
The my driver does not support Power Management Events (PME).
BSD
March 11, 2007 BSD