On Mon, Jul 2, 2012 at 7:37 PM, Keith Packard <[email protected]> wrote: > 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?
No they can all do it, just haven't the code to do the picking yet of a driver, and since USB is really the only thing I can hotplug so far. the udev interface is fine for it to work. Dave. _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
