summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-08-23 10:36:37 -0700
committerAaron Plattner <aplattner@nvidia.com>2008-08-23 23:39:08 -0700
commitc2128e5a8682e407b37f88c67a1709309247fc5d (patch)
tree2f50c21a02fc54c9e9108075c4e8a6a725c05937
parentf485c553c23c67fd060fdea82f57128fd4a1749e (diff)
G80: Log the i2c port number for LVDS, when there is one.
-rw-r--r--src/g80_output.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/g80_output.c b/src/g80_output.c
index 4c8448f..140f3c8 100644
--- a/src/g80_output.c
+++ b/src/g80_output.c
@@ -191,8 +191,12 @@ static Bool G80ReadPortMapping(int scrnIndex, G80Ptr pNv)
}
xf86DrvMsg(scrnIndex, X_PROBED, "Connector map:\n");
- if(pNv->lvds.present)
- xf86DrvMsg(scrnIndex, X_PROBED, " [N/A] -> SOR%i (LVDS)\n", pNv->lvds.or);
+ if(pNv->lvds.present) {
+ if (pNv->lvds.i2cPort != -1)
+ xf86DrvMsg(scrnIndex, X_PROBED, " Bus %i -> SOR%i (LVDS)\n", pNv->lvds.i2cPort, pNv->lvds.or);
+ else
+ xf86DrvMsg(scrnIndex, X_PROBED, " [N/A] -> SOR%i (LVDS)\n", pNv->lvds.or);
+ }
for(i = 0; i < G80_NUM_I2C_PORTS; i++) {
if(pNv->i2cMap[i].dac != -1)
xf86DrvMsg(scrnIndex, X_PROBED, " Bus %i -> DAC%i\n", i, pNv->i2cMap[i].dac);