Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > PCI IO resource behind carbus bridge

Reply
Thread Tools Display Modes

PCI IO resource behind carbus bridge

 
 
Brian
Guest
Posts: n/a

 
      11-02-2005
I currently support a driver for expanding the PCI bus through a cardbus
card. A customer is using 4 cards that use 0x300 bytes of IO space each
(two windows each card 128 and 256). So the default 4K should be enough IO
to support these devices. However, only two devices can start while the
other two have an error code of 12 (insufficient resources), the driver will
open up more IO then the 4k if needed, but in this case 4k should be enough,
however if I do create an 8K window on the bridge, all four devices will
start.

At first I thought it might be that the IO is allocated on 1k bondary, but
viewing the two devices that start that doesn't seem to be the case Does MS
document there algorithm for assigning IO behind a cardbus bridge? I have
read a couple of white papers that were helpful, but not to the level of
detail I need.


Brian


 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      11-03-2005
IO addresses are obsolete, and it was so since around 2000 or even 1999. MS
was always recommending using memory addresses instead, especially for such
large pools.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation

http://www.storagecraft.com

"Brian" <> wrote in message
news:F8790752-F218-4CFE-81B3-...
> I currently support a driver for expanding the PCI bus through a cardbus
> card. A customer is using 4 cards that use 0x300 bytes of IO space each
> (two windows each card 128 and 256). So the default 4K should be enough IO
> to support these devices. However, only two devices can start while the
> other two have an error code of 12 (insufficient resources), the driver will
> open up more IO then the 4k if needed, but in this case 4k should be enough,
> however if I do create an 8K window on the bridge, all four devices will
> start.
>
> At first I thought it might be that the IO is allocated on 1k bondary, but
> viewing the two devices that start that doesn't seem to be the case Does MS
> document there algorithm for assigning IO behind a cardbus bridge? I have
> read a couple of white papers that were helpful, but not to the level of
> detail I need.
>
>
> Brian
>
>



 
Reply With Quote
 
 
 
 
Brian
Guest
Posts: n/a

 
      11-03-2005
Thanks, but too quote Nicolas Cage in Honeymoon in Las Vegas: "That doesn't
help me at all right now". The OS is not starting devices because of
insufficient resources and I want to know why, so that I can supply the
resources to the devices behind my bridge. For this specific customer I
could just grab enough, but I was hoping to find some information to enable
me to come up with a more elegant solution.

"Maxim S. Shatskih" wrote:

> IO addresses are obsolete, and it was so since around 2000 or even 1999. MS
> was always recommending using memory addresses instead, especially for such
> large pools.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
>
> http://www.storagecraft.com
>
> "Brian" <> wrote in message
> news:F8790752-F218-4CFE-81B3-...
> > I currently support a driver for expanding the PCI bus through a cardbus
> > card. A customer is using 4 cards that use 0x300 bytes of IO space each
> > (two windows each card 128 and 256). So the default 4K should be enough IO
> > to support these devices. However, only two devices can start while the
> > other two have an error code of 12 (insufficient resources), the driver will
> > open up more IO then the 4k if needed, but in this case 4k should be enough,
> > however if I do create an 8K window on the bridge, all four devices will
> > start.
> >
> > At first I thought it might be that the IO is allocated on 1k bondary, but
> > viewing the two devices that start that doesn't seem to be the case Does MS
> > document there algorithm for assigning IO behind a cardbus bridge? I have
> > read a couple of white papers that were helpful, but not to the level of
> > detail I need.
> >
> >
> > Brian
> >
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI to PCI Bridge not enough resources labigbee Windows Vista Hardware 3 03-17-2007 03:51 AM
PCI to PCI Bridge not enough resources labigbee Windows Vista Hardware 0 09-19-2006 05:56 PM
Accessing PCI device behind a non-transparent bridge. rksaripalli@hotmail.com Windows Vista Drivers 1 04-09-2006 12:31 PM
PCI-PCI Bridge Memory Resource Conflict in Win2K Emyr Windows Vista Drivers 4 07-07-2004 04:08 PM
Accessing PCI-to-PCI bridge in PCI Configuration Space Windows Vista Drivers 1 06-04-2004 03:31 PM