Thread (4 messages) flat view 4 messages, 2 authors, 2007-08-09

Re: [PATCH] SSB PCI core driver fixes

From: Aurelien Jarno <aurelien@aurel32.net>
Date: 2007-08-09 01:26:18

Michael Buesch a écrit :
On Thursday 09 August 2007, Aurelien Jarno wrote:
quoted
 - Add some delay between the configuration of the PCI controller 
   and its registration.
Why? It is _huge_ and people won't like it ;)
At least add a comment why this is needed.
It is need, otherwise the PCI controller gets confused, which causes a
reset of the machine. Then CFE goes into a loop booting again and again
without being able to get up to the prompt.

I agree this is a huge value, so I will try to find the minimum value
and then add some margin.

I will send an updated patch.
quoted
@@ -340,6 +345,7 @@
 	 * The following needs change, if we want to port hostmode
 	 * to non-MIPS platform. */
 	set_io_port_base((unsigned long)ioremap_nocache(SSB_PCI_MEM, 0x04000000));
+	mdelay(300);
 	register_pci_controller(&ssb_pcicore_controller);
 }

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help