Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/pci.c

    rdf01d303 r9d58539  
    4343#include <typedefs.h>
    4444#include <debug.h>
    45 #include <log.h>
     45#include <print.h>
    4646#include <str.h>
    4747#include <arch/asm.h>
     
    112112            PAGE_WRITE | PAGE_NOT_CACHEABLE);
    113113
     114        /*
     115         * Set sysinfo data needed by the uspace OBIO driver.
     116         */
     117        sysinfo_set_item_val("obio.base.physical", NULL, paddr);
     118        sysinfo_set_item_val("kbd.cir.obio", NULL, 1);
     119
    114120        return pci;
    115121}
     
    153159        pci->reg = (uint64_t *) km_map(paddr, reg[PSYCHO_INTERNAL_REG].size,
    154160            PAGE_WRITE | PAGE_NOT_CACHEABLE);
     161
     162        /*
     163         * Set sysinfo data needed by the uspace OBIO driver.
     164         */
     165        sysinfo_set_item_val("obio.base.physical", NULL, paddr);
     166        sysinfo_set_item_val("kbd.cir.obio", NULL, 1);
    155167
    156168        return pci;
     
    201213                 * Unsupported model.
    202214                 */
    203                 log(LF_ARCH, LVL_WARN, "Unsupported PCI controller model (%s).",
     215                printf("Unsupported PCI controller model (%s).\n",
    204216                    (char *) prop->value);
    205217        }
Note: See TracChangeset for help on using the changeset viewer.