Thinning out GENERIC

Sean Bruno sbruno at freebsd.org
Fri Feb 17 23:04:50 UTC 2017



On 02/17/17 15:59, Justin Hibbits wrote:
> On Fri, Feb 17, 2017 at 4:38 PM, Sean Bruno <sbruno at 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
> 

It uses vga_pci and doesn't use device vga?  How does that work?

sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20170217/779d233d/attachment.sig>


More information about the freebsd-arch mailing list