Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Sep 2020 19:21:09 +0400
From:      Alexander Mishin <mishin@mh.net.ru>
To:        freebsd-arm@freebsd.org
Subject:   Re: Re: Kmod driver at iicbus. attach() and config_intrhook(9)
Message-ID:  <0496ebc5628a015c005c150549e1e70a@mh.net.ru>
In-Reply-To: <df8b7db1-e3b8-273f-5303-ae063fab8635@FreeBSD.org>
References:  <d603cf3b852d5e18fa5faa9066f643a3@mh.net.ru> <20200820223918.GC4213@funkthat.com> <d709ba1d3473f5d4353dc1109c198f8acb8ffa28.camel@freebsd.org> <496ed13afb2327d6416664b4dacfc346@mh.net.ru> <20200824204708.GH4213@funkthat.com> <6be8abd0-185c-dbbb-5964-1e2ad92ad213@FreeBSD.org> <20200825203313.GJ4213@funkthat.com> <41220fa2-0af3-22c2-0057-c7578f14d52b@FreeBSD.org> <20200826213343.GR4213@funkthat.com> <2cd30277-0628-9a4c-56c0-4ab7d4debaf8@FreeBSD.org> <20200901002642.GV4213@funkthat.com> <df8b7db1-e3b8-273f-5303-ae063fab8635@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon писал 2020-09-01 09:51:
> On 01/09/2020 03:26, John-Mark Gurney wrote:
>> Ok, then the OP shouldn't be having a problem then, maybe you can help
>> then figure it out then?
> 
> Was there actually any problem?
> I thought that OP was just inquiring about the pattern commonly seen
> in the code.
> 
> Alexander Mishin wrote:
>> But I see that some other devices (from /usr/src/sys/dev) uses 
>> CONFIG_INTRHOOK(9)
>> on attach() for initialize themselfs.
>> I wonder if I need this too? ...or maybe... when I might need it?

Yes, exactly. And I quite understood about using config_intrhook(9), 
thank you all!
...but still interesting to read if the need for this would be removed 
for the twsi controller.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0496ebc5628a015c005c150549e1e70a>