1 |
dpavlin |
8 |
/* |
2 |
|
|
* Cisco router simulation platform. |
3 |
|
|
* Copyright (c) 2005-2007 Christophe Fillot (cf@utc.fr) |
4 |
|
|
* |
5 |
|
|
* Cisco c3725 I/O FPGA. |
6 |
|
|
*/ |
7 |
|
|
|
8 |
|
|
#ifndef __DEV_C3725_IOFPGA_H__ |
9 |
|
|
#define __DEV_C3725_IOFPGA_H__ |
10 |
|
|
|
11 |
|
|
/* Forward declaration for IO_FPGA private data */ |
12 |
|
|
struct c3725_iofpga_data; |
13 |
|
|
|
14 |
|
|
/* Trigger a Network IRQ for the specified slot/port */ |
15 |
|
|
void dev_c3725_iofpga_net_set_irq(struct c3725_iofpga_data *d, |
16 |
|
|
u_int slot,u_int port); |
17 |
|
|
|
18 |
|
|
/* Clear a Network IRQ for the specified slot/port */ |
19 |
|
|
void dev_c3725_iofpga_net_clear_irq(struct c3725_iofpga_data *d, |
20 |
|
|
u_int slot,u_int port); |
21 |
|
|
|
22 |
|
|
/* Create the c3725 I/O FPGA */ |
23 |
|
|
int dev_c3725_iofpga_init(c3725_t *router,m_uint64_t paddr,m_uint32_t len); |
24 |
|
|
|
25 |
|
|
#endif |