Hi,

Who is responsible to provide IO Address at BAR0 in PCI Configuration Space
: Operating System or Device Driver ?

If OS provides that, can device driver change this ? or does driver needs to
change this to allocate new IO range under conflicts ?

Thanks & Regards,
rsec07

Re: PCI Configuration Space - BAR0 Allocation by Mark

Mark
Wed Jul 02 06:44:32 CDT 2003

On Wed, 2 Jul 2003 10:09:38 +0530, "rsec07" <rsec07@hotmail.com>
wrote:

>Hi,
>
>Who is responsible to provide IO Address at BAR0 in PCI Configuration Space
>: Operating System or Device Driver ?
>

The OS.

>If OS provides that, can device driver change this ?

No, not really. For windows 2000 and later versions of NT there should
never be a reason to do change pci config space.

>or does driver needs to
>change this to allocate new IO range under conflicts ?
>
IO resource conflicts are managed by the OS.




=====================
Mark Roddy
Windows XP/2000/NT Consulting, Microsoft DDK MVP
Hollis Technology Solutions 603-321-1032
www.hollistech.com
markr@hollistech.com
For Windows Device Driver Training: see www.azius.com

Re: PCI Configuration Space - BAR0 Allocation by Maxim

Maxim
Thu Jul 03 01:02:31 CDT 2003

> Who is responsible to provide IO Address at BAR0 in PCI
Configuration Space
> : Operating System or Device Driver ?

The OS's arbiter does this, according to the resource requirements
reported by the enumerator.

> If OS provides that, can device driver change this ?

Catch IRP_MN_FILTER_RESOURCE_REQUIREMENTS.

Max