Date: Fri, 17 Feb 2017 16:59:37 -0600 From: Justin Hibbits <jrh29@alumni.cwru.edu> To: Sean Bruno <sbruno@freebsd.org> Cc: John Baldwin <jhb@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: Thinning out GENERIC Message-ID: <CAHSQbTB30NY07xZD9tmK8G7SdCWf4gHX6DDJX52KJ_4X2Ymbgw@mail.gmail.com> In-Reply-To: <ff7504ff-94c8-2834-049d-8f98052731e1@freebsd.org> References: <34e4e9bd-c7a8-e3e2-4cef-98a691ea7944@freebsd.org> <1907688.dXvDEfTesD@ralph.baldwin.cx> <ff6d9a9d-36f2-459f-78c5-a7269c2caae9@freebsd.org> <6526794.FlmyzlfvMp@ralph.baldwin.cx> <ff7504ff-94c8-2834-049d-8f98052731e1@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 17, 2017 at 4:38 PM, Sean Bruno <sbruno@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTB30NY07xZD9tmK8G7SdCWf4gHX6DDJX52KJ_4X2Ymbgw>