From 779206de677533616ec3558bae89ea06fb91fc84 Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Wed, 8 Dec 2010 13:34:54 +0200 Subject: Introduce fw_name field to DeviceInfo structure. Add "fw_name" to DeviceInfo to use in device path building. In contrast to "name" "fw_name" should refer to functionality device provides instead of particular device model like "name" does. Signed-off-by: Gleb Natapov Signed-off-by: Blue Swirl --- hw/lance.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/lance.c') diff --git a/hw/lance.c b/hw/lance.c index 8c51858..ddb1cbb 100644 --- a/hw/lance.c +++ b/hw/lance.c @@ -142,6 +142,7 @@ static void lance_reset(DeviceState *dev) static SysBusDeviceInfo lance_info = { .init = lance_init, .qdev.name = "lance", + .qdev.fw_name = "ethernet", .qdev.size = sizeof(SysBusPCNetState), .qdev.reset = lance_reset, .qdev.vmsd = &vmstate_lance, -- cgit v1.1