Changeset 93855d4 in mainline


Ignore:
Timestamp:
2011-03-20T15:41:41Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8373f53
Parents:
a763eb4
Message:

Add USB fallback driver

This driver is launched when no other driver is found for USB device.

Currently, it is launched on device level (support for interface level will
appear in next revision, probably).

The crippled name `usbflbk' is because of FAT16 limitations.

Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    ra763eb4 r93855d4  
    8787./uspace/drv/uhci-hcd/uhci-hcd
    8888./uspace/drv/uhci-rhd/uhci-rhd
     89./uspace/drv/usbflbk/usbflbk
    8990./uspace/drv/usbhub/usbhub
    9091./uspace/drv/usbhid/usbhid
  • boot/arch/amd64/Makefile.inc

    ra763eb4 r93855d4  
    4646        uhci-hcd \
    4747        uhci-rhd \
     48        usbflbk \
    4849        usbhub \
    4950        usbhid \
  • uspace/Makefile

    ra763eb4 r93855d4  
    120120                drv/uhci-hcd \
    121121                drv/uhci-rhd \
     122                drv/usbflbk \
    122123                drv/usbhid \
    123124                drv/usbhub \
     
    138139                drv/uhci-hcd \
    139140                drv/uhci-rhd \
     141                drv/usbflbk \
    140142                drv/usbhid \
    141143                drv/usbhub \
  • uspace/doc/doxygroups.h

    ra763eb4 r93855d4  
    274274         */
    275275
    276 
     276        /**
     277         * @defgroup drvusbfallback USB fallback driver.
     278         * @ingroup usb
     279         * @brief Fallback driver for any USB device.
     280         * @details
     281         * The purpose of this driver is to simplify querying of unknown
     282         * devices from within HelenOS (without a driver, no node at all
     283         * may appear under /dev/devices).
     284         */
     285
     286
  • uspace/lib/usb/src/recognise.c

    ra763eb4 r93855d4  
    291291        }
    292292       
     293        /* As a last resort, try fallback driver. */
     294        ADD_MATCHID_OR_RETURN(matches, 10, "usb&fallback");
     295
    293296        return EOK;
    294297}
Note: See TracChangeset for help on using the changeset viewer.