]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/MAI/AmigaOneG3SE/articiaS_pci.c
* Patch by Hans-Joerg Frieden, 06 Dec 2002
[karo-tx-uboot.git] / board / MAI / AmigaOneG3SE / articiaS_pci.c
index 774c32dd08c8901255884fb656c141a5718c3fdf..2a7763d84551fc0ed155a3c308bda0e252199997 100644 (file)
@@ -26,7 +26,7 @@
 #include "memio.h"
 #include "articiaS.h"
 
-//#define ARTICIA_PCI_DEBUG
+#undef ARTICIA_PCI_DEBUG
 
 #ifdef  ARTICIA_PCI_DEBUG
 #define PRINTF(fmt,args...)     printf (fmt ,##args)
@@ -512,7 +512,11 @@ int articiaS_init_vga (void)
        PRINTF("Searching for class 0x%x on bus %d\n", classes[classnr], busnr);
        /* Find the first of this class on this bus */
        dev = pci_hose_find_class(&articiaS_hose, busnr, classes[classnr], 0);
-       if (dev != ~0) break;
+       if (dev != ~0) 
+       {
+           PRINTF("Found VGA Card at %02x:%02x:%02x\n", PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev));
+           break;
+       }
        busnr++;
        if (busnr > articiaS_hose.last_busno)
        {
@@ -552,7 +556,7 @@ int articiaS_init_vga (void)
     /*
      * Now try to run the bios
      */
-
+    PRINTF("Trying to run bios now\n");
     if (execute_bios(dev, gd->relocaddr))
     {
        printf("OK\n");