Received: from [140.186.70.92] (port=51249 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAOgp-0005Cy-9Q for qemu-devel@nongnu.org; Mon, 25 Oct 2010 11:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAOgj-0006k6-Ms for qemu-devel@nongnu.org; Mon, 25 Oct 2010 11:10:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAOgj-0006je-GW for qemu-devel@nongnu.org; Mon, 25 Oct 2010 11:10:17 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9PFAGfI001018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 25 Oct 2010 11:10:16 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH 0/2] Add get_dev_path callback to ISA bus. References: <1287928933-11423-1-git-send-email-gleb@redhat.com> Date: Mon, 25 Oct 2010 17:10:15 +0200 In-Reply-To: <1287928933-11423-1-git-send-email-gleb@redhat.com> (Gleb Natapov's message of "Sun, 24 Oct 2010 16:02:11 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: qemu-devel@nongnu.org Gleb Natapov writes: > 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 Any I/O port used by the device identifies it. I'd say a common identifier is the "I/O base", the lowest I/O port used.