Displaying 1 result from an estimated 1 matches for "management_i2c".
2009 Nov 19
2
[RFC] nouveau: Add basic i2c sensor chip support
...t address;
+
 			bdcb->i2c_default_indices = bdcb->i2c_table[4];
+
+			if (dev_priv->card_type < NV_50)
+				address = 0x2;
+			else
+				address = bdcb->i2c_default_indices & 0xf;
+
+			read_dcb_i2c_entry(dev, bdcb->version, bdcb->i2c_table,
+					   address, &bdcb->management_i2c);
+		}
 	}
 
 	if (entries > DCB_MAX_NUM_ENTRIES)
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.h b/drivers/gpu/drm/nouveau/nouveau_bios.h
index 1ffda97..9584121 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.h
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.h
@@ -77,6 +77,7 @@ struct bios_par...