Changes in kernel/arch/sparc64/src/drivers/pci.c [9d58539:df01d303] in mainline
- File:
-
- 1 edited
-
kernel/arch/sparc64/src/drivers/pci.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/pci.c
r9d58539 rdf01d303 43 43 #include <typedefs.h> 44 44 #include <debug.h> 45 #include < print.h>45 #include <log.h> 46 46 #include <str.h> 47 47 #include <arch/asm.h> … … 112 112 PAGE_WRITE | PAGE_NOT_CACHEABLE); 113 113 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 120 114 return pci; 121 115 } … … 159 153 pci->reg = (uint64_t *) km_map(paddr, reg[PSYCHO_INTERNAL_REG].size, 160 154 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);167 155 168 156 return pci; … … 213 201 * Unsupported model. 214 202 */ 215 printf("Unsupported PCI controller model (%s).\n",203 log(LF_ARCH, LVL_WARN, "Unsupported PCI controller model (%s).", 216 204 (char *) prop->value); 217 205 }
Note:
See TracChangeset
for help on using the changeset viewer.
