Dave Airlie <[email protected]> writes:

> +int
> +xf86platformAddDevice(int index)
> +{
> +    int i, old_screens, scr_index;
> +    DriverPtr drvp = NULL;
> +    int entity;
> +    screenLayoutPtr layout;
> +
> +    for (i = 0; i < xf86NumDrivers; i++) {
> +        if (!xf86DriverList[i])
> +            continue;
> +
> +        if (!strcmp(xf86DriverList[i]->driverName, "modesetting")) {
> +            drvp = xf86DriverList[i];
> +            break;
> +        }

Am I right in assuming that this means that only the 'modesetting'
driver can have hotplugged devices? Would we need changes in the driver
ABI to make this more general?

-- 
[email protected]

Attachment: pgpwu7NGu1QGt.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to