Module Name: src Committed By: macallan Date: Thu May 21 22:58:46 UTC 2020
Modified Files: src/sys/dev/pci: files.pci Log Message: - remove i2cbus etc. on drivers that don't use iic - for private iic buses pull in only what we need and skip the bus attachment To generate a diff of this commit: cvs rdiff -u -r1.427 -r1.428 src/sys/dev/pci/files.pci Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/files.pci diff -u src/sys/dev/pci/files.pci:1.427 src/sys/dev/pci/files.pci:1.428 --- src/sys/dev/pci/files.pci:1.427 Wed May 20 08:15:26 2020 +++ src/sys/dev/pci/files.pci Thu May 21 22:58:46 2020 @@ -1,4 +1,4 @@ -# $NetBSD: files.pci,v 1.427 2020/05/20 08:15:26 macallan Exp $ +# $NetBSD: files.pci,v 1.428 2020/05/21 22:58:46 macallan Exp $ # # Config file and device description for machine-independent PCI code. # Included by ports that need it. Requires that the SCSI files be @@ -818,7 +818,7 @@ attach machfb at pci file dev/pci/machfb.c machfb # 3Dfx Voodoo3 framebuffer console driver -device voodoofb: wsemuldisplaydev, rasops8, vcons, videomode, drm, i2cbus, i2c_bitbang, ddc_read_edid, edid +device voodoofb: wsemuldisplaydev, rasops8, vcons, videomode, drm, i2cexec, i2c_bitbang, ddc_read_edid, edid attach voodoofb at pci file dev/pci/voodoofb.c voodoofb @@ -829,7 +829,7 @@ file dev/pci/unichromefb.c unichromefb # ATI Radeon framebuffer console driver # (Note: to enable the BIOS parser, add options RADEON_BIOS_INIT to the config) -device radeonfb: wsemuldisplaydev, videomode, rasops8, rasops32, vcons, splash, iic, i2c_bitbang, ddc_read_edid, edid, drm, glyphcache +device radeonfb: wsemuldisplaydev, videomode, rasops8, rasops32, vcons, splash, i2cexec, i2c_bitbang, ddc_read_edid, edid, drm, glyphcache attach radeonfb at pci file dev/pci/radeonfb.c radeonfb file dev/pci/radeonfb_i2c.c radeonfb @@ -976,7 +976,7 @@ attach ichsmb at pci file dev/pci/ichsmb.c ichsmb # ATI Rage 128 framebuffer console driver -device r128fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, glyphcache +device r128fb: wsemuldisplaydev, rasops8, rasops32, vcons, glyphcache attach r128fb at pci file dev/pci/r128fb.c r128fb defflag opt_r128fb.h R128FB_DEBUG @@ -1037,13 +1037,13 @@ attach hdaudio at pci with hdaudio_pci file dev/pci/hdaudio_pci.c hdaudio_pci # Permedia 2 / Sun PGX32 / Raptor -device pm2fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid, glyphcache +device pm2fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cexec, i2c_bitbang, ddc_read_edid, edid, glyphcache attach pm2fb at pci file dev/pci/pm2fb.c pm2fb defflag opt_pm2fb.h PM2FB_DEBUG # Permedia 3 / Oxygen VX1 / Proformance 3 -device pm3fb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid +device pm3fb: wsemuldisplaydev, rasops8, vcons, videomode, i2cexec, i2c_bitbang, ddc_read_edid, edid attach pm3fb at pci file dev/pci/pm3fb.c pm3fb @@ -1114,7 +1114,7 @@ attach tdvfb at pci file dev/pci/tdvfb.c tdvfb # nvidia geforce framebuffer console driver -device gffb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, glyphcache +device gffb: wsemuldisplaydev, rasops8, vcons, glyphcache attach gffb at pci file dev/pci/gffb.c gffb defflag opt_gffb.h GFFB_DEBUG