Commit 63a1ed13 authored by Kevin Bracey's avatar Kevin Bracey
Browse files

Selects per-port power control for all ports before starting BSD code.

Fix suggested by Dan Ellis.

Version 0.24. Tagged as 'NetBSD-0_24'
parent 186fa096
/* (0.23)
/* (0.24)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.68.
*
*/
#define Module_MajorVersion_CMHG 0.23
#define Module_MajorVersion_CMHG 0.24
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 16 Feb 2004
#define Module_Date_CMHG 22 Mar 2004
#define Module_MajorVersion "0.23"
#define Module_Version 23
#define Module_MajorVersion "0.24"
#define Module_Version 24
#define Module_MinorVersion ""
#define Module_Date "16 Feb 2004"
#define Module_Date "22 Mar 2004"
#define Module_ApplicationDate "16-Feb-04"
#define Module_ApplicationDate "22-Mar-04"
#define Module_ComponentName "NetBSD"
#define Module_ComponentPath "RiscOS/Sources/HWSupport/USB/NetBSD"
#define Module_FullVersion "0.23"
#define Module_HelpVersion "0.23 (16 Feb 2004)"
#define Module_LibraryVersionInfo "0:23"
#define Module_FullVersion "0.24"
#define Module_HelpVersion "0.24 (22 Mar 2004)"
#define Module_LibraryVersionInfo "0:24"
......@@ -277,6 +277,9 @@ _kernel_oserror *module_init(const char *cmd_tail, int podule_base, void *pw) {
}
dprintf (("", "magic at %p", magic));
/* enable per-port power control on all ports */
ohci_base[OHCI_RH_DESCRIPTOR_B / 4] = 0xFFFF0000;
/* for the L7205, clocks need to be started */
/* in BSD this is called from sys/pci/ohci_pci.c */
ohci_init (&ohci_soft);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment