Changeset 4c7257b in mainline for kernel/genarch/src/kbd/i8042.c


Ignore:
Timestamp:
2009-02-28T18:55:38Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc18d63
Parents:
c43b1db2
Message:

Do not set sysinfo for uspace drivers directly in the kernel drivers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/kbd/i8042.c

    rc43b1db2 r4c7257b  
    11/*
    2  * Copyright (c) 2001-2004 Jakub Jermar
     2 * Copyright (c) 2009 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    4949#include <console/console.h>
    5050#include <interrupt.h>
    51 #include <sysinfo/sysinfo.h>
    5251
    5352/* Keyboard commands. */
     
    149148                (void) pio_read_8(&dev->data);
    150149       
    151         /*
    152          * This is the necessary evil until the userspace driver is entirely
    153          * self-sufficient.
    154          */
    155         sysinfo_set_item_val("kbd", NULL, true);
    156         sysinfo_set_item_val("kbd.devno", NULL, devno);
    157         sysinfo_set_item_val("kbd.inr", NULL, inr);
    158 #ifdef KBD_LEGACY
    159         sysinfo_set_item_val("kbd.type", NULL, KBD_LEGACY);
    160 #endif
    161 
    162150        return true;
    163151}
Note: See TracChangeset for help on using the changeset viewer.