From owner-freebsd-arch@FreeBSD.ORG Mon Jan 26 20:38:24 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D5D6106566B for ; Mon, 26 Jan 2009 20:38:24 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 6D6BF8FC08 for ; Mon, 26 Jan 2009 20:38:24 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 5D07E1A3C39; Mon, 26 Jan 2009 12:38:24 -0800 (PST) Date: Mon, 26 Jan 2009 12:38:24 -0800 From: Alfred Perlstein To: John Baldwin Message-ID: <20090126203824.GO5889@elvis.mu.org> References: <200901260947.32870.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200901260947.32870.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: arch@freebsd.org Subject: Re: Trimming the default /boot/device.hints X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 20:38:24 -0000 There's no way to conditionally include them based on if ISA is present? * John Baldwin [090126 06:59] wrote: > After the changes to make hints always reserve device names, soem folks ran > into issues with devices changing names due to previously unused hints now > always being honored (e.g. hints for non-existent ISA le(4) cards always > reserving le0). What I would like to do to help minimize this further is to > trim the default set of hints. The number of machines that will run 8.0 that > have ISA slots is incredibly small, probably zero. To that end, I would like > to remove all hints for ISA adapters from i386 and amd64 (amd64 already has > most of them removed). Also, the hint for vga0 is not needed as the vga_isa > driver uses an identify routine to always add itself. Note that end-users > can always add hints back later if desired/needed. However, changing the > defaults means that some hardware may no longer work out of the box. My > guess though is that the set of such hardware is the empty set. > > If we wanted, we could go further and assume that all machines have either > PnPBIOS or ACPI and remove most of the other hints as well. We already sort > of assume that on amd64 (which has no atrtc0 hints, but still has hints for > fdc0, ppc0, and some other devices). > > Here is the proposed diff: > > --- //depot/user/jhb/acpipci/amd64/conf/GENERIC.hints > +++ /home/jhb/work/p4/acpipci/amd64/conf/GENERIC.hints > @@ -13,7 +13,6 @@ > hint.atkbd.0.irq="1" > hint.psm.0.at="atkbdc" > hint.psm.0.irq="12" > -hint.vga.0.at="isa" > hint.sc.0.at="isa" > hint.sc.0.flags="0x100" > hint.uart.0.at="isa" > @@ -23,13 +22,5 @@ > hint.uart.1.at="isa" > hint.uart.1.port="0x2F8" > hint.uart.1.irq="3" > -hint.uart.2.at="isa" > -hint.uart.2.disabled="1" > -hint.uart.2.port="0x3E8" > -hint.uart.2.irq="5" > -hint.uart.3.at="isa" > -hint.uart.3.disabled="1" > -hint.uart.3.port="0x2E8" > -hint.uart.3.irq="9" > hint.ppc.0.at="isa" > hint.ppc.0.irq="7" > --- //depot/user/jhb/acpipci/i386/conf/GENERIC.hints > +++ /home/jhb/work/p4/acpipci/i386/conf/GENERIC.hints > @@ -13,21 +13,12 @@ > hint.ata.1.at="isa" > hint.ata.1.port="0x170" > hint.ata.1.irq="15" > -hint.adv.0.at="isa" > -hint.adv.0.disabled="1" > -hint.bt.0.at="isa" > -hint.bt.0.disabled="1" > -hint.aha.0.at="isa" > -hint.aha.0.disabled="1" > -hint.aic.0.at="isa" > -hint.aic.0.disabled="1" > hint.atkbdc.0.at="isa" > hint.atkbdc.0.port="0x060" > hint.atkbd.0.at="atkbdc" > hint.atkbd.0.irq="1" > hint.psm.0.at="atkbdc" > hint.psm.0.irq="12" > -hint.vga.0.at="isa" > hint.sc.0.at="isa" > hint.sc.0.flags="0x100" > hint.apm.0.disabled="1" > @@ -39,41 +30,8 @@ > hint.uart.1.at="isa" > hint.uart.1.port="0x2F8" > hint.uart.1.irq="3" > -hint.uart.2.at="isa" > -hint.uart.2.disabled="1" > -hint.uart.2.port="0x3E8" > -hint.uart.2.irq="5" > -hint.uart.3.at="isa" > -hint.uart.3.disabled="1" > -hint.uart.3.port="0x2E8" > -hint.uart.3.irq="9" > hint.ppc.0.at="isa" > hint.ppc.0.irq="7" > -hint.ed.0.at="isa" > -hint.ed.0.disabled="1" > -hint.ed.0.port="0x280" > -hint.ed.0.irq="10" > -hint.ed.0.maddr="0xd8000" > -hint.cs.0.at="isa" > -hint.cs.0.disabled="1" > -hint.cs.0.port="0x300" > -hint.sn.0.at="isa" > -hint.sn.0.disabled="1" > -hint.sn.0.port="0x300" > -hint.sn.0.irq="10" > -hint.ie.0.at="isa" > -hint.ie.0.disabled="1" > -hint.ie.0.port="0x300" > -hint.ie.0.irq="10" > -hint.ie.0.maddr="0xd0000" > -hint.fe.0.at="isa" > -hint.fe.0.disabled="1" > -hint.fe.0.port="0x300" > -hint.le.0.at="isa" > -hint.le.0.disabled="1" > -hint.le.0.port="0x280" > -hint.le.0.irq="10" > -hint.le.0.drq="0" > hint.atrtc.0.at="isa" > hint.atrtc.0.port="0x70" > hint.atrtc.0.irq="8" > > > -- > John Baldwin > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" -- - Alfred Perlstein