Jonathan Cameron <[email protected]> writes:

> From: Ben Widawsky <[email protected]>
>
> The easiest way to differentiate a CXL bus, and a PCIE bus is using a
> flag. A CXL bus, in hardware, is backward compatible with PCIE, and
> therefore the code tries pretty hard to keep them in sync as much as
> possible.
>
> The other way to implement this would be to try to cast the bus to the
> correct type. This is less code and useful for debugging via simply
> looking at the flags.
>
> Signed-off-by: Ben Widawsky <[email protected]>
> Signed-off-by: Jonathan Cameron <[email protected]>

Reviewed-by: Alex Bennée <[email protected]>

-- 
Alex Bennée

Reply via email to