about pci-pci bridge

Hi~ ntdev

??Hi, all.
Is there anybody who has been dealing with PCI-PCI bridge chip?
I mean, under NT, how could I initialize a TI pci2250 pci-pci bridge chip to make it work.

thanks in advance

===================================================
Quan Liang
Software Engineer
Net Product Department
Beijing ZHONGGUANG Telecom Test Co., Ltd.
Tel: (86) 010 6212 5566-8225
Fax: (86) 010 6211 0331
Mail: xxxxx@zcxc.com.cn
Http://www.zcxc.com.cn

On W2K or > your conformant pci-pci bridge chips ought to be configured just fine by the platform itself.

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

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Liang Quan
Sent: Tuesday, April 02, 2002 10:00 PM
To: NT Developers Interest List
Subject: [ntdev] about pci-pci bridge

Hi~ ntdev

Hi, all.
Is there anybody who has been dealing with PCI-PCI bridge
chip? I mean, under NT, how could I initialize a TI pci2250
pci-pci bridge chip to make it work.

thanks in advance

===================================================
Quan Liang
Software Engineer
Net Product Department
Beijing ZHONGGUANG Telecom Test Co., Ltd.
Tel: (86) 010 6212 5566-8225
Fax: (86) 010 6211 0331
Mail: xxxxx@zcxc.com.cn
Http://www.zcxc.com.cn
b嫮绠范\够?v诘譲僧J沧吺N嫴鎟竮莡y櫒秹j鞯综]>X妒

thank you, Mark.
But the fact is, it works under NT. You know, pci2250 supports CompactPCI, which supports hot-swap. So the pci card I am working with has 2 functions on it, and this 2 functions is managed by a pci2250. When I plug the card out, the driver for the pci2250 will release all the resources the taken. and then I plug the card in, and now I must initialize the pci2250 again.

you know , i am not familiar with this chip, so I need you all to help.

thanks.

======= At 2002-04-02 22:10:00 Your wrote:??=======

On W2K or > your conformant pci-pci bridge chips ought to be configured just fine by the platform itself.

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

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Liang Quan
> Sent: Tuesday, April 02, 2002 10:00 PM
> To: NT Developers Interest List
> Subject: [ntdev] about pci-pci bridge
>
>
> Hi~ ntdev
>
> ??Hi, all.
> Is there anybody who has been dealing with PCI-PCI bridge
> chip? I mean, under NT, how could I initialize a TI pci2250
> pci-pci bridge chip to make it work.
>
> thanks in advance
>
>
> ===================================================
> Quan Liang
> Software Engineer
> Net Product Department
> Beijing ZHONGGUANG Telecom Test Co., Ltd.
> Tel: (86) 010 6212 5566-8225
> Fax: (86) 010 6211 0331
> Mail: xxxxx@zcxc.com.cn
> Http://www.zcxc.com.cn
> b??箷????vڵ?jɮJ?Y?ׅ?N???r?z?u?jy???j???]>X?ʭ?
>


You are currently subscribed to ntdev as: xxxxx@zcxc.com.cn
To unsubscribe send a blank email to xxxxx@lists.osr.com

.

===================================================
Quan Liang
Software Engineer
Net Product Department
Beijing ZHONGGUANG Telecom Test Co., Ltd.
Tel: (86) 010 6212 5566-8225
Fax: (86) 010 6211 0331
ail: xxxxx@zcxc.com.cn
Http://www.zcxc.com.cn

PCI-to-PCI bridges are owned by HAL, and the driver writer cannot access them.

Max

----- Original Message -----
From: “Liang Quan”
To: “NT Developers Interest List”
Sent: Wednesday, April 03, 2002 6:59 AM
Subject: [ntdev] about pci-pci bridge

> Hi~ ntdev
>
> ?Hi, all.
> Is there anybody who has been dealing with PCI-PCI bridge chip?
> I mean, under NT, how could I initialize a TI pci2250 pci-pci bridge chip to make it work.
>
> thanks in advance
>
>
> ===================================================
> Quan Liang
> Software Engineer
> Net Product Department
> Beijing ZHONGGUANG Telecom Test Co., Ltd.
> Tel: (86) 010 6212 5566-8225
> Fax: (86) 010 6211 0331
> Mail: xxxxx@zcxc.com.cn
> Http://www.zcxc.com.cn
> b?????v???)??i?d?n??wnV???z{z?y??

Yeah, but I think his problem is that the pci2250 is a compact pci hot
plug bus, and it works fine until he unplugs and then re-plugs his card.
On replug he doesn’t have a configuration. We’ve solved this on other
(proprietary) platforms, but I was under the (I guess mistaken)
impression that compact pci was actually supported by w2k/xp. Perhaps he
has to kick pci.sys in the pants and get it to re-enumerate his bus?

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

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim
S. Shatskih
Sent: Wednesday, April 03, 2002 8:27 PM
To: NT Developers Interest List
Subject: [ntdev] Re: about pci-pci bridge

PCI-to-PCI bridges are owned by HAL, and the driver writer
cannot access them.

Max

----- Original Message -----
From: “Liang Quan”
> To: “NT Developers Interest List”
> Sent: Wednesday, April 03, 2002 6:59 AM
> Subject: [ntdev] about pci-pci bridge
>
>
> > Hi~ ntdev
> >
> > ?Hi, all.
> > Is there anybody who has been dealing with PCI-PCI bridge chip? I
> > mean, under NT, how could I initialize a TI pci2250 pci-pci bridge
> > chip to make it work.
> >
> > thanks in advance
> >
> >
> > ===================================================
> > Quan Liang
> > Software Engineer
> > Net Product Department
> > Beijing ZHONGGUANG Telecom Test Co., Ltd.
> > Tel: (86) 010 6212 5566-8225
> > Fax: (86) 010 6211 0331
> > Mail: xxxxx@zcxc.com.cn
> > Http://www.zcxc.com.cn
> > b?????v???)??i?d?n??wnV???z{z?y??
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@hollistech.com To unsubscribe send a blank email to
> %%email.unsub%%
>
>
>

I encountered this problem also.

my task is try to support the hot swap under windows NT.
I plan to do it this way: before un-plug, I read the PCI2250 configuration
header ,and get all the informations, then when I re-plug the Card, I write
the necessary data back to the PCI2250 configuration header.

Does this work?

it depends…

  1. how do you know when someone extracted your board? Are you polling in
    your device FDO? Do you then remove yourself (get yourself removed)?

  2. how do know when it was plugged back in? You can’t poll, because you
    aren’t there (at least not as a normal device FDO).

  3. is the /ENUM signal routed to some gpe?

  4. are there acpi methods in your BIOS supporting hot swap?

  5. XP embedded has some support for cpci hot swap. It polls the bus for
    device arrival/removal and notfies the system.

There are a number of ‘hacks’ around that filter the pci bus driver to
achieve the same.

I vote for pci.sys to be open source :slight_smile:

Robin Mitra

-----Original Message-----
From: yuanjun [mailto:xxxxx@21cn.com]
Sent: Thursday, April 04, 2002 7:22 AM
To: NT Developers Interest List
Subject: [ntdev] Re: about pci-pci bridge

I encountered this problem also.

my task is try to support the hot swap under windows NT.
I plan to do it this way: before un-plug, I read the PCI2250
configuration
header ,and get all the informations, then when I re-plug the
Card, I write
the necessary data back to the PCI2250 configuration header.

Does this work?


You are currently subscribed to ntdev as: xxxxx@exgate.tek.com
To unsubscribe send a blank email to %%email.unsub%%

thank you robin, but the fact is:

When the card is half-unplug, which is specified by Compact-PCI, a status
register will report this situation, so I can use a system thread to monitor
the PCI2250.
And I can use the system thread to monitor the bus too to see if a
un-plugged card was pluged into the slot again, you see, with this
function,say, HalGetBusData.

So my question is, if I am notified that a un-plugged card was plugged back
to the slot, I must make it work.

thanks

-----Original Message-----
From: xxxxx@exgate.tek.com
To: NT Developers Interest List
Date: 2002Äê4ÔÂ4ÈÕ 16:35
Subject: [ntdev] Re: about pci-pci bridge

>it depends…
>1. how do you know when someone extracted your board? Are you polling in
>your device FDO? Do you then remove yourself (get yourself removed)?
>
>2. how do know when it was plugged back in? You can’t poll, because you
>aren’t there (at least not as a normal device FDO).
>
>3. is the /ENUM signal routed to some gpe?
>4. are there acpi methods in your BIOS supporting hot swap?
>5. XP embedded has some support for cpci hot swap. It polls the bus for
>device arrival/removal and notfies the system.
>
>There are a number of ‘hacks’ around that filter the pci bus driver to
>achieve the same.
>
>I vote for pci.sys to be open source :slight_smile:
>
>Robin Mitra
>
>> -----Original Message-----
>> From: yuanjun [mailto:xxxxx@21cn.com]
>> Sent: Thursday, April 04, 2002 7:22 AM
>> To: NT Developers Interest List
>> Subject: [ntdev] Re: about pci-pci bridge
>>
>>
>> I encountered this problem also.
>>
>> my task is try to support the hot swap under windows NT.
>> I plan to do it this way: before un-plug, I read the PCI2250
>> configuration
>> header ,and get all the informations, then when I re-plug the
>> Card, I write
>> the necessary data back to the PCI2250 configuration header.
>>
>> Does this work?
>>
>>
>> —
>> You are currently subscribed to ntdev as: xxxxx@exgate.tek.com
>> To unsubscribe send a blank email to %%email.unsub%%
>>
>
>—
>You are currently subscribed to ntdev as: xxxxx@21cn.com
>To unsubscribe send a blank email to %%email.unsub%%
>

You have to convice the pci bus driver to re-enumerate the pci busses.

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

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of yuanjun
Sent: Thursday, April 04, 2002 3:49 AM
To: NT Developers Interest List
Subject: [ntdev] Re: about pci-pci bridge

thank you robin, but the fact is:

When the card is half-unplug, which is specified by
Compact-PCI, a status register will report this situation, so
I can use a system thread to monitor the PCI2250. And I can
use the system thread to monitor the bus too to see if a
un-plugged card was pluged into the slot again, you see, with
this function,say, HalGetBusData.

So my question is, if I am notified that a un-plugged card
was plugged back to the slot, I must make it work.

thanks

-----Original Message-----
From: xxxxx@exgate.tek.com
> To: NT Developers Interest List
> Date: 2002??4??4?? 16:35
> Subject: [ntdev] Re: about pci-pci bridge
>
>
> >it depends…
> >1. how do you know when someone extracted your board? Are
> you polling
> >in your device FDO? Do you then remove yourself (get
> yourself removed)?
> >
> >2. how do know when it was plugged back in? You can’t poll,
> because you
> >aren’t there (at least not as a normal device FDO).
> >
> >3. is the /ENUM signal routed to some gpe?
> >4. are there acpi methods in your BIOS supporting hot swap?
> >5. XP embedded has some support for cpci hot swap. It polls
> the bus for
> >device arrival/removal and notfies the system.
> >
> >There are a number of ‘hacks’ around that filter the pci bus
> driver to
> >achieve the same.
> >
> >I vote for pci.sys to be open source :slight_smile:
> >
> >Robin Mitra
> >
> >> -----Original Message-----
> >> From: yuanjun [mailto:xxxxx@21cn.com]
> >> Sent: Thursday, April 04, 2002 7:22 AM
> >> To: NT Developers Interest List
> >> Subject: [ntdev] Re: about pci-pci bridge
> >>
> >>
> >> I encountered this problem also.
> >>
> >> my task is try to support the hot swap under windows NT.
> >> I plan to do it this way: before un-plug, I read the PCI2250
> >> configuration header ,and get all the informations, then when I
> >> re-plug the Card, I write
> >> the necessary data back to the PCI2250 configuration header.
> >>
> >> Does this work?
> >>
> >>
> >> —
> >> You are currently subscribed to ntdev as:
> xxxxx@exgate.tek.com
> >> To unsubscribe send a blank email to %%email.unsub%%
> >>
> >
> >—
> >You are currently subscribed to ntdev as: xxxxx@21cn.com
> >To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@hollistech.com To unsubscribe send a blank email to
> %%email.unsub%%
>
>
>

Mark,
Pls just assume that my driver is the OS— before the card being
un-pluged, I recored the configuration of the PCI2250 pci-pci bridge,and
then when re-plug the card, I initialize the pci-pci bridge— just the OS
during startup initializing the PCI-PCI bridge for the system, but one thing
different — I needn’t allocate resource for it again, because I have
recorded a copy, and I am sure nothing else will apply for these resources.

pls help. thanks.

-----Original Message-----
From: Mark Roddy
To: NT Developers Interest List
Date: 2002Äê4ÔÂ4ÈÕ 20:01
Subject: [ntdev] Re: about pci-pci bridge

You have to convice the pci bus driver to re-enumerate the pci busses.

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

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of yuanjun
> Sent: Thursday, April 04, 2002 3:49 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: about pci-pci bridge
>
>
> thank you robin, but the fact is:
>
> When the card is half-unplug, which is specified by
> Compact-PCI, a status register will report this situation, so
> I can use a system thread to monitor the PCI2250. And I can
> use the system thread to monitor the bus too to see if a
> un-plugged card was pluged into the slot again, you see, with
> this function,say, HalGetBusData.
>
> So my question is, if I am notified that a un-plugged card
> was plugged back to the slot, I must make it work.
>
> thanks
>
> -----Original Message-----
> From: xxxxx@exgate.tek.com
> To: NT Developers Interest List
> Date: 2002Äê4ÔÂ4ÈÕ 16:35
> Subject: [ntdev] Re: about pci-pci bridge
>
>
> >it depends…
> >1. how do you know when someone extracted your board? Are
> you polling
> >in your device FDO? Do you then remove yourself (get
> yourself removed)?
> >
> >2. how do know when it was plugged back in? You can’t poll,
> because you
> >aren’t there (at least not as a normal device FDO).
> >
> >3. is the /ENUM signal routed to some gpe?
> >4. are there acpi methods in your BIOS supporting hot swap?
> >5. XP embedded has some support for cpci hot swap. It polls
> the bus for
> >device arrival/removal and notfies the system.
> >
> >There are a number of ‘hacks’ around that filter the pci bus
> driver to
> >achieve the same.
> >
> >I vote for pci.sys to be open source :slight_smile:
> >
> >Robin Mitra
> >
> >> -----Original Message-----
> >> From: yuanjun [mailto:xxxxx@21cn.com]
> >> Sent: Thursday, April 04, 2002 7:22 AM
> >> To: NT Developers Interest List
> >> Subject: [ntdev] Re: about pci-pci bridge
> >>
> >>
> >> I encountered this problem also.
> >>
> >> my task is try to support the hot swap under windows NT.
> >> I plan to do it this way: before un-plug, I read the PCI2250
> >> configuration header ,and get all the informations, then when I
> >> re-plug the Card, I write
> >> the necessary data back to the PCI2250 configuration header.
> >>
> >> Does this work?
> >>
> >>
> >> —
> >> You are currently subscribed to ntdev as:
> xxxxx@exgate.tek.com
> >> To unsubscribe send a blank email to %%email.unsub%%
> >>
> >
> >—
> >You are currently subscribed to ntdev as: xxxxx@21cn.com
> >To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@hollistech.com To unsubscribe send a blank email to
> %%email.unsub%%
>
>
>


You are currently subscribed to ntdev as: KDriver@163.com
To unsubscribe send a blank email to %%email.unsub%%

I did this successfully under NT with a video card and a hot-swap extender
that the video card plugged into. This was a known removal, not a surprise.
It was a setup for testing video boards.

When the user wanted to plug in the next board, he would click an icon on
the application gui, the app. would send an ioctl to the driver which would
read the pci config info. When the call completed, the user would switch
off the bus extender so that the video card had no power, then would plug in
next card and turn bus exender on, then would click icon in app. gui that
sent ioctl to write the old pci config info into new board.

This worked fine on particular machines, but not all machines. There were
problems with the pci reset signal on certain machines that prevented this
from working. Also, the hot-swap extenders varied in quality, and only ones
from certain manufacturers would work, and even those I had to modify to
pump more current through, and to not shut off on overcurrent. We knew what
machines we could use this with, and they were our testbeds.

Of course, all boards that we swapped in and out were exactly the same.

andy

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of yuanjun
Sent: Thursday, April 04, 2002 10:50 PM
To: NT Developers Interest List
Subject: [ntdev] Re: about pci-pci bridge

Mark,
Pls just assume that my driver is the OS— before the card being
un-pluged, I recored the configuration of the PCI2250 pci-pci bridge,and
then when re-plug the card, I initialize the pci-pci bridge— just the OS
during startup initializing the PCI-PCI bridge for the system, but one thing
different — I needn’t allocate resource for it again, because I have
recorded a copy, and I am sure nothing else will apply for these resources.

pls help. thanks.

-----Original Message-----
From: Mark Roddy
To: NT Developers Interest List
Date: 2002Äê4ÔÂ4ÈÕ 20:01
Subject: [ntdev] Re: about pci-pci bridge

You have to convice the pci bus driver to re-enumerate the pci busses.

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

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of yuanjun
> Sent: Thursday, April 04, 2002 3:49 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: about pci-pci bridge
>
>
> thank you robin, but the fact is:
>
> When the card is half-unplug, which is specified by
> Compact-PCI, a status register will report this situation, so
> I can use a system thread to monitor the PCI2250. And I can
> use the system thread to monitor the bus too to see if a
> un-plugged card was pluged into the slot again, you see, with
> this function,say, HalGetBusData.
>
> So my question is, if I am notified that a un-plugged card
> was plugged back to the slot, I must make it work.
>
> thanks
>
> -----Original Message-----
> From: xxxxx@exgate.tek.com
> To: NT Developers Interest List
> Date: 2002Äê4ÔÂ4ÈÕ 16:35
> Subject: [ntdev] Re: about pci-pci bridge
>
>
> >it depends…
> >1. how do you know when someone extracted your board? Are
> you polling
> >in your device FDO? Do you then remove yourself (get
> yourself removed)?
> >
> >2. how do know when it was plugged back in? You can’t poll,
> because you
> >aren’t there (at least not as a normal device FDO).
> >
> >3. is the /ENUM signal routed to some gpe?
> >4. are there acpi methods in your BIOS supporting hot swap?
> >5. XP embedded has some support for cpci hot swap. It polls
> the bus for
> >device arrival/removal and notfies the system.
> >
> >There are a number of ‘hacks’ around that filter the pci bus
> driver to
> >achieve the same.
> >
> >I vote for pci.sys to be open source :slight_smile:
> >
> >Robin Mitra
> >
> >> -----Original Message-----
> >> From: yuanjun [mailto:xxxxx@21cn.com]
> >> Sent: Thursday, April 04, 2002 7:22 AM
> >> To: NT Developers Interest List
> >> Subject: [ntdev] Re: about pci-pci bridge
> >>
> >>
> >> I encountered this problem also.
> >>
> >> my task is try to support the hot swap under windows NT.
> >> I plan to do it this way: before un-plug, I read the PCI2250
> >> configuration header ,and get all the informations, then when I
> >> re-plug the Card, I write
> >> the necessary data back to the PCI2250 configuration header.
> >>
> >> Does this work?
> >>
> >>
> >> —
> >> You are currently subscribed to ntdev as:
> xxxxx@exgate.tek.com
> >> To unsubscribe send a blank email to %%email.unsub%%
> >>
> >
> >—
> >You are currently subscribed to ntdev as: xxxxx@21cn.com
> >To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@hollistech.com To unsubscribe send a blank email to
> %%email.unsub%%
>
>
>


You are currently subscribed to ntdev as: KDriver@163.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@charter.net
To unsubscribe send a blank email to %%email.unsub%%