[PATCH] Fix for USB media not found at boot

Scott Long scottl at samsco.org
Sat Oct 3 15:05:46 UTC 2009


On Oct 3, 2009, at 4:30 AM, Hans Petter Selasky wrote:
> On Saturday 03 October 2009 10:19:57 Scott Long wrote:
>> config_intrhook system will sleep after all
>
> Then why do you need the intr hook callback?
>

The config_intrhook lets you know that interrupts are enabled, the  
scheduler is running, and mountroot hasn't run yet.  It provides a  
very convenient and standard way to do exactly what we want with USB  
enumeration.

Scott



More information about the freebsd-current mailing list