From 1d2ea797704d55f63cfe8c00cc000a6b13f1093d Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Sun, 2 Dec 2007 22:10:56 +0100 Subject: [PATCH] Show the id's of unknown bit structures in the bios. --- src/nv_bios.c | 6 ++++-- src/nv_output.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/nv_bios.c b/src/nv_bios.c index 1b3a5af..d9b57c3 100644 --- a/src/nv_bios.c +++ b/src/nv_bios.c @@ -2163,8 +2163,10 @@ static void parse_bit_structure(ScrnInfoPtr pScrn, bios_t *bios, unsigned int of "0x%04X: Found T table entry in BIT structure.\n", offset); parse_bit_t_tbl_entry(pScrn, bios, &bitentry); break; - - + default: + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "0x%04X: Found unknown entry in BIT structure with id %c.\n", offset, bitentry.id[0]); + break; /* TODO: What kind of information does the other BIT entrys point to? * 'P' entry is probably performance tables, but there are * quite a few others... diff --git a/src/nv_output.c b/src/nv_output.c index 8868a91..71511af 100644 --- a/src/nv_output.c +++ b/src/nv_output.c @@ -91,7 +91,7 @@ CARD8 NVReadTMDS(NVPtr pNv, int ramdac, CARD32 tmds_reg) return (nvReadRAMDAC(pNv, ramdac, NV_RAMDAC_FP_TMDS_DATA) & 0xff); } -/* Two register sets exist, one (the one below) is barely used, so i'm lacking a good name */ +/* Two register sets exist, this one is only used for dual link dvi/lvds */ void NVWriteTMDS2(NVPtr pNv, int ramdac, CARD32 tmds_reg, CARD32 val) { -- 2.32.0.93.g670b81a890