From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDGta-00062n-TV for qemu-devel@nongnu.org; Mon, 19 Jan 2015 13:17:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDGtZ-0005jw-Uv for qemu-devel@nongnu.org; Mon, 19 Jan 2015 13:17:50 -0500 Date: Mon, 19 Jan 2015 18:17:34 +0000 (GMT) From: "Maciej W. Rozycki" In-Reply-To: <54BD3214.4060209@redhat.com> Message-ID: References: <1421667328-11800-1-git-send-email-mark.cave-ayland@ilande.co.uk> <1421667328-11800-3-git-send-email-mark.cave-ayland@ilande.co.uk> <54BCFC57.3010709@redhat.com> <54BD1C2D.9070603@suse.de> <54BD236E.1040200@redhat.com> <54BD3214.4060209@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH 2/2] m48t59: add mem_base value to m48t59_init_isa() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Mark Cave-Ayland , Alexander Graf , qemu-devel , qemu-ppc@nongnu.org, =?ISO-8859-15?Q?Herv=E9_Poussineau?= , =?ISO-8859-15?Q?Andreas_F=E4rber?= , Artyom Tarasenko On Mon, 19 Jan 2015, Paolo Bonzini wrote: > >> The reason I asked is simply because ISA devices never do MMIO (apart > >> for the VGA window). > > > > You mean in the QEMU world? At least physical SCSI and Ethernet > > adapters had a MMIO space for the onboard ROM. > > Uh right, ROMs count as MMIO too. Some ISA Ethernet cards also used MMIO for r/w access, probably to get at packet memory more efficiently (I don't remember the details offhand) as port I/O transactions were notoriously slow; in any case this is where the "Memory" field printed by `ifconfig' under Linux comes from. I'm sure there was other ISA equipment too using MMIO for one purpose or another. On a PC/AT class x86 computer these resources would normally be allocated somehow to the memory space in the 0xd0000-0xeffff range, to work with real-mode software. With "somehow" usually meaning jumpers, though newer cards may have had DOS configuration software available to set it up, in a similar manner to how ECU configured port I/O and MMIO resources for EISA equipment. BTW there were ISA DRAM expansion cards in existence too. Maciej