LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-19-2005, 09:18 AM   #1
yogeshwar_s
LQ Newbie
 
Registered: Sep 2004
Location: Pune
Posts: 6

Rep: Reputation: 0
driver porting to 64-bit-linux


hello,

i have a driver for a pci card written for normal 32-bit environment.
now while porting i am facing some issues like:

1) my card is only 32-bit addressable, so while performing DMA, i should get 32-bit DMA address. So any function is there to allocate memory below 4GB?

2) is there any other way to use 32-bit pci cards on 64-bit platforms?

3) pci_map_page() is used to get DMA addresses for the corresponding pages.
but on 64-bit platform, whether is returns 64-bit value or 32-bit value?

I want to port driver to the Intel EM64T platform having 64-bit linux.
If anybody has some link or info, let me share it.

Thanks,
Yogeshwar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting driver to kernel 2.6 jhoya Linux - Software 0 08-24-2005 11:25 AM
porting driver from linux to vxworks r9379 Linux - Software 0 08-23-2005 02:46 AM
Porting driver to 2.6.9 kernel. Stuck with i2c not using /proc fs anymore rschnall Linux - Software 2 08-14-2005 05:06 AM
Porting C++ from HP-UX 11.0 to Linux paul sachs Other *NIX 2 01-10-2005 05:37 PM
Driver porting dafri Linux - Hardware 2 06-07-2003 11:57 PM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration