freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-devel] KCS Driver & SMS_ATN Register


From: Anand Babu Periasamy
Subject: Re: [Freeipmi-devel] KCS Driver & SMS_ATN Register
Date: Mon, 22 Feb 2010 01:16:05 -0800

On Sun, Feb 21, 2010 at 8:38 AM, Al Chu <address@hidden> wrote:
> Hey A.B,
>
>> Al, Unfortunately SMS_ATN is KCS specific. So we can't create an
>> abstracted API.
>
> There's no reason other drivers won't have "interrupt callbacks" in the
> future.  We can abstract it by calling the API function something like
> "interrupt_callback".  The only driver supported with it would be KCS in
> the beginning.
>
> Al

Then lets create an API and return ENOTSUP erno for system interfaces
other than KCS (for now). It makes sense for higher level abstracted
API to call get-message-flags in addition. This function is already
asynchronous.  Application developers would prefer an async API over
callback framework.

--
Anand Babu Periasamy
GPG Key ID: 0x62E15A31
Blog [http://www.unlocksmith.org]
GlusterFS [http://www.gluster.org]
GNU Operating System [http://www.gnu.org]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]