PCI IO resource behind carbus bridge

Discussion in 'Windows Vista Drivers' started by Brian, Nov 2, 2005.

  1. Brian

    Brian Guest

    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
     
    Brian, Nov 2, 2005
    #1
    1. Advertising

  2. 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:...
    > 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
    >
    >
     
    Maxim S. Shatskih, Nov 3, 2005
    #2
    1. Advertising

  3. Brian

    Brian Guest

    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:...
    > > 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
    > >
    > >

    >
    >
    >
     
    Brian, Nov 3, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. labigbee

    PCI to PCI Bridge not enough resources

    labigbee, Sep 19, 2006, in forum: Windows Vista Hardware
    Replies:
    0
    Views:
    247
    labigbee
    Sep 19, 2006
  2. labigbee

    PCI to PCI Bridge not enough resources

    labigbee, Sep 19, 2006, in forum: Windows Vista Hardware
    Replies:
    3
    Views:
    255
    MetalTux
    Mar 17, 2007
  3. Guest
    Replies:
    1
    Views:
    688
    Eliyas Yakub [MSFT]
    Jun 4, 2004
  4. Emyr

    PCI-PCI Bridge Memory Resource Conflict in Win2K

    Emyr, Jun 28, 2004, in forum: Windows Vista Drivers
    Replies:
    4
    Views:
    570
    Eliyas Yakub [MSFT]
    Jul 7, 2004
  5. Replies:
    1
    Views:
    658
    Maxim S. Shatskih
    Apr 9, 2006
Loading...

Share This Page