From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nmn8I-0005lF-VY for qemu-devel@nongnu.org; Wed, 03 Mar 2010 06:52:55 -0500 Received: from [199.232.76.173] (port=37150 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nmn8I-0005l0-Kn for qemu-devel@nongnu.org; Wed, 03 Mar 2010 06:52:54 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nmn8G-0004fK-Oi for qemu-devel@nongnu.org; Wed, 03 Mar 2010 06:52:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:13543) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nmn8F-0004f7-Va for qemu-devel@nongnu.org; Wed, 03 Mar 2010 06:52:52 -0500 Date: Wed, 3 Mar 2010 13:49:26 +0200 From: "Michael S. Tsirkin" Message-ID: <20100303114926.GC15278@redhat.com> References: <4B7821AC.6080400@mail.berlios.de> <1267565880-18382-8-git-send-email-weil@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1267565880-18382-8-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] Re: [PATCHv3 08/20] eepro100: Add device descriptions List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developers On Tue, Mar 02, 2010 at 10:37:48PM +0100, Stefan Weil wrote: > Add descriptions for all devices. > These descriptions are shown when users call > qemu -device ? > > Signed-off-by: Stefan Weil I still think descriptive names should also mention eepro100. > --- > hw/eepro100.c | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) > > diff --git a/hw/eepro100.c b/hw/eepro100.c > index 6c11209..d5d3abc 100644 > --- a/hw/eepro100.c > +++ b/hw/eepro100.c > @@ -1980,6 +1980,7 @@ static int pci_i82562_init(PCIDevice *pci_dev) > static PCIDeviceInfo eepro100_info[] = { > { > .qdev.name = "i82550", > + .qdev.desc = "Intel i82550 Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82550_init, > .exit = pci_nic_uninit, > @@ -1990,6 +1991,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82551", > + .qdev.desc = "Intel i82551 Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82551_init, > .exit = pci_nic_uninit, > @@ -2000,6 +2002,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82557a", > + .qdev.desc = "Intel i82557A Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82557a_init, > .exit = pci_nic_uninit, > @@ -2010,6 +2013,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82557b", > + .qdev.desc = "Intel i82557B Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82557b_init, > .exit = pci_nic_uninit, > @@ -2020,6 +2024,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82557c", > + .qdev.desc = "Intel i82557C Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82557c_init, > .exit = pci_nic_uninit, > @@ -2030,6 +2035,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82558a", > + .qdev.desc = "Intel i82558A Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82558a_init, > .exit = pci_nic_uninit, > @@ -2040,6 +2046,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82558b", > + .qdev.desc = "Intel i82558B Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82558b_init, > .exit = pci_nic_uninit, > @@ -2050,6 +2057,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82559a", > + .qdev.desc = "Intel i82559A Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82559a_init, > .exit = pci_nic_uninit, > @@ -2060,6 +2068,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82559b", > + .qdev.desc = "Intel i82559B Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82559b_init, > .exit = pci_nic_uninit, > @@ -2070,6 +2079,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82559c", > + .qdev.desc = "Intel i82559C Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82559c_init, > .exit = pci_nic_uninit, > @@ -2080,6 +2090,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82559er", > + .qdev.desc = "Intel i82559ER Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82559er_init, > .exit = pci_nic_uninit, > @@ -2090,6 +2101,7 @@ static PCIDeviceInfo eepro100_info[] = { > }, > },{ > .qdev.name = "i82562", > + .qdev.desc = "Intel i82562 Ethernet", > .qdev.size = sizeof(EEPRO100State), > .init = pci_i82562_init, > .exit = pci_nic_uninit, > -- > 1.7.0