NetBSD/sys/dev/pci/files.agp
thorpej e3d4f375aa Give each AGP controller its own attribute, and let the "agpbus"
device (rather, the device that carries that attribute) also
carry one or more attributes indicating which type of controller
it might be.

This will allow systems that might have AGP, but would never have
e.g. an Intel PCI-Host bridge, to trim out code that won't be used.
2001-09-15 01:32:10 +00:00

26 lines
549 B
Plaintext

# $NetBSD: files.agp,v 1.2 2001/09/15 01:32:10 thorpej Exp $
define agpbus { }
device agp
attach agp at agpbus
file dev/pci/agp.c agp needs-flag
define agp_ali
file dev/pci/agp_ali.c agp_ali & agp needs-flag
define agp_amd
file dev/pci/agp_amd.c agp_amd & agp needs-flag
define agp_i810
file dev/pci/agp_i810.c agp_i810 & agp needs-flag
define agp_intel
file dev/pci/agp_intel.c agp_intel & agp needs-flag
define agp_sis
file dev/pci/agp_sis.c agp_sis & agp needs-flag
define agp_via
file dev/pci/agp_via.c agp_via & agp needs-flag