From owner-freebsd-arch@freebsd.org Fri Feb 17 23:04:50 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 06581CE301A for ; Fri, 17 Feb 2017 23:04:50 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB7CF19BD; Fri, 17 Feb 2017 23:04:49 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (67-0-223-161.albq.qwest.net [67.0.223.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id B32751928BA; Fri, 17 Feb 2017 23:04:47 +0000 (UTC) Subject: Re: Thinning out GENERIC To: Justin Hibbits References: <34e4e9bd-c7a8-e3e2-4cef-98a691ea7944@freebsd.org> <1907688.dXvDEfTesD@ralph.baldwin.cx> <6526794.FlmyzlfvMp@ralph.baldwin.cx> Cc: John Baldwin , "freebsd-arch@freebsd.org" From: Sean Bruno Message-ID: <855394cf-be1a-de08-c419-f1bef0af9757@freebsd.org> Date: Fri, 17 Feb 2017 16:04:43 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IhuRUVtqDif7VxcORSiVWcjspxFDwvAxK" 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 23:04:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IhuRUVtqDif7VxcORSiVWcjspxFDwvAxK Content-Type: multipart/mixed; boundary="0odjEnXvSXLXN5uLhN36O5BnDv1F54hc9"; protected-headers="v1" From: Sean Bruno To: Justin Hibbits Cc: John Baldwin , "freebsd-arch@freebsd.org" Message-ID: <855394cf-be1a-de08-c419-f1bef0af9757@freebsd.org> Subject: Re: Thinning out GENERIC References: <34e4e9bd-c7a8-e3e2-4cef-98a691ea7944@freebsd.org> <1907688.dXvDEfTesD@ralph.baldwin.cx> <6526794.FlmyzlfvMp@ralph.baldwin.cx> In-Reply-To: --0odjEnXvSXLXN5uLhN36O5BnDv1F54hc9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/17/17 15:59, Justin Hibbits wrote: > 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 capabilit= y 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 'de= vice 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 jus= t >> fire this off? >> >> Index: sys/conf/files >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- 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 >> >=20 > 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. >=20 > - Justin >=20 It uses vga_pci and doesn't use device vga? How does that work? sean --0odjEnXvSXLXN5uLhN36O5BnDv1F54hc9-- --IhuRUVtqDif7VxcORSiVWcjspxFDwvAxK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEuq1GMucSHejSCZfdEgHvyh5yfmQFAlingYtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJB QUQ0NjMyRTcxMjFERThEMjA5OTdERDEyMDFFRkNBMUU3MjdFNjQACgkQEgHvyh5y fmSooAgAkaeusDizALfx+8yLXFDLqzmC79OtLg2FZ595QjXGh87CzW2PUgFVLhwC XMoulOHSMB5pwP4JlNv5nIEE4512XC/R07iSoOUFPp2/0XorlbIghJsiQ37eLnwS 232ly4ApHmA2oJUGXbA78xxqVmtl1HS/svXGJBK0KRSdAnpBZay00fv6uawS74HV e1e1JmG4RGfTDSywm9Zaxm1rAQ1YKsNaWQoJdQDZ5y4CstEUQ05ebY4+ZWsIuYMf SQPKBkOwrB39x/B/FiafAr9BNeiKHsYVGnhwl5BYKOwAi93/VLk4hs6qOMyHJcny YeLx5wFhWb1iOWUVyHMXDtAb8DEZcw== =GnQJ -----END PGP SIGNATURE----- --IhuRUVtqDif7VxcORSiVWcjspxFDwvAxK--