Changeset 06f9d8fb in mainline for uspace/drv/usbhid/mouse/mousedev.c


Ignore:
Timestamp:
2011-05-30T20:02:17Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c3dafe1
Parents:
be8d907 (diff), 63862a0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge with usb/development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/mouse/mousedev.c

    rbe8d907 r06f9d8fb  
    394394       
    395395        fun->ops = &mouse->ops;
    396         fun->driver_data = mouse;   // TODO: maybe change to hid_dev->data
     396        fun->driver_data = mouse;
    397397
    398398        int rc = ddf_fun_bind(fun);
     
    432432         */
    433433        fun->ops = &mouse->ops;
    434         fun->driver_data = mouse;   // TODO: maybe change to hid_dev->data
     434        fun->driver_data = mouse;
    435435
    436436        rc = ddf_fun_bind(fun);
     
    488488       
    489489        // set handler for incoming calls
    490         // TODO: must be one for each subdriver!!
    491490        mouse_dev->ops.default_handler = default_connection_handler;
    492491       
    493492        // TODO: how to know if the device supports the request???
    494 //      usbhid_req_set_idle(&hid_dev->usb_dev->ctrl_pipe,
    495 //          hid_dev->usb_dev->interface_no, IDLE_RATE);
     493        usbhid_req_set_idle(&hid_dev->usb_dev->ctrl_pipe,
     494            hid_dev->usb_dev->interface_no, IDLE_RATE);
    496495       
    497496        int rc = usb_mouse_create_function(hid_dev, mouse_dev);
Note: See TracChangeset for help on using the changeset viewer.