Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=258de4badd5b7b5d168307638f755bd4df16c18e
Commit:     258de4badd5b7b5d168307638f755bd4df16c18e
Parent:     dcccb37e98e0444b0c6a03b303855771aa463c96
Author:     Grant Likely <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 4 10:48:36 2007 -0600
Committer:  Grant Likely <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 18:11:07 2007 -0600

    [POWERPC] XilinxFB: add banner output to probe routine when DEBUG is defined
    
    Debug support: when DEBUG is defined, output relevant details to the
    log about the framebuffer registration.
    
    Signed-off-by: Grant Likely <[EMAIL PROTECTED]>
    Acked-by: Andrei Konovalov <[EMAIL PROTECTED]>
---
 drivers/video/xilinxfb.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c
index 4bc67ab..1a5f1e4 100644
--- a/drivers/video/xilinxfb.c
+++ b/drivers/video/xilinxfb.c
@@ -287,6 +287,11 @@ xilinxfb_drv_probe(struct device *dev)
                goto failed4;
        }
 
+       /* Put a banner in the log (for DEBUG) */
+       dev_dbg(dev, "regs: phys=%x, virt=%p\n",
+               drvdata->regs_phys, drvdata->regs);
+       dev_dbg(dev, "fb: phys=%p, virt=%p, size=%x\n",
+               (void*)drvdata->fb_phys, drvdata->fb_virt, FB_SIZE);
        return 0;       /* success */
 
 failed4:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to