On 3/9/21 9:13 PM, BALATON Zoltan wrote: > On Tue, 9 Mar 2021, Philippe Mathieu-Daudé wrote: >> Extract the VT82C686 PCI UHCI function into a new unit so >> it is only build when the VT82C686 south bridge is selected. > > I'm not sure it's worth separating just this one device from the other > similar usb devices when the others that are also part of south bridge > chips are left there. Maybe you could just set user_creatable = false so > it can only be created as part of the chips that contain it or just > don't bother and leave it as it is which is the least likely to break > anything that may rely on it as removing it from the device list may > need to go through deprecation. > > But I don't really mind, so if others like this approach I don't want to > block the patch. I think it's unlikely anybody would use this device > other than part of fuloong2e or pegasos2 so probably it's unlikely to > break anything if it suddenly goes away from a new build.
OK. As I sent this series to help you with your Pegasos2 board, do you mind sending a patch then? I suppose you mean using "#include CONFIG_DEVICES" and checking for the CONFIG_VT82C686 symbol to register the QOM type? Thanks, Phil.