CVSROOT: /cvs Module name: src Changes by: [EMAIL PROTECTED] 2008/11/09 08:11:19
Modified files: sys/arch/alpha/conf: files.alpha sys/arch/amd64/conf: GENERIC files.amd64 sys/arch/amd64/pci: pchb.c sys/arch/i386/conf: GENERIC files.i386 sys/arch/i386/pci: pchb.c sys/conf : files sys/dev/pci : agp.c agp_ali.c agp_amd.c agp_i810.c agp_intel.c agp_sis.c agp_via.c agpvar.h files.agp vga_pci.c Log message: Rework that way that agp attaches. previously, we had a static list of pcidevs and which agp driver would be interanlly attached. Instead, split the agp drivers so they work like audio(4), where we attach a driver, which sets up some callbacks and initial state, then attaches the interface (agp(4)). Since this allows us to attach different drivers in different places, and give them /proper/ probe functions move most of the drivers back to attaching at pchb, where they should, and intagp (formerly agp_i810) stays attaching at vga, since it's part of the intel integrated graphics chips. Diff shrinks the kernel slightly, gets rid of the annoying "no integrated graphics" warning, and allows more cleanup later. Tested by many. fix for alpha build (the only other vga_pci.c consumer) suggested by miod.