Panic in spi driver

Thomas Skibo thomasskibo at yahoo.com
Mon Mar 5 16:22:31 UTC 2018


> On Mar 4, 2018, at 6:23 PM, Ian Lepore <ian at freebsd.org> wrote:
> 
> 
> I just committed the imx_spi fix in r330438.  The basic fix is instead
> of ending attach() with 
> 
>   return (bus_generic_attach(sc->dev));
> 
> do 
> 
>   config_intrhook_oneshot((ich_func_t)bus_generic_attach, dev);
>   return (0);
> 
> -- Ian

Thanks, Ian.  This works slick.  I did manage to implement a polling loop transfer function for transfers 4 bytes or less and that worked too.  But this is cleaner.

—Thomas



More information about the freebsd-arm mailing list