Coming from the world of video and chipset drivers, I feel your pain.
To access to conventional PCI configuration space of other devices', you can
use a PCI bus filter driver if you don't want to use HalXxx calls. For
current released Windows, unfortunately, pci.sys doesn't support pci
expansion config space access so even a bus filter won't help. (Maybe time
is changed and pci.sys now will do pci-e expansion access?)
Be wanted a bus filter is not something easy to get right. You can do it I
can help. Contact me off line if you need help.
good luck,
--
Calvin Guan (Windows DDK MVP)
NetXtreme Longhorn Miniport Prime
Broadcom Corp.
www.broadcom.com
"Brian" <> wrote in message
news:B7833DF3-6986-4C03-8368-...
>I have seen a lot of these questions lately, and the answers are starting
>to
> concern me. Working in the area of PCI expansion, we not only have to
> support others hardware, but are also dependant on the hardware upstream,
> so
> the "design your hardware" answer doesn't work for us. I have just spent
> 2
> months supporting a behemoth driver that hacked the OS (Windows) in order
> to
> make it do what it wants, and the result is a convoluted buggy driver. I
> don't want to be a hack, will there be a supported way to access the PCI
> configuration space for those of us who have a legitimate reason?
>
> Brian
>
> "Calvin Guan" wrote:
>
>> Not that I know of for the current released OS. Design your H/W in the
>> way
>> that the ext config space can be accessed through the PCI BARn.
>>
>> --
>> Calvin Guan (Windows DDK MVP)
>> NetXtreme Longhorn Miniport Prime
>> Broadcom Corp. www.broadcom.com
>>
>> "Rupesh" <> wrote in message
>> news: oups.com...
>> > Hi everybody,
>> > Can anyone please give some useful links or code snippetts on how to
>> > access the PCI-Express config space? We are using Windows XP -64 bit
>> > 0.S on Intel Xeon processor.
>> >
>> > Any help is very much appreciated.
>> >
>> > Thanks in advance,
>> >
>> > Rupesh
>> >
>>
>>
>>