From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35236 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PA19N-0007M1-6d for qemu-devel@nongnu.org; Sun, 24 Oct 2010 10:02:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PA19L-0005am-Um for qemu-devel@nongnu.org; Sun, 24 Oct 2010 10:02:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PA19L-0005ac-NZ for qemu-devel@nongnu.org; Sun, 24 Oct 2010 10:02:15 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9OE2EM5009672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 24 Oct 2010 10:02:14 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o9OE2DIL010125 for ; Sun, 24 Oct 2010 10:02:14 -0400 From: Gleb Natapov Date: Sun, 24 Oct 2010 16:02:11 +0200 Message-Id: <1287928933-11423-1-git-send-email-gleb@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] Add get_dev_path callback to ISA bus. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org PCI bus already has one. For ISA bus this patch series uses device's ioports to uniquely describe it. For isa-ide, for example, get_dev_path method returns: 01f0-01f7,03f6 for first IDE controller 0170-0177,0376 for second one Gleb Natapov (2): Keep track of ISA ports ISA device is using in qdev. Add get_dev_path callback to ISA bus in qdev. hw/cs4231a.c | 1 + hw/fdc.c | 3 ++ hw/gus.c | 4 +++ hw/ide/isa.c | 2 + hw/isa-bus.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/isa.h | 4 +++ hw/m48t59.c | 1 + hw/mc146818rtc.c | 1 + hw/ne2000-isa.c | 3 ++ hw/parallel.c | 5 ++++ hw/pckbd.c | 3 ++ hw/sb16.c | 4 +++ hw/serial.c | 1 + 13 files changed, 102 insertions(+), 0 deletions(-)