diff options
author | Matt Porter <mporter@kernel.crashing.org> | 2005-11-07 04:00:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:47 -0500 |
commit | 6978bbc097c2f665c336927a9d56ae39ef75fa56 (patch) | |
tree | 541673cd413025c09b52984c5dc0333133c46a71 /include/linux/rio_drv.h | |
parent | 2b0c28d7f8846f80a436093e906f5175d1fa8f55 (diff) |
[PATCH] rapidio: message interface updates
Updates the RIO messaging interface to pass a device instance into the
event registeration and callbacks.
Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/rio_drv.h')
-rw-r--r-- | include/linux/rio_drv.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/rio_drv.h b/include/linux/rio_drv.h index 7483dfc0dfa3..3bd7cce19e26 100644 --- a/include/linux/rio_drv.h +++ b/include/linux/rio_drv.h | |||
@@ -348,8 +348,8 @@ static inline void rio_init_dbell_res(struct resource *res, u16 start, u16 end) | |||
348 | .asm_did = RIO_ANY_ID, .asm_vid = RIO_ANY_ID | 348 | .asm_did = RIO_ANY_ID, .asm_vid = RIO_ANY_ID |
349 | 349 | ||
350 | /* Mailbox management */ | 350 | /* Mailbox management */ |
351 | extern int rio_request_outb_mbox(struct rio_mport *, int, int, | 351 | extern int rio_request_outb_mbox(struct rio_mport *, void *, int, int, |
352 | void (*)(struct rio_mport *, int, int)); | 352 | void (*)(struct rio_mport *, void *,int, int)); |
353 | extern int rio_release_outb_mbox(struct rio_mport *, int); | 353 | extern int rio_release_outb_mbox(struct rio_mport *, int); |
354 | 354 | ||
355 | /** | 355 | /** |
@@ -370,8 +370,8 @@ static inline int rio_add_outb_message(struct rio_mport *mport, | |||
370 | return rio_hw_add_outb_message(mport, rdev, mbox, buffer, len); | 370 | return rio_hw_add_outb_message(mport, rdev, mbox, buffer, len); |
371 | } | 371 | } |
372 | 372 | ||
373 | extern int rio_request_inb_mbox(struct rio_mport *, int, int, | 373 | extern int rio_request_inb_mbox(struct rio_mport *, void *, int, int, |
374 | void (*)(struct rio_mport *, int, int)); | 374 | void (*)(struct rio_mport *, void *, int, int)); |
375 | extern int rio_release_inb_mbox(struct rio_mport *, int); | 375 | extern int rio_release_inb_mbox(struct rio_mport *, int); |
376 | 376 | ||
377 | /** | 377 | /** |
@@ -403,8 +403,8 @@ static inline void *rio_get_inb_message(struct rio_mport *mport, int mbox) | |||
403 | } | 403 | } |
404 | 404 | ||
405 | /* Doorbell management */ | 405 | /* Doorbell management */ |
406 | extern int rio_request_inb_dbell(struct rio_mport *, u16, u16, | 406 | extern int rio_request_inb_dbell(struct rio_mport *, void *, u16, u16, |
407 | void (*)(struct rio_mport *, u16, u16, u16)); | 407 | void (*)(struct rio_mport *, void *, u16, u16, u16)); |
408 | extern int rio_release_inb_dbell(struct rio_mport *, u16, u16); | 408 | extern int rio_release_inb_dbell(struct rio_mport *, u16, u16); |
409 | extern struct resource *rio_request_outb_dbell(struct rio_dev *, u16, u16); | 409 | extern struct resource *rio_request_outb_dbell(struct rio_dev *, u16, u16); |
410 | extern int rio_release_outb_dbell(struct rio_dev *, struct resource *); | 410 | extern int rio_release_outb_dbell(struct rio_dev *, struct resource *); |