Subject: Re: port-evbmips/32355: USB clocking incorrect for Au1550 boards
To: None <port-evbmips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: netbsd-bugs
Date: 12/21/2005 18:55:01
The following reply was made to PR port-evbmips/32355; it has been noted by GNATS.

From: "Garrett D'Amore" <garrett_damore@tadpole.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-evbmips/32355: USB clocking incorrect for Au1550 boards
Date: Wed, 21 Dec 2005 10:51:44 -0800

 gnats-admin@netbsd.org wrote:
 
 >Thank you very much for your problem report.
 >It has the internal identification `port-evbmips/32355'.
 >The individual assigned to look at your
 >report is: port-evbmips-maintainer. 
 >
 >  
 >
 >>Category:       port-evbmips
 >>Responsible:    port-evbmips-maintainer
 >>Synopsis:       USB clocking incorrect for Au1550 boards
 >>Arrival-Date:   Wed Dec 21 18:30:00 +0000 2005
 >>    
 >>
 The diffs are posted online at
 http://garrett.damore.org/software/netbsd/diff.32355
 
 Here they as well:
 
 Index: machdep.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/evbmips/alchemy/machdep.c,v
 retrieving revision 1.19
 diff -u -r1.19 machdep.c
 --- machdep.c	11 Dec 2005 12:17:11 -0000	1.19
 +++ machdep.c	21 Dec 2005 18:30:59 -0000
 @@ -316,24 +316,6 @@
  	curpcb = &lwp0.l_addr->u_pcb;
  	curpcb->pcb_context[11] = MIPS_INT_MASK | MIPS_SR_INT_IE; /* SR */
  
 -#if NOHCI > 0
 -	{
 -#define	USBH_ALL   (0x1f<<10)  /* All relevant bits in USBH portion of SYS_CLKSRC */
 -		/*
 -		 * Assign a clock for the USB Host controller.
 -		 */
 -		volatile u_int32_t *scsreg, *auxpll;
 -		u_int32_t	tmp;
 -
 -		scsreg = (volatile u_int32_t *)(MIPS_PHYS_TO_KSEG1(SYS_CLKSRC));
 -		auxpll = (volatile u_int32_t *)(MIPS_PHYS_TO_KSEG1(SYS_AUXPLL));
 -		*auxpll = 8;		/* 96Mhz */
 -		tmp = *scsreg;
 -		tmp &= ~USBH_ALL;	/* clear all USBH bits in SYS_CLKSRC first */
 -		tmp |= (SCS_DUH|SCS_CUH|SCS_MUH(SCS_MEx_AUX));	/* 48Mhz */
 -		*scsreg = tmp;
 -	}
 -#endif   /* NOHCI */
  	/*
  	 * Initialize debuggers, and break into them, if appropriate.
  	 */
 
 
 Thanks.
 
 -- 
 Garrett D'Amore                          http://www.tadpolecomputer.com/
 Sr. Staff Engineer          Extending the Power of 64-bit UNIX Computing
 Tadpole Computer, Inc.                             Phone: (951) 325-2134