#include <linux/stat.h>
#include <linux/module.h>
#include <linux/rio.h>
#include <linux/rio_drv.h>
#include <linux/rio_ids.h>
#include <linux/delay.h>
#include <asm/page.h>
#include "../rio.h"
#define RIO_EM_PW_STAT …
#define RIO_PW_CTL …
#define RIO_PW_CTL_PW_TMR …
#define RIO_PW_ROUTE …
#define RIO_EM_DEV_INT_EN …
#define RIO_PLM_SPx_IMP_SPEC_CTL(x) …
#define RIO_PLM_SPx_IMP_SPEC_CTL_SOFT_RST …
#define RIO_PLM_SPx_PW_EN(x) …
#define RIO_PLM_SPx_PW_EN_OK2U …
#define RIO_PLM_SPx_PW_EN_LINIT …
#define RIO_BC_L2_Gn_ENTRYx_CSR(n, x) …
#define RIO_SPx_L2_Gn_ENTRYy_CSR(x, n, y) …
static int
idtg3_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
u16 table, u16 route_destid, u8 route_port)
{ … }
static int
idtg3_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
u16 table, u16 route_destid, u8 *route_port)
{ … }
static int
idtg3_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount,
u16 table)
{ … }
static int
idtg3_em_init(struct rio_dev *rdev)
{ … }
static int
idtg3_em_handler(struct rio_dev *rdev, u8 pnum)
{ … }
static struct rio_switch_ops idtg3_switch_ops = …;
static int idtg3_probe(struct rio_dev *rdev, const struct rio_device_id *id)
{ … }
static void idtg3_remove(struct rio_dev *rdev)
{ … }
static void idtg3_shutdown(struct rio_dev *rdev)
{ … }
static const struct rio_device_id idtg3_id_table[] = …;
static struct rio_driver idtg3_driver = …;
static int __init idtg3_init(void)
{ … }
static void __exit idtg3_exit(void)
{ … }
device_initcall(idtg3_init);
module_exit(idtg3_exit);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;