Author: wmb Date: Thu Jan 27 02:15:15 2011 New Revision: 2154 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2154
Log: USB - reprobe on open even if the stack is already open. This makes probing work when a USB keyboard is attached and in use, thus keeping the stack open.
Modified: dev/usb2/hcd/ehci/probe.fth dev/usb2/hcd/ohci/probe.fth dev/usb2/hcd/uhci/probe.fth
Modified: dev/usb2/hcd/ehci/probe.fth ============================================================================== --- dev/usb2/hcd/ehci/probe.fth Thu Jan 27 01:13:35 2011 (r2153) +++ dev/usb2/hcd/ehci/probe.fth Thu Jan 27 02:15:15 2011 (r2154) @@ -138,8 +138,8 @@ do-resume then suspended? if do-resume then - probe-root-hub then + probe-root-hub open-count 1+ to open-count true ;
Modified: dev/usb2/hcd/ohci/probe.fth ============================================================================== --- dev/usb2/hcd/ohci/probe.fth Thu Jan 27 01:13:35 2011 (r2153) +++ dev/usb2/hcd/ohci/probe.fth Thu Jan 27 02:15:15 2011 (r2154) @@ -121,9 +121,8 @@ init-ohci-regs then alloc-dma-buf - - probe-root-hub then + probe-root-hub open-count 1+ to open-count true ;
Modified: dev/usb2/hcd/uhci/probe.fth ============================================================================== --- dev/usb2/hcd/uhci/probe.fth Thu Jan 27 01:13:35 2011 (r2153) +++ dev/usb2/hcd/uhci/probe.fth Thu Jan 27 02:15:15 2011 (r2154) @@ -67,9 +67,8 @@ suspended? if do-resume then
alloc-dma-buf - - probe-root-hub then + probe-root-hub open-count 1+ to open-count true ;
openfirmware@openfirmware.info