mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/net/fsl_etsec: Set eTSEC device description and category
Add description and set category for eTSEC device so it shows up better in -device help. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Bernhard Beschow <shentey@gmail.com> Message-ID: <20250218155407.838774E600E@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
d1bb9921bb
commit
92988c4501
1 changed files with 2 additions and 0 deletions
|
@ -423,8 +423,10 @@ static void etsec_class_init(ObjectClass *klass, void *data)
|
|||
DeviceClass *dc = DEVICE_CLASS(klass);
|
||||
|
||||
dc->realize = etsec_realize;
|
||||
dc->desc = "Freescale Enhanced Three-Speed Ethernet Controller";
|
||||
device_class_set_legacy_reset(dc, etsec_reset);
|
||||
device_class_set_props(dc, etsec_properties);
|
||||
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
|
||||
}
|
||||
|
||||
static const TypeInfo etsec_types[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue