1. 22 May, 2011 1 commit
    • Jeffrey Lee's avatar
      Add the ability to build the USB drivers as HAL-compatible static libraries · 4ca937fd
      Jeffrey Lee authored
      Detail:
        build/Makefile, build/OBJEHCIDriver, build/OBJOHCIDriver, build/OBJUSBDriver - Modified makefiles to build the HAL libs during the export libs phase
        build/!MkHAL,fd7 - Handy script for building the HAL libs
        build/Hdr/usbhal - Header containing definitions for the assembler code. Also gets exported so that HALs know how much workspace to reserve.
        build/c/usbhal - HAL version of usbmodule.c & port.c. Also contains the keyboard scan code, adapted from the code in the Tungsten HAL.
        build/s/porthal - Assembler versions of some port.c routines that were easier to do in assembler than C
        build/s/halheap - OS_Heap code that's been adapted for use in the HAL. Could easily be changed into a standalone library instead of being part of the HAL USB libs. Supports memory-efficient allocation of aligned blocks.
        build/c/ehcihal - HAL version of ehcimodule.c. Currently only supports EHCI controllers exposed via HAL_USBControll...
      4ca937fd
  2. 06 Sep, 2009 1 commit
    • Jeffrey Lee's avatar
      Add workaround for incorrect sizeof(usb_status_t), disable... · d2e1e243
      Jeffrey Lee authored
      Add workaround for incorrect sizeof(usb_status_t), disable debug_set_stamp_debug(TRUE) to fix interrupt issue
      
      Detail:
        build/c/ehcimodule, build/c/ohcimodule, build/c/usbmodule - Make sure that timestamped debug messages aren't used, as they appear to cause interrupts to be briefly enabled, which causes all kinds of problems in sensitive bits of the code.
        dev/usb/c/usbdi, dev/usb/c/usbdi_util, dev/usb/h/usb - Because DISABLE_PACKED is being used to compile the USB drivers, sizeof(usb_status_t) was being calculated as 4 bytes instead of 2. Somehow this works fine with the EHCI driver (and presumably the OHCI driver), but it was causing problems with the MUSBDriver, so a hardcoded size of 2 is now used.
      Admin:
        Tested on rev C2 beagleboard.
      
      
      Version 0.48. Tagged as 'NetBSD-0_48'
      d2e1e243
  3. 24 Apr, 2005 1 commit
    • John Ballance's avatar
      Update of NetBSD elements (except c.ohci) to track NetBSD current from mid April 2005. · 8f8a1be7
      John Ballance authored
      	Inclusion of Mods to c.ehci (from Dan) to correctly handle low
      	speed interrupt devices beyond USB2 hubs (i.e. keyboards and mice).
      	Mod to EHCI resetting in service call handler to better cope with
      	USBDriver being restarted 'underneath' it.
      Detail:
      Admin:
      	Castle, Dan Ellis, NetBSD added IP. Tested at Castle. Will be
      	beta tested at this revision level before full release.
      
      
      Version 0.39. Tagged as 'NetBSD-0_39'
      8f8a1be7
  4. 21 Jan, 2005 1 commit
    • John Ballance's avatar
      Stack brought up to date with NetBSD sources as at 20050121. · af0b10a5
      John Ballance authored
              USB2 further debugged.
      Detail:
              Check in prior to second beta release. Improvements also to
              softloading of replacement modules.
      Admin:
              Checked with JB .. further crosschecking is still needed for rhenium.
              Castle/D Ellis added ip from NetBSD sources
      
      
      Version 0.33. Tagged as 'NetBSD-0_33'
      af0b10a5
  5. 30 Dec, 2004 1 commit
    • John Ballance's avatar
      Update of EHCIDriver to current NetBSD, together with needed changes in both... · 480e14ee
      John Ballance authored
      Update of EHCIDriver to current NetBSD, together with needed changes in both OHCIDriver and USBDriver.
      
      Detail:
              Code may change before formal release .. will be beta released
              ... Entered to CVS to get new version numbers, and for
              the record.
      Admin:
              Castle/netbsd added IP .. will be tested more fully before
              formal release. Still to be verified on Rhenium.
      
      
      Version 0.31. Tagged as 'NetBSD-0_31'
      480e14ee
  6. 06 May, 2004 1 commit
    • Ben Avison's avatar
      New versions from John. · 833bc3d0
      Ben Avison authored
      Detail:
        * All modules will now rmkill/rmload more reliably
        * Keyboard driver disables kernel debounce on new enough kernels, needed
          for many PS2-USB adaptors, bar code scanners etc
        * Mouse driver will scroll wheel scroll any windows that do respond to
          scroll events, otherwise it issues PointerReason_WheelChange (9) to an
          external WimpScroll module
        * Several bugs and an interrupt hole resolved
      Admin:
        Tested at Framlingham.
      
      Version 0.25. Tagged as 'NetBSD-0_25'
      833bc3d0
  7. 21 Jan, 2004 1 commit
  8. 14 May, 2003 1 commit
    • Ben Avison's avatar
      Support for SCSISoftUSB, and some tidying up. · 27401fc0
      Ben Avison authored
      Detail:
        * Errors now use the allocated error number base, &819000, instead of a
          base in the private range, &50000000. "USB transfer failed" errors now
          have use a sub-range of error numbers from &819020; the original BSD
          error number can be retrieved from the bottom 5 bits of the RISC OS
          error number.
        * Service_USB 1 now returns the list in the order in which the devices,
          rather than in the reverse order as previous versions of the module did.
        * A little tweaking of h/usb_port to reduce compiler warnings.
        * Some compiler-satisfying changes to allow use of packed structures.
          (However, the compiler doesn't seem to work correctly yet, so this is
          currently switched out using -DDISABLE_PACKED on the command line.)
        * Added full stops to end of star command help strings for consistency
          with rest of OS.
        * New exports: USBDevFS (moved here from ^.h) and a few files in dev/usb/h
          and sys/h.
      Admin:
        Error number overhaul and...
      27401fc0
  9. 11 Apr, 2003 1 commit
  10. 28 Jan, 2003 1 commit