1. 02 Oct, 2009 1 commit
  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. 13 Jun, 2009 1 commit
    • Ben Avison's avatar
      Build fix · daf7dd68
      Ben Avison authored
      Detail:
        The build utility makedevs, compiled at build time, is now built using the
        HostTools shared makefile, and so will execute on any RISC OS build host
        even if the default compiler options are to target an incompatible ARM
        architecture.
      Admin:
        Tested using an APCS-R build on an Iyonix.
      
      Version 0.47. Not tagged
      daf7dd68
  4. 09 May, 2009 1 commit
    • Jeffrey Lee's avatar
      Add support for HAL enumerated USB EHCI controllers, use HAL_IRQClear when... · 49653fb9
      Jeffrey Lee authored
      Add support for HAL enumerated USB EHCI controllers, use HAL_IRQClear when clearing EHCI/OHCI controller interrupts
      
      Detail:
        * HAL enumeration of EHCI controllers is performed in the same manner as for OHCI, and protected by #ifdef RHENIUM. HAL_USBControllerInfo must return with the usbinfo type field set to 1 to indicate EHCI.
        * HAL_IRQClear is now called by the EHCI & OHCI modules after clearing the interrupt flag in the USB controller, to allow the HAL to reset the interrupt controller if required (e.g. for OMAP3)
        * EHCI module (for HAL EHCI controllers) now has the option of forcing all EHCI register access to be 32bit size & alignment (requirement is indicated in OMAP3 TRM, although USB did seem to function fine without)
        build/c/ehcimodule - Add enumeration of HAL USB controllers. Add support for forcing all EHCI register access to be 32bit size & alignment. Add riscos_irqclear() implementation. Guard against unexpected behaviour if PCI module isn't present.
        build/c/ohcimodule - Add riscos_irqclear() implementation. Guard against unexpected behaviour if PCI module isn't present.
        dev/usb/c/ehci, dev/usb/c/ohci - call riscos_irqclear() when appropriate
        dev/usb/h/usb_port - riscos_irqclear() prototype
      Admin:
        Tested on rev C2 beagleboard. Untested on Iyonix, but should be fine.
      
      
      Version 0.47. Tagged as 'NetBSD-0_47'
      49653fb9
  5. 22 Feb, 2006 1 commit
    • John Ballance's avatar
      Replaced ep resync mechanism in usb_subr · 49639dac
      John Ballance authored
      Detail:
      	in recent work endpoint resync mechanism in usb_subr
      	was removed to re-align better with current NetBSD
      	sources.. however without the mechanism Epson
      	scanners fail to do repeat scans/
      Admin:	Castle added IP
      
      
      Version 0.46. Tagged as 'NetBSD-0_46'
      49639dac
  6. 05 Jan, 2006 1 commit
  7. 31 Dec, 2005 1 commit
  8. 30 Dec, 2005 2 commits
    • Dan Ellis's avatar
      Committed incorrect file previously · 4f8a1a84
      Dan Ellis authored
      4f8a1a84
    • Dan Ellis's avatar
      Now handles interrupt out transfers · 3f595ef2
      Dan Ellis authored
      Detail:
        There were many places where this was broken: the devicefs
      interface was always starting off a read regardless of
      whether it was an IN or OUT transfer, usbdi.c was setting
      OUT interrupt transfers as repeating, which doesn't make sense,
      and ohci.c was always making interrupt transfers OUT (this is
      fixed in the latest BSD sources). Also the code which
      unhalts endpoints at start of day has been removed, as this is
      no longer in the BSD sources having been removed after it was
      seend to have caused problems.
      
      Admin:
        Tested with a CATC analyzer on an AverMedia FM radio. If now
      operates properly with the code from Dave Higton.
      
      Version 0.43. Tagged as 'NetBSD-0_43'
      3f595ef2
  9. 05 Dec, 2005 1 commit
  10. 05 Jun, 2005 1 commit
    • John Ballance's avatar
      Fixed abort seen with some KVMs and ps2 adaptors in relation to !HID · 5f9b6d9d
      John Ballance authored
      Detail:
      	Devices with HID kbd and mouse in separate interfaces were
      	not being correctly 'forgotten' when the device was claimed
      	by a 3rd party App (!HID). This was because a re-entrancy issue
      	led to the second claimed i/f being removed before the first
      	was fully removed.
      	This led to a muddle in the dev->subdevs array. Solution was to
      	unlink it from the subdevs array before 'detaching' it,
      	instead of after.
      Admin:
      	Castle added IP. Tested at Castle. Will be initially released via
      	the beta test site.
      
      
      Version 0.41. Tagged as 'NetBSD-0_41'
      5f9b6d9d
  11. 18 May, 2005 1 commit
    • John Ballance's avatar
      several changes and nullpointer bug fixes · 49da0634
      John Ballance authored
      Detail:
      	Includes several bug fixes and null pointer traps.
      	Rhenium version reviewed and reset should be improved.
      Admin:
      	Tested in rhenium desktop build and iyonix build at castle
         	Castle added IP
      
      
      Version 0.40. Tagged as 'NetBSD-0_40'
      49da0634
  12. 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
  13. 05 Mar, 2005 1 commit
  14. 24 Feb, 2005 1 commit
    • John Ballance's avatar
      2 specific changes to USBDriver module · 6a08f2c6
      John Ballance authored
              Added (and fixed code underlying) to give periodic
              explore of USB busses (cf NetBSD).
              Added USBDisover command to let user provoke this too.
              Reworked USB device number allocation to roll
              around at 999 to avoid field overflow in
              a number of places.
      Detail:
      Admin:  castle added IP. to be beta tested on beta test site
      
      
      Version 0.37. Tagged as 'NetBSD-0_37'
      6a08f2c6
  15. 23 Feb, 2005 1 commit
    • John Ballance's avatar
      An increased delay caused havoc with chicony keyboards in the field · ec61c0b1
      John Ballance authored
      Detail:
              USB_PORT_RESET_DELAY had been increased from 100 to 200ms in previous
              version. This was OK for most devices, and beneficial for some, BUT
              killed the Chicony keyboards shipped with many iyonix.. Delay has
              been reverted to 100ms, and is now run time alterable via the
              USB$PortResetDelay sysvar. This problem did not show up in beta testing!
      
      Admin:  tested by JB with chicony.. delays up to around 160ms work with
              the chicony.
              Castle added IP
      
      Version 0.36. Tagged as 'NetBSD-0_36'
      ec61c0b1
  16. 18 Feb, 2005 1 commit
    • John Ballance's avatar
      changes and bug fixes that came to light following USB2 launch. · 85cb0bb5
      John Ballance authored
      Detail:
               - VarVal launching.. string length was incorrectly calculated.
               - USB VarVals now correctly cleared if device failed during
                 enumeration, after first SetVarVal call.
               - Triggercbs() modified to check interrupt context and be
                 refuse (quietly) to trigger callbacks if interrupts threaded
                 (result of possible issue .. but perhaps wise)
               - Added third QueryDelay variable, and an Info file to describe
                 what does what.
      Admin:
               checked at Castle.. due for extended check via beta test site
               before formal release.
      
               Castle + D Ellis added IP
      
      
      Version 0.35. Tagged as 'NetBSD-0_35'
      85cb0bb5
  17. 31 Jan, 2005 1 commit
  18. 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
  19. 03 Jan, 2005 1 commit
  20. 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
  21. 25 Nov, 2004 1 commit
  22. 12 Nov, 2004 2 commits
  23. 09 Nov, 2004 1 commit
    • Ben Avison's avatar
      BBE-related change: · ece70c1d
      Ben Avison authored
      Added verbatim rom_link rules for each of USBDriver, OHCIDriver and
      EHCIDriver, because the fact that source files are re-built in the rom_link
      phase breaks srcbuild's automatic rom_link rule generation.
      
      Retagged since this won't affect code generation for existing builds.
      ece70c1d
  24. 12 Aug, 2004 1 commit
    • John Ballance's avatar
      Extensive changes and bug fixes to usb and ohci .. · e9f0e9c8
      John Ballance authored
        'blocked' several holes that could cause freezes with awkward
        usb devices.  Added latest changes from Dan Ellis too , especially for USB2
      Detail:
       many
      Admin:
       Tested in ROM at Castle, and beta tested with users
      
      
      Version 0.28. Tagged as 'NetBSD-0_28'
      e9f0e9c8
  25. 01 Jul, 2004 1 commit
  26. 30 Jun, 2004 1 commit
  27. 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
  28. 22 Mar, 2004 1 commit
  29. 16 Feb, 2004 1 commit
  30. 21 Jan, 2004 2 commits
    • Ben Avison's avatar
      Merge of Dan Ellis's USB2 sources. · bad89421
      Ben Avison authored
      Version 0.22. Tagged as 'NetBSD-0_22'
      bad89421
    • Ben Avison's avatar
      Changes to work with TCPIPLibs 5.47. · 778cee75
      Ben Avison authored
      Detail:
        NetBSD/FreeBSD differences in the naming of certain macros are now resolved
        in TCPIPLibs instead of locally. Also some reordering in the !Mk files in
        order to work with current versions of Zap.
      Admin:
        Builds against TCPIPLibs 5.47. Note that this version of the USB sources
        also now requires TCPIPLibs 5.47.
      
      Version 0.21. Tagged as 'NetBSD-0_21'
      778cee75
  31. 07 Jan, 2004 2 commits
  32. 16 Jun, 2003 1 commit
  33. 03 Jun, 2003 1 commit
  34. 23 May, 2003 2 commits
  35. 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 new exports are both required by SCSISoftUSB.
      
      Version 0.16. Tagged as 'NetBSD-0_16'
      27401fc0