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>
This commit is contained in:
committed by
Linus Torvalds
parent
818a04a0bb
commit
e5cabeb3d6
@@ -413,6 +413,12 @@ void rio_release_regions(struct rio_dev *);
|
||||
int rio_request_region(struct rio_dev *, int, char *);
|
||||
void rio_release_region(struct rio_dev *, int);
|
||||
|
||||
/* Port-Write management */
|
||||
extern int rio_request_inb_pwrite(struct rio_dev *,
|
||||
int (*)(struct rio_dev *, union rio_pw_msg*, int));
|
||||
extern int rio_release_inb_pwrite(struct rio_dev *);
|
||||
extern int rio_inb_pwrite_handler(union rio_pw_msg *pw_msg);
|
||||
|
||||
/* LDM support */
|
||||
int rio_register_driver(struct rio_driver *);
|
||||
void rio_unregister_driver(struct rio_driver *);
|
||||
|
||||
Reference in New Issue
Block a user