Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2016 11:01:49 +0900
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        =?EUC-KR?B?0KTQvtGB0YHQsA==?= <fossa-artem@mail.ru>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: Marvell Yukon II (msk driver) polling support
Message-ID:  <20160531020149.GB1181@michelle.fasterthan.co.kr>
In-Reply-To: <aebeabd4517945274837e026aaabbcd6@gateway.fossa.fossa>
References:  <aebeabd4517945274837e026aaabbcd6@gateway.fossa.fossa>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 30, 2016 at 03:59:12PM +0300, ?????????? via freebsd-drivers wrote:
> Do I understand correctly, that I need to move msk_intr_gmac() to
> polling loop?
> 

Since polling(4) does not rely on interrupts, you have to
periodically check all possible status change in the loop.
Most polling-enabled drivers do that when the callback is called
with POLL_AND_CHECK_STATUS poll_cmd.



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