Direct I/O to device on PCI card

From: arizvi (spamtrap_at_crayne.org)
Date: 03/07/05


Date: Mon, 7 Mar 2005 21:25:40 +0000 (UTC)

Hi,

I am writing a program for direct I/O access to a hard drive in DOS. I
am able to read/write to the hard drive as long as it is connected
directly to the motherboard (which I believe is the ISA bus) using IO
addresses 0x1F0 and 0x170. However, if I attach the drive through a PCI
card, I am not able to address the drive.
What are the right addresses for accessing the device on a PCI card? Is
programming for the PCI bus different from the programming I am used
to( due to difference in architecture of the PCI bus) .. my question
here is if I can program a PCI device using the normal IO port
addresses as before??

Thanks
Ahmad



Relevant Pages

  • Re: 21st Century ISA goals?
    ... but think of doing a load to a PCI bus that is on a bridge connected to ... a "local" PCI bus. ... Setup a data structure in memory ... The PCI device requests a read of the I/O request. ...
    (comp.arch)
  • Re: Direct I/O to device on PCI card
    ... > I am writing a program for direct I/O access to a hard drive in DOS. ... > What are the right addresses for accessing the device on a PCI card? ... > to(due to difference in architecture of the PCI bus) .. ... the PCI cardat boot up, port io to said ports is ISA/PCI ...
    (comp.lang.asm.x86)
  • Re: PCI Addressing
    ... a processor) wishes to perform an access on the PCI bus, ... Generally a PCI device won't master the bus (initiate a transaction) until ...
    (comp.arch.embedded)
  • Re: promise sata controller question
    ... > the promise controller is still a plain old pci device and thats all there ... The PCI bus is 32 bits wide and operates at 33 Mhz. ...
    (comp.os.linux.hardware)
  • Re: SATA Cards: How is their actual bandwith calculated?
    ... This card only has a 32-bit PCI interface. ... MB/s maximum data throughput. ... The card supports four ATA drives via two connectors, ... In a PowerMac G4, the PCI bus is only 33 MHz, so this isn't an option. ...
    (comp.sys.mac.system)