#include <linux/rio.h>
#include <linux/rio_drv.h>
#include <linux/rio_ids.h>
#include <linux/module.h>
#include "../rio.h"
#define CPS_DEFAULT_ROUTE …
#define CPS_NO_ROUTE …
#define IDTCPS_RIO_DOMAIN …
static int
idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
u16 table, u16 route_destid, u8 route_port)
{ … }
static int
idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
u16 table, u16 route_destid, u8 *route_port)
{ … }
static int
idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount,
u16 table)
{ … }
static int
idtcps_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount,
u8 sw_domain)
{ … }
static int
idtcps_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount,
u8 *sw_domain)
{ … }
static struct rio_switch_ops idtcps_switch_ops = …;
static int idtcps_probe(struct rio_dev *rdev, const struct rio_device_id *id)
{ … }
static void idtcps_remove(struct rio_dev *rdev)
{ … }
static const struct rio_device_id idtcps_id_table[] = …;
static struct rio_driver idtcps_driver = …;
static int __init idtcps_init(void)
{ … }
static void __exit idtcps_exit(void)
{ … }
device_initcall(idtcps_init);
module_exit(idtcps_exit);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;