Porting Tru64 Device Drivers to Linux

Porting Tru64 Device Drivers to Linux

Post by Jack Frillm » Thu, 15 Aug 2002 03:28:32



I need to port a Tru64 Character device driver to Linux.
I have begun to read "Linux Device Drivers" and looking at
the source for the Tru64 device driver that needs to be ported.

From looking at the code it is not readly apparent what the hooks into
Tru64 kernel are. I can't even tell if True64 has the same
architecture as the Linux kernel.

What I am looking for is some guidance on the True64 device driver
interface
so I can make a comparison with the Linux interface. Hopefully they
are
simular enough where the port will be fairly straight forward. Yea I
like to dream.

Does anyone have any ideas or practical experience that can help me
out?

 
 
 

Porting Tru64 Device Drivers to Linux

Post by Nico Kadel-Garci » Thu, 15 Aug 2002 09:31:03



Quote:> I need to port a Tru64 Character device driver to Linux.
> I have begun to read "Linux Device Drivers" and looking at
> the source for the Tru64 device driver that needs to be ported.

> From looking at the code it is not readly apparent what the hooks into
> Tru64 kernel are. I can't even tell if True64 has the same
> architecture as the Linux kernel.

> What I am looking for is some guidance on the True64 device driver
> interface
> so I can make a comparison with the Linux interface. Hopefully they
> are
> simular enough where the port will be fairly straight forward. Yea I
> like to dream.

> Does anyone have any ideas or practical experience that can help me
> out?

You might try hunting down Jym Paradis, who did the Linux kernel port to the
Alpha. He's working in Boston these days, I've seen him here.

 
 
 

Porting Tru64 Device Drivers to Linux

Post by Adam Pric » Thu, 15 Aug 2002 14:45:24



> I need to port a Tru64 Character device driver to Linux.
> I have begun to read "Linux Device Drivers" and looking at
> the source for the Tru64 device driver that needs to be ported.

> From looking at the code it is not readly apparent what the hooks into
> Tru64 kernel are. I can't even tell if True64 has the same
> architecture as the Linux kernel.

> What I am looking for is some guidance on the True64 device driver
> interface
> so I can make a comparison with the Linux interface. Hopefully they
> are
> simular enough where the port will be fairly straight forward. Yea I
> like to dream.

> Does anyone have any ideas or practical experience that can help me
> out?

You don't say what version of Tru64 the driver you have is written for,
but there are guides to writing device drivers for most versions of tru64
after 4.0 on the web.
Try http://www.tru64unix.compaq.com/docs/pub_page/devdoc_list.html
for a start...
This should give you some insight into what the original author of your
device driver was doing and allow you to start to port the driver.
Hope this helps
Adam
 
 
 

Porting Tru64 Device Drivers to Linux

Post by Jack Frillm » Sat, 17 Aug 2002 21:05:31




> > I need to port a Tru64 Character device driver to Linux.
> > I have begun to read "Linux Device Drivers" and looking at
> > the source for the Tru64 device driver that needs to be ported.

> > From looking at the code it is not readly apparent what the hooks into
> > Tru64 kernel are. I can't even tell if True64 has the same
> > architecture as the Linux kernel.

> > What I am looking for is some guidance on the True64 device driver
> > interface
> > so I can make a comparison with the Linux interface. Hopefully they
> > are
> > simular enough where the port will be fairly straight forward. Yea I
> > like to dream.

> > Does anyone have any ideas or practical experience that can help me
> > out?
> You don't say what version of Tru64 the driver you have is written for,

Tru64 4.0F
 
 
 

1. how to write a linux device driver using the /dev/ttyS0 port ?

Hello !
I'm a student and I need to write a driver that uses the /dev/ttyS0
port.
How should I do that ?

In fact my driver is about to manage a HP48 calculator :
I want to do mount /dev/hp48 /mnt/hp48 and then doing some ls in
/mnt/hp48 (linux then should show me the files stored in the
calculator...)
If you can give me some help in this subject, you'll make me very happy

Thanks a lot


2. "Compatible but not supported": What does it mean?

3. Linux/multi-port serial cards device drivers - help

4. X Emulators

5. Iomega Zip drive: parallel port linux device driver?

6. Strange networking problem with Redhat 5.2/3c905B

7. porting NT device drivers to linux

8. MAXTOR disk drive on RS6000 problems

9. Porting a device driver to Linux/Alpha

10. Porting the device drivers ARM->x86 ; Vxworks->Linux

11. Porting a device driver from Linux to Solaris

12. Device driver calling another device driver.

13. Device driver question (generic device driver)