diff options
author | Alexandre Bounine <alexandre.bounine@idt.com> | 2010-05-26 17:43:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 12:12:50 -0400 |
commit | e5cabeb3d60f9cd3e3950aff071319ae0e2d08d8 (patch) | |
tree | e866f1a9076608630a40f21f0a50c073dedb0e57 /include/linux/rio_drv.h | |
parent | 818a04a0bb93643d57dd8935815de2ff307b58a3 (diff) |
rapidio: add Port-Write handling for EM
Add RapidIO Port-Write message handling in the context of Error
Management Extensions Specification Rev.1.3.
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Tested-by: Thomas Moll <thomas.moll@sysgo.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/rio_drv.h')
-rw-r--r-- | include/linux/rio_drv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/rio_drv.h b/include/linux/rio_drv.h index c93a58a40033..edc55da717b3 100644 --- a/include/linux/rio_drv.h +++ b/include/linux/rio_drv.h | |||
@@ -413,6 +413,12 @@ void rio_release_regions(struct rio_dev *); | |||
413 | int rio_request_region(struct rio_dev *, int, char *); | 413 | int rio_request_region(struct rio_dev *, int, char *); |
414 | void rio_release_region(struct rio_dev *, int); | 414 | void rio_release_region(struct rio_dev *, int); |
415 | 415 | ||
416 | /* Port-Write management */ | ||
417 | extern int rio_request_inb_pwrite(struct rio_dev *, | ||
418 | int (*)(struct rio_dev *, union rio_pw_msg*, int)); | ||
419 | extern int rio_release_inb_pwrite(struct rio_dev *); | ||
420 | extern int rio_inb_pwrite_handler(union rio_pw_msg *pw_msg); | ||
421 | |||
416 | /* LDM support */ | 422 | /* LDM support */ |
417 | int rio_register_driver(struct rio_driver *); | 423 | int rio_register_driver(struct rio_driver *); |
418 | void rio_unregister_driver(struct rio_driver *); | 424 | void rio_unregister_driver(struct rio_driver *); |