On Sun, Feb 21, 2010 at 8:38 AM, Al Chu <[email protected]> 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] _______________________________________________ Freeipmi-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-devel
