mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
hw/usb/hcd-uhci: Introduce TYPE_ defines for device models
Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20221204190553.3274-7-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
c451e07798
commit
f0712099a2
5 changed files with 22 additions and 16 deletions
|
@ -91,4 +91,8 @@ typedef struct UHCIInfo {
|
|||
void uhci_data_class_init(ObjectClass *klass, void *data);
|
||||
void usb_uhci_common_realize(PCIDevice *dev, Error **errp);
|
||||
|
||||
#define TYPE_PIIX3_USB_UHCI "piix3-usb-uhci"
|
||||
#define TYPE_PIIX4_USB_UHCI "piix4-usb-uhci"
|
||||
#define TYPE_ICH9_USB_UHCI(fn) "ich9-usb-uhci" #fn
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue