From owner-freebsd-arch@freebsd.org Fri Feb 17 22:59:39 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14ACECE2D0B for ; Fri, 17 Feb 2017 22:59:39 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7B4F1585; Fri, 17 Feb 2017 22:59:38 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-qk0-x22a.google.com with SMTP id 11so56687517qkl.3; Fri, 17 Feb 2017 14:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=NYJF8K93/Q6RgQjZYs9VlMtuujjYeAA1mAVxllyQVZI=; b=KQrfeErTc9w6tbb1cUYDU4B6FbJiXhTQyfmLpbXMF7H13oLqwrnbgeK7mClITqfnvD 5p1zLYdmejo/gT6g3BVaBMVnwz8fqykURNM3iSvFFe4d4Np3IWXQfX2Sd6IiRCKq/ueL 6NiSreazO/IKw6eKg2b38fTpNlgIBcpBMK4xU/HC4+CryVzebGq3uTiKjENb4j49LGKq puvohDzen5qzX/SFmqfpBzgnm2Mq273Sxmi3xB48TtVzOMRn1Zdjf9qfFvY7CXZhIId7 7/jdzT7zKPGwtgwdyRXcHIecsKi2v+V72X+iPKfUAE9YEGAfOn9xbZpGPEPFKDwcpuB2 ZKsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=NYJF8K93/Q6RgQjZYs9VlMtuujjYeAA1mAVxllyQVZI=; b=QKoHISZuJB9YXzReIBKSb5QwUs3n7oXlalJtsVMYPD/jRsGd7T2OFQk29JiSYiNR/7 e5ppE6nXoTtCS6eHNbN6FaeWUb9nbE54VR86Ee9Zs7hQEhMJPOh5HqETUyT3U+bDvtMp ZkVZ7DnCykX5dTKrP79eBUI+r0U5uKUqAggp8BWCLifOxcyslXK7A+2v+UHzd50+0z6i iyTnep15csbydDJ2D7u2CQ914Vu3y3RA6oOhAcnJP7DT+HYPMpAK8VdDOvaWFcoTpLl3 RU1mnUtjO5zx6BXp5W4AjrFdj1I91tLzypjhVd2EIYSFmqjS4QzULMFRBfHJonlOslD/ h5DQ== X-Gm-Message-State: AMke39m6ZPuWTNxT769ry+ccnn4C4yWSVK8r3eo9sGzh2ZnByC8cJUemhREpQid87r1Vapd2nlwELtf0YbIhNQ== X-Received: by 10.55.154.7 with SMTP id c7mr3590445qke.285.1487372377848; Fri, 17 Feb 2017 14:59:37 -0800 (PST) MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.12.157.69 with HTTP; Fri, 17 Feb 2017 14:59:37 -0800 (PST) In-Reply-To: References: <34e4e9bd-c7a8-e3e2-4cef-98a691ea7944@freebsd.org> <1907688.dXvDEfTesD@ralph.baldwin.cx> <6526794.FlmyzlfvMp@ralph.baldwin.cx> From: Justin Hibbits Date: Fri, 17 Feb 2017 16:59:37 -0600 X-Google-Sender-Auth: TvpCwIB34NBSDZQ7-VBfkA9NjmI Message-ID: Subject: Re: Thinning out GENERIC To: Sean Bruno Cc: John Baldwin , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2017 22:59:39 -0000 On Fri, Feb 17, 2017 at 4:38 PM, Sean Bruno wrote: > >>> I don't want to remove it from GENERIC. I want to add the capability to >>> remove it. Sorry if that wasn't clear from my subject line, because it >>> doesn't look clear now that I re-read it. >> >> Why not make this conditional on 'vga'? GENERIC already contains 'device vga' >> that the VGA-specific bits of 'vt', etc. are dependent on. >> > > A quick hack that seems to do what I want it to do, maybe I should just > fire this off? > > Index: sys/conf/files > =================================================================== > --- sys/conf/files (revision 313900) > +++ sys/conf/files (working copy) > @@ -2401,7 +2401,7 @@ > dev/pci/pci_user.c optional pci > dev/pci/pcib_if.m standard > dev/pci/pcib_support.c standard > -dev/pci/vga_pci.c optional pci > +dev/pci/vga_pci.c optional pci vga > dev/pcn/if_pcn.c optional pcn pci > dev/pdq/if_fpa.c optional fpa pci > dev/pdq/pdq.c optional nowerror fpa pci > vga_pci.c is used by powerpc as well, which doesn't include device vga in GENERIC*. Possibly other archs as well would need it. - Justin