From owner-freebsd-arch@freebsd.org Mon Feb 13 17:51:38 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 576ABCDDFB1 for ; Mon, 13 Feb 2017 17:51:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (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 2B085186C for ; Mon, 13 Feb 2017 17:51:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x235.google.com with SMTP id c7so14470113itd.1 for ; Mon, 13 Feb 2017 09:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=PpHQZd9Rg4tOkOstIOA+Gh7ft5xQW3QQLe4FuJXz2sQ=; b=0JbBQClYAjTKltHnuiI37En2JnPJI2eUcLhtn0GUTNoeW2vhmfpRZNUbdb+L1dBRdY yNHcU3W0vzYO1xZgav57Jdi1xiyT0mPo57JYx8/N8fGPmRGeb+cYnYmZtCkyC1qqHG0V MVENFGyuaZO6DrH+/l9p7Hyqa6O1njMI2G/GpyDSd8v70A0zF028tBFFQwLGZ9tmQdtE T0G2g4QzupKchr5n99NPJXM0o/fQuEjSDJH2TwRpoNN0AxUMHspF3/7EgItq7z39PvHj ezBIiECbcFKCF+5edGbAWsP2fplkVBm5K5QnfycKWW2Niu2EFdEqZzYdq0dEK6UwZ/w1 vnnw== 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=PpHQZd9Rg4tOkOstIOA+Gh7ft5xQW3QQLe4FuJXz2sQ=; b=Ckn5Ngdr99IYo/6URJiVvzVKqwyvnosboTV2DmZCTcQ0NEYBbMKFHiP5Ga900zmJXK 1AgPY42yfTjMHCKTilP96NX/WDmHOvSQ9LwFsWfhl9aI5JDPH38sYwH0MKkfT0zWiR4w /upoIqlpJRP/0DVS04i9A7EhMHOg7KpQ9gAq2oxm8tCGWU40Krq9SDELuA8mb8etKubX 4KjtxSMOFmxssxHUsyQigec4yRlfYOzprDAjkYav0Y5ay8XFrgsuLPFiQQp1umsV5fIO mpODykqOYPSJs5EUfRyuQiAHzwrBtXDHDfDOQp2FOfKPJ7BhflC3zmK73AuuXCyKK6+8 frrw== X-Gm-Message-State: AMke39musNyDLGyh16sTl3X1i6j8n2kWBRZzCGG1A0/+xLRWXokWTNFX/hbX4VkJ0KnhzCZd8x8KnYkH+t9nNA== X-Received: by 10.36.178.21 with SMTP id u21mr21621815ite.103.1487008297142; Mon, 13 Feb 2017 09:51:37 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.145.217 with HTTP; Mon, 13 Feb 2017 09:51:36 -0800 (PST) X-Originating-IP: [69.53.245.200] In-Reply-To: <34e4e9bd-c7a8-e3e2-4cef-98a691ea7944@freebsd.org> References: <34e4e9bd-c7a8-e3e2-4cef-98a691ea7944@freebsd.org> From: Warner Losh Date: Mon, 13 Feb 2017 10:51:36 -0700 X-Google-Sender-Auth: q6suSG_Mq6P0J0ak2VCwUXRZs7Y Message-ID: Subject: Re: Thinning out GENERIC To: Sean Bruno Cc: freebsd-arch 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: Mon, 13 Feb 2017 17:51:38 -0000 [[ It isn't just GENERIC, it's in every single kernel ]] On Sun, Feb 12, 2017 at 7:59 AM, Sean Bruno wrote: > Index: sys/conf/files > =================================================================== > --- sys/conf/files (revision 313683) > +++ sys/conf/files (working copy) > @@ -2419,7 +2419,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 > dev/pcn/if_pcn.c optional pcn pci > dev/pdq/if_fea.c optional fea eisa > dev/pdq/if_fpa.c optional fpa pci > > I'm playing around with small x86 builds and wanted to come up with a > knob that disables the vga_pci driver. Obviously I still want pci(4) to > be enabled, but I definitely do not need the vga interfaces for > anything. Any suggestions? You could make it dependent on vt or sc as well as pci, no? Warner