mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
rapidio: add switch domain routines
Add switch specific domain routines required for 16-bit routing support in switches with hierarchical implementation of routing tables. Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com> Cc: Matt Porter <mporter@kernel.crashing.org> Cc: Li Yang <leoli@freescale.com> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Thomas Moll <thomas.moll@sysgo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
058f88d672
commit
7a88d62862
5 changed files with 86 additions and 0 deletions
|
@ -238,6 +238,10 @@ struct rio_switch {
|
|||
u16 table, u16 route_destid, u8 * route_port);
|
||||
int (*clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,
|
||||
u16 table);
|
||||
int (*set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
|
||||
u8 sw_domain);
|
||||
int (*get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
|
||||
u8 *sw_domain);
|
||||
int (*em_init) (struct rio_dev *dev);
|
||||
int (*em_handle) (struct rio_dev *dev, u8 swport);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue