Changeset e3f1987 in mainline for uspace/drv/usbmouse


Ignore:
Timestamp:
2011-04-19T12:43:44Z (15 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
efa1599
Parents:
3690c75 (diff), 84a04dd (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:

Development branch changes

Location:
uspace/drv/usbmouse
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbmouse/init.c

    r3690c75 re3f1987  
    125125        }
    126126       
    127         /* Open the control pipe. */
    128         rc = usb_pipe_start_session(&dev->ctrl_pipe);
    129         if (rc != EOK) {
    130                 goto leave;
    131         }
    132        
    133127        /* Set the boot protocol. */
    134128        rc = usb_control_request_set(&dev->ctrl_pipe,
     
    140134        }
    141135       
    142         /* Close the control pipe (ignore errors). */
    143         usb_pipe_end_session(&dev->ctrl_pipe);
    144 
    145 
    146         /* Everything allright. */
     136        /* Everything all right. */
    147137        dev->driver_data = mouse;
    148138        mouse->mouse_fun->driver_data = mouse;
  • uspace/drv/usbmouse/main.c

    r3690c75 re3f1987  
    5454        }
    5555
    56         usb_log_debug("Polling pipe at endpoint %d.\n", dev->pipes[0].pipe->endpoint_no);
     56        usb_log_debug("Polling pipe at endpoint %d.\n",
     57            dev->pipes[0].pipe->endpoint_no);
    5758
    5859        rc = usb_device_auto_poll(dev, 0,
     
    6667        }
    6768
    68         usb_log_info("controlling new mouse (handle %llu).\n",
     69        usb_log_info("controlling new mouse (handle %" PRIun ").\n",
    6970            dev->ddf_dev->handle);
    7071
Note: See TracChangeset for help on using the changeset viewer.