Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci - remove i2cbus etc. on drivers that don't use iic



details:   https://anonhg.NetBSD.org/src/rev/f6f9a4a9afa0
branches:  trunk
changeset: 933202:f6f9a4a9afa0
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu May 21 22:58:46 2020 +0000

description:
- 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

diffstat:

 sys/dev/pci/files.pci |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (61 lines):

diff -r ea7f8fc8c1c6 -r f6f9a4a9afa0 sys/dev/pci/files.pci
--- a/sys/dev/pci/files.pci     Thu May 21 22:55:48 2020 +0000
+++ b/sys/dev/pci/files.pci     Thu May 21 22:58:46 2020 +0000
@@ -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 @@
 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 @@
 
 # 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 @@
 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 @@
 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 @@
 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



Home | Main Index | Thread Index | Old Index