This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

XIO3130 Port disable and GPIO

Other Parts Discussed in Thread: XIO3130

We are considering the XIO3130 for a new design, and have a few questions:

1) We will probably only be using two of the downstream ports.  Can the other downstream port be disabled such that it does not appear in configuration space, and does not consume a bus number?  (some of our systems are very large, and bus numbers become a valuable resource)

2) We would like ot use the GPIO for some board control.  Do you have driver examples for Windows/Linux that take care of the bridge functions as well as the GPIO?

 

Thanks,
Andy

  • The manual does not mention any mechanism to make a port vanish. You could mark a port as not implemented in its capability bits, but OSes typically ignore this when assigning buses.

    PCIe bridge functions are automatically taken care of by the OS; your driver has to handle only the GPIO registers.
    However, at least in Linux, you cannot attach the driver to the upstream port PCI device because the pcieport driver already does. But if you have a driver for the downstream device(s), you can simply walk up the device tree.