cvs commit: src/sys/dev/usb usb.c

Maxim Sobolev sobomax at portaone.com
Fri Mar 25 12:25:35 PST 2005


This is still suboptimal, since even after this change when ehci is 
enabled some (if not most) USB devices are detected after system goes 
into milti-user mode. Obviously, this makes it impossible to mount root 
fs off the USB HDD/FDD/CD. The simplest way to solve this problem is to 
add some sufficiently long and configurable delay before mounting root 
fs (similar to one used by the SCSI) when ehci is enabled to let those 
devices to be detected and attached.

-Maxim

Ian Dowse wrote:
> iedowse     2005-03-17 19:41:20 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/usb          usb.c 
>   Log:
>   Defer boot-time exploration of USB busses until all devices in the
>   system have been attached, but no later. This ensures that we do
>   not explore ohci or uhci busses before the companion echi controller
>   has been initialised, so it should fix the problem of multi-speed
>   USB devices getting attached as USB 1 devices first and then
>   re-attached as USB 2.
>   
>   Some further changes are needed on architectures that do not currently
>   allow hooks to be inserted before configure_final() - alpha, ia64,
>   powerpc and sparc64. On these architectures the exploration will
>   now be delayed until the usb kthread runs.
>   
>   Revision  Changes    Path
>   1.104     +30 -1     src/sys/dev/usb/usb.c
> 
> 
> 



More information about the cvs-all mailing list