LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   change PCI card port address (https://www.linuxquestions.org/questions/linux-newbie-8/change-pci-card-port-address-618748/)

wali 02-05-2008 12:34 AM

change PCI card port address
 
How can I change a port address for a device? which will affect port list in /proc/ioport.
Actually I have a program which is built in a machine and I want to run it on anthor one, the program addresses a specific port number on a PCI device. when connecting the PCI device to the new machine the OS assign a diferent port number. so please help!

Tinkster 02-05-2008 04:53 PM

Hi,

And welcome to LQ!

To the best of my knowledge PCI addresses are handed out by the machine
BIOS, not picked by the OS. As for your program I'd suggest that find
a different method of identifying the device you want to talk to then
the port address which it has on your machine.


Cheers,
Tink

wali 02-06-2008 12:23 AM

Thnaks Tink, but is there is any thing like "port aliasing"? or is there is any why to trick the program, so all calls to port "say 0xd02" will be redirected to a new port? knowing that the port called by the program is free on the new machine.


All times are GMT -5. The time now is 08:43 PM.