; Copyright 2004 Castle Technology Ltd ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. ; #include "Global/RISCOS.h" #include "Global/Services.h" #include "../Version" initialisation-code: module_init finalisation-code: module_final service-call-handler: module_services &D2 title-string: EHCIDriver help-string: EHCIDriver EHCIDriverModule_MajorVersion_CMHG date-string: EHCIDriverModule_Module_Date_CMHG #define HELPFILE(M) "Resources:$." #M #define XHELPFILE(M) HELPFILE(M) international-help-file: XHELPFILE(MSGLOC) command-keyword-table: module_commands EHCIRegs( min-args:0, max-args:0, help-text: "*EHCIRegs reads the registers from the EHCI controller\n", add-syntax:, invalid-syntax: "Syntax: *EHCIRegs"), EHCIEDS(), EHCIWrite( min-args:2, max-args:2, help-text: "*EHCIWrite writes to a register in the EHCI controller.\n", add-syntax:, invalid-syntax: "Syntax: *EHCIWrite <offset> <value>"), EHCIDebug( min-args:1, max-args:2, help-text: "*EHCIDebug sets the debug level for debuglib output, optionally also setting the debug level for output controlled by the usbdebug variable within the ohcidriver.\n", add-syntax:, invalid-syntax: "Syntax: EHCIDebug <ehci> [<usb>]") vector-handlers: usb_irq_entry/usb_irq_handler, softintr_entry/softintr generic-veneers: callout_entry/callout_handler, #ifdef EHCI_DEBUG driver_entry/driver, #endif new_entry/new_instance