[Nouveau] [PATCH] nouveau: use uppercase for chipset name

Ilia Mirkin imirkin at alum.mit.edu
Mon Jul 29 18:03:54 PDT 2013


Right now the log will output e.g. NVaa instead of NVAA, which is how we
usually talk about it.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 src/nv_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nv_driver.c b/src/nv_driver.c
index b83b822..44e7496 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -836,7 +836,7 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
 	dev = pNv->dev;
 
 	pScrn->chipset = malloc(sizeof(char) * 25);
-	sprintf(pScrn->chipset, "NVIDIA NV%02x", dev->chipset);
+	sprintf(pScrn->chipset, "NVIDIA NV%02X", dev->chipset);
 	xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Chipset: \"%s\"\n", pScrn->chipset);
 
 	switch (dev->chipset & 0xf0) {
-- 
1.8.1.5



More information about the Nouveau mailing list