Date: Mon, 9 Feb 2015 23:37:15 +0000 From: "ian (Ian Lepore)" <phabric-noreply@FreeBSD.org> To: freebsd-arm@freebsd.org Subject: [Differential] [Updated] D1811: Configure interrupt on ARM when mapped Message-ID: <8c30084f810d82d180f820f5e8b03dac@localhost.localdomain> In-Reply-To: <differential-rev-PHID-DREV-4qcj7rwdmlj6inx42v2r-req@FreeBSD.org> References: <differential-rev-PHID-DREV-4qcj7rwdmlj6inx42v2r-req@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
ian added a comment. I think this is completely wrong and the interrupt needs to be configured when it is activated, not when it is parsed/decoded. Consider for example a gpio pin interrupt... we wouldn't want to mess with the pin state while the fdt data is being parsed because that data could refer to a possible configuration which is never going to be activated, and the actual use of the pin in the configuration that is active could be something else (not even related to interrupts). REVISION DETAIL https://reviews.freebsd.org/D1811 To: zbb, andrew, imp, ian Cc: imp, freebsd-arm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8c30084f810d82d180f820f5e8b03dac>