Date: Sun, 24 May 2015 17:33:21 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Ian Lepore <ian@freebsd.org> Cc: Oleksandr Tymoshenko <gonzo@freebsd.org>, "freebsd-arm@freebsd.org List" <freebsd-arm@freebsd.org> Subject: Re: panic: arm_unmask_irq [was: Re: TI platforms code update: switching to vendor FDT data] Message-ID: <8EC96924-4D33-4AF8-87B7-586441601D0B@xcllnt.net> In-Reply-To: <1432512966.1200.15.camel@freebsd.org> References: <C9791C97-D5B1-433A-9AC0-CA2707C6137F@freebsd.org> <72E1D87A-1CEF-4719-907E-CF8E9D720FD1@xcllnt.net> <3741A6A7-1185-4E5A-9E98-22F5A6C730DC@freebsd.org> <1432512966.1200.15.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_1A11485B-5108-4275-A609-36DF97FEE902 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On May 24, 2015, at 5:16 PM, Ian Lepore <ian@freebsd.org> wrote: > > Shouldn't the driver attach order be controlled with BUS_PASS numbers > now? That's been required with other socs that moved to the standard > dts data where we don't control the order of the nodes in the file. The problem is different in my case, but yes it was the first thing I suspected without digging deeper: fbsdvm64% svn diff sys/arm Index: sys/arm/ti/aintc.c =================================================================== --- sys/arm/ti/aintc.c (revision 283321) +++ sys/arm/ti/aintc.c (working copy) @@ -156,7 +156,8 @@ static devclass_t ti_aintc_devclass; -DRIVER_MODULE(aintc, simplebus, ti_aintc_driver, ti_aintc_devclass, 0, 0); +EARLY_DRIVER_MODULE(aintc, simplebus, ti_aintc_driver, ti_aintc_devclass, + 0, 0, BUS_PASS_ORDER_EARLY); int arm_get_next_irq(int last_irq) -- Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_1A11485B-5108-4275-A609-36DF97FEE902 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVYm3RAAoJEIda8t8f0tjj4tsQAOdyXxkzED23QDpKzMRkmvdx hMTxBP1kUwDd2+/Mi9n6dXXMYWYS0qtD+t/2y6j4jqItVXUOK1xnt0NHDnwOdTzC sWemyE2YM/bMd62de2Q/aFkW9Lgw9glaJGEDJDvGYQDgo047YvCWK4hhwd2i4c3c uCuBHUjrJtBAuWJHlzcpDSIpPwaECqcQSI/S7Vvv4/8t4vVfoaDgbhcdcLdiYsaU gDVn7IYV1geaWLcm95PVBp6Zhf+O+X8WtvttX3uQNZWBagI1hgv5aFQHzhP2mkda TlMDCqwPBmAYaVFkC6Y7z58h7KwLDQBbJcaXyduAJ4qM+mEpo93QnGpRAb/pa1hO IWRu7VD6BQyvrm/NVdxs/RFZTKsg7BZV5bPlTYyQvQpEar/VXWpHowmI9XQl8t3P Xzxvpp7IPZSrHZnEdzBXZ1XVleSs8O7ryA9BfeN7F8cD5sg2YG7rRF6fxks0Lfbe z1dZItXmgoOITw/Mjji2Zoqa4xBU/C0xZC9hrlSdMwnMXaQIkenmzk+sUYBLEbqt GaBUyrhsbcD1WMpsFBaDsCXwdEXykoL0Oa87/+vCvh9s/LvTB9ZXYPK7jMDF4jYD eLsglMIaDLpLSSZLVBOQ1iCqvB1c6bZp9Y3DDJPljvPC8xyhfiZooRKTuftIwLEg xkVk7qtyVc+3V+WqoJYv =gLPk -----END PGP SIGNATURE----- --Apple-Mail=_1A11485B-5108-4275-A609-36DF97FEE902--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8EC96924-4D33-4AF8-87B7-586441601D0B>