Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 10:51:36 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Sean Bruno <sbruno@freebsd.org>
Cc:        freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Re: Thinning out GENERIC
Message-ID:  <CANCZdfpGTFeyGJjjApkZhghsvRsv94Pmxv8O1Ldswa_OddaNnA@mail.gmail.com>
In-Reply-To: <34e4e9bd-c7a8-e3e2-4cef-98a691ea7944@freebsd.org>
References:  <34e4e9bd-c7a8-e3e2-4cef-98a691ea7944@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[[ It isn't just GENERIC, it's in every single kernel ]]

On Sun, Feb 12, 2017 at 7:59 AM, Sean Bruno <sbruno@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpGTFeyGJjjApkZhghsvRsv94Pmxv8O1Ldswa_OddaNnA>