Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b73c26d in mainline


Ignore:
Timestamp:
2010-01-31T13:50:52Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
ab4bace
Parents:
3a2f8aa
Message:

Add ADB mouse driver.

Files:
5 added
5 edited
7 moved

Legend:

Unmodified
Added
Removed
  • boot/arch/amd64/Makefile.inc

    r3a2f8aa rb73c26d  
    3333        $(USPACEDIR)/srv/hw/char/i8042/i8042 \
    3434        $(USPACEDIR)/srv/hw/bus/pci/pci \
    35         $(USPACEDIR)/srv/hid/c_mouse/c_mouse
     35        $(USPACEDIR)/srv/hid/char_mouse/char_ms
    3636
    3737MODULES := $(notdir $(COMPONENTS))
  • boot/arch/ia64/loader/Makefile.common

    r3a2f8aa rb73c26d  
    4949        RD_SRVS += \
    5050                $(USPACEDIR)/srv/hw/char/i8042/i8042 \
    51                 $(USPACEDIR)/srv/hid/c_mouse/c_mouse
     51                $(USPACEDIR)/srv/hid/char_mouse/char_ms
    5252endif
  • boot/arch/ppc32/loader/Makefile.common

    r3a2f8aa rb73c26d  
    4444USPACEDIR = ../../../../uspace
    4545
    46 RD_SRVS += $(USPACEDIR)/srv/hw/bus/cuda_adb/cuda_adb
     46RD_SRVS += \
     47        $(USPACEDIR)/srv/hid/adb_mouse/adb_ms \
     48        $(USPACEDIR)/srv/hw/bus/cuda_adb/cuda_adb
  • uspace/Makefile

    r3a2f8aa rb73c26d  
    5959        srv/fs/tmpfs \
    6060        srv/fs/devfs \
     61        srv/hid/adb_mouse \
    6162        srv/hid/console \
    62         srv/hid/c_mouse \
     63        srv/hid/char_mouse \
    6364        srv/hid/fb \
    6465        srv/hid/kbd \
  • uspace/app/init/init.c

    r3a2f8aa rb73c26d  
    289289        srv_start("/srv/cuda_adb");
    290290        srv_start("/srv/i8042");
    291         srv_start("/srv/c_mouse");
     291        srv_start("/srv/adb_ms");
     292        srv_start("/srv/char_ms");
    292293
    293294        spawn("/srv/fb");
     
    314315#endif
    315316
    316         getterm("term/vc0", "/app/klog");
     317        getterm("term/vc0", "/app/bdsh");
    317318        getterm("term/vc1", "/app/bdsh");
    318319        getterm("term/vc2", "/app/bdsh");
     
    320321        getterm("term/vc4", "/app/bdsh");
    321322        getterm("term/vc5", "/app/bdsh");
    322 /*      getterm("term/vc6", "/app/klog");*/
    323        
     323        getterm("term/vc6", "/app/klog");
     324
    324325        return 0;
    325326}
  • uspace/srv/hid/char_mouse/Makefile

    r3a2f8aa rb73c26d  
    3232EXTRA_CFLAGS = -Iinclude
    3333
    34 OUTPUT = c_mouse
     34OUTPUT = char_ms
    3535
    3636SOURCES = \
    3737        proto/ps2.c \
    38         c_mouse.c \
     38        char_mouse.c \
    3939        chardev.c
    4040
  • uspace/srv/hid/char_mouse/char_mouse.c

    r3a2f8aa rb73c26d  
    4747#include <devmap.h>
    4848
    49 #include <c_mouse.h>
     49#include <char_mouse.h>
    5050#include <mouse_port.h>
    5151#include <mouse_proto.h>
  • uspace/srv/hid/char_mouse/chardev.c

    r3a2f8aa rb73c26d  
    4141#include <errno.h>
    4242
    43 #include <c_mouse.h>
     43#include <char_mouse.h>
    4444#include <mouse_port.h>
    4545
  • uspace/srv/hid/char_mouse/include/char_mouse.h

    r3a2f8aa rb73c26d  
    3434 */
    3535
    36 #ifndef C_MOUSE_H_
    37 #define C_MOUSE_H_
     36#ifndef CHAR_MOUSE_H_
     37#define CHAR_MOUSE_H_
    3838
    3939extern void mouse_handle_byte(int);
  • uspace/srv/hid/char_mouse/proto/ps2.c

    r3a2f8aa rb73c26d  
    3737#include <stdio.h>
    3838#include <mouse_proto.h>
    39 #include <c_mouse.h>
     39#include <char_mouse.h>
    4040
    4141#define BUFSIZE 3
Note: See TracChangeset for help on using the changeset viewer.