1 |
dpavlin |
11 |
/* |
2 |
|
|
* Cisco router simulation platform. |
3 |
|
|
* Copyright (c) 2005-2007 Christophe Fillot (cf@utc.fr) |
4 |
|
|
* |
5 |
|
|
* Cisco C6k-SUP1 Midplane FPGA. |
6 |
|
|
*/ |
7 |
|
|
|
8 |
|
|
#ifndef __DEV_C6SUP1_MPFPGA_H__ |
9 |
|
|
#define __DEV_C6SUP1_MPFPGA_H__ |
10 |
|
|
|
11 |
|
|
/* Forward declaration for MP_FPGA private data */ |
12 |
|
|
struct c6sup1_mpfpga_data; |
13 |
|
|
|
14 |
|
|
/* Trigger a Network IRQ for the specified slot/port */ |
15 |
|
|
void dev_c6sup1_mpfpga_net_set_irq(struct c6sup1_mpfpga_data *d, |
16 |
|
|
u_int slot,u_int port); |
17 |
|
|
|
18 |
|
|
/* Clear a Network IRQ for the specified slot/port */ |
19 |
|
|
void dev_c6sup1_mpfpga_net_clear_irq(struct c6sup1_mpfpga_data *d, |
20 |
|
|
u_int slot,u_int port); |
21 |
|
|
|
22 |
|
|
/* Create the SUP1 Midplane FPGA */ |
23 |
|
|
int dev_c6sup1_mpfpga_init(c6sup1_t *router,m_uint64_t paddr,m_uint32_t len); |
24 |
|
|
|
25 |
|
|
#endif |