[PATCH v2] [POWERPC] 4xx: Add endpoint support to 4xx PCIe driver
Stefan Roese
sr at denx.de
Tue Apr 22 15:17:30 EST 2008
On Monday 21 April 2008, Benjamin Herrenschmidt wrote:
> On Mon, 2008-04-21 at 16:54 +0200, Stefan Roese wrote:
> > --------------
> > - As suggested by Benjamin Herrenschmidt, don't determine endpoint mode
> > by looking at the already configured PCIe port state, but evaluate
> > the device_type property instead. This makes it possible for boards
> > without a previously run PCIe configuration (e.g. U-Boot) to configure
> > a port as endpoint as well.
> >
> > - Don't map the big external config space upon endpoint configuration.
> >
> > - Introduce "vendor-id" and "device-id" properties to be written to
> > the host bridge.
>
> and class-code too ?
Sure, could be done. But this is not really endpoint/root-complex related. So
I suggest to add this later with an additional patch.
> Appart from that, I'll have a quick look at the patch later today but at
> first it looks good.
Thanks.
Best regards,
Stefan
More information about the Linuxppc-dev
mailing list