Changeset df01d303 in mainline


Ignore:
Timestamp:
2016-12-16T20:40:53Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7f766f4
Parents:
aed3e6a
Message:

OBIO uspace driver no longer depends on information provided by kernel

Files:
2 edited

Legend:

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

    raed3e6a rdf01d303  
    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 
    120114        return pci;
    121115}
     
    159153        pci->reg = (uint64_t *) km_map(paddr, reg[PSYCHO_INTERNAL_REG].size,
    160154            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);
    167155
    168156        return pci;
  • uspace/srv/hw/irc/obio/obio.c

    raed3e6a rdf01d303  
    4545#include <ipc/irc.h>
    4646#include <ns.h>
    47 #include <sysinfo.h>
    4847#include <as.h>
    4948#include <ddi.h>
     
    112111/** Initialize the OBIO driver.
    113112 *
    114  * So far, the driver heavily depends on information provided by the kernel via
    115  * sysinfo. In the future, there should be a standalone OBIO driver.
     113 * In the future, the OBIO driver should be integrated with the sun4u platform driver.
    116114 */
    117115static bool obio_init(void)
Note: See TracChangeset for help on using the changeset viewer.