Date: Mon, 5 Mar 2018 08:12:12 -0800 From: Thomas Skibo <thomasskibo@yahoo.com> To: Ian Lepore <ian@freebsd.org> Cc: freebsd-arm@freebsd.org Subject: Re: Panic in spi driver Message-ID: <165F26C2-AD03-41FC-92A5-105D3CE2E514@yahoo.com> In-Reply-To: <1520216633.38056.12.camel@freebsd.org> References: <838BFE5B-61CD-4EC4-BB4F-8124B5B3AF9F@yahoo.com> <1520216633.38056.12.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Mar 4, 2018, at 6:23 PM, Ian Lepore <ian@freebsd.org> wrote: >=20 >=20 > I just committed the imx_spi fix in r330438. The basic fix is instead > of ending attach() with=20 >=20 > return (bus_generic_attach(sc->dev)); >=20 > do=20 >=20 > config_intrhook_oneshot((ich_func_t)bus_generic_attach, dev); > return (0); >=20 > -- 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. =E2=80=94Thomas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?165F26C2-AD03-41FC-92A5-105D3CE2E514>