From owner-freebsd-current@FreeBSD.ORG Tue Apr 20 19:22:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A74CC16A4CE; Tue, 20 Apr 2004 19:22:10 -0700 (PDT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E6743D2D; Tue, 20 Apr 2004 19:22:09 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i3L2Ls4u011694; Wed, 21 Apr 2004 12:21:54 +1000 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i3L2LpI2012335; Wed, 21 Apr 2004 12:21:52 +1000 Date: Wed, 21 Apr 2004 12:21:51 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Bruce M Simpson In-Reply-To: <20040420141453.GC18177@empiric.dek.spc.org> Message-ID: <20040421120946.V5944@gamplex.bde.org> References: <20040414155525.GD562@jenny.daemon.li> <20040419183108.L47248@carver.gumbysoft.com> <20040420121523.GA18177@empiric.dek.spc.org> <20040420141453.GC18177@empiric.dek.spc.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Josef El-Rayes cc: freebsd-current@freebsd.org cc: Roman Kurakin Subject: Re: small note to GENERIC for isa dependency X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 02:22:10 -0000 On Tue, 20 Apr 2004, Bruce M Simpson wrote: > On Tue, Apr 20, 2004 at 06:03:27PM +0400, Roman Kurakin wrote: > > >The problem is that ISA and the i386 architecture are still intimately > > >involved. It's probably hidden away as something called LPC on yours. :-) > > > > I only want to say that this is normal wish to remove device "isa" as a > > "hardware missing in my modern box", cause I open it and see nothing > > except PCI slots. > > Appearances can be deceiving. I can understand the source of your confusion. > Let me attempt to clarify. > > ISA is there in some form. If your machine has legacy hardware of any kind, > such as an AT-PIC programmable interrupt controller, a PS/2 mouse port, or > even a keyboard controller, you need ISA support, even if the devices are > probed via ACPI. > > Many machines have PCI slots and not ISA slots, but ISA is still present; > many VIA and Intel based motherboards have a SuperIO chip connected to > the south bridge via what is known as the LPC (Low Pin Count) bus, which is > covered by Intel specifications; this is essentially an ISA bus with less > pins. E.g., on a new system (A7N8X-E) with no isa slots, pciconf -lv says: % isab0@pci0:1:0: class=0x060100 card=0x80ad1043 chip=0x006010de rev=0xa4 hdr=0x00 % vendor = 'NVIDIA Corporation' % device = 'nForce MCP2 ISA Bridge' % class = bridge % subclass = PCI-ISA > Only a truly legacy-free machine (and most machines which are i386 and > claim to be legacy-free are not) could live without the isa bus support > in FreeBSD, and to the best of my knowledge, these don't exist yet. If isa were properly optioned, then omitting it would omit support for all the hardware that depends on it, not just 8087 through 80387 compatibility mode in npx. This system wouldn't work, starting with interrupt handling becauses its APIC doesn't work. Bruce