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

Changeset 27eb1fe in mainline


Ignore:
Timestamp:
2011-04-15T13:27:58Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
ad86349
Parents:
c9dc471 (diff), aaf6155 (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

Files:
8 added
5 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    rc9dc471 r27eb1fe  
    9494./uspace/drv/usbhid/usbhid
    9595./uspace/drv/usbkbd/usbkbd
     96./uspace/drv/usbmast/usbmast
    9697./uspace/drv/usbmid/usbmid
    9798./uspace/drv/usbmouse/usbmouse
  • boot/arch/amd64/Makefile.inc

    rc9dc471 r27eb1fe  
    5151        usbkbd \
    5252        usbhid \
     53        usbmast \
    5354        usbmid \
    5455        usbmouse \
  • uspace/Makefile

    rc9dc471 r27eb1fe  
    125125                drv/usbhid \
    126126                drv/usbhub \
     127                drv/usbmast \
    127128                drv/usbmid \
    128129                drv/usbmouse \
     
    146147                drv/usbhid \
    147148                drv/usbhub \
     149                drv/usbmast \
    148150                drv/usbmid \
    149151                drv/usbmouse \
  • uspace/doc/doxygroups.h

    rc9dc471 r27eb1fe  
    251251
    252252        /**
     253         * @defgroup drvusbmast USB mass storage driver
     254         * @ingroup usb
     255         * @brief USB driver for mass storage devices (bulk-only protocol).
     256         * This driver is a only a stub and is currently used only for
     257         * testing that bulk transfers work.
     258         */
     259
     260        /**
    253261         * @defgroup drvusbuhci UHCI driver
    254262         * @ingroup usb
  • uspace/drv/usbhid/usbhid.c

    rc9dc471 r27eb1fe  
    360360        rc = usb_hid_check_pipes(hid_dev, dev);
    361361        if (rc != EOK) {
    362                 usb_hid_free(&hid_dev);
     362                //usb_hid_free(&hid_dev);
    363363                return rc;
    364364        }
     
    368368        if (rc != EOK) {
    369369                usb_log_error("Failed to initialize report parser.\n");
    370                 usb_hid_free(&hid_dev);
     370                //usb_hid_free(&hid_dev);
    371371                return rc;
    372372        }
     
    386386                            " device.\n");
    387387                        fallback = true;
     388                        assert(hid_dev->subdrivers == NULL);
     389                        assert(hid_dev->subdriver_count == 0);
    388390                }
    389391        } else {
     
    426428                usb_log_error("No subdriver for handling this device could be"
    427429                    " initialized: %s.\n", str_error(rc));
    428                 usb_hid_free(&hid_dev);
     430                usb_log_debug("Subdriver count: %d\n",
     431                    hid_dev->subdriver_count);
     432                //usb_hid_free(&hid_dev);
    429433        } else {
    430434                bool ok = false;
     
    550554        }
    551555       
     556        usb_log_debug("Subdrivers: %p, subdriver count: %d\n",
     557            (*hid_dev)->subdrivers, (*hid_dev)->subdriver_count);
     558       
    552559        assert((*hid_dev)->subdrivers != NULL
    553560            || (*hid_dev)->subdriver_count == 0);
Note: See TracChangeset for help on using the changeset viewer.