Debian Codegraph @

common/dev_c1700_iofpga.h

raw
1 /*
2 * Cisco router simulation platform.
3 * Copyright (c) 2005-2007 Christophe Fillot ([email protected])
4 *
5 * Cisco c1700 I/O FPGA.
6 */
7
8 #ifndef __DEV_C1700_IOFPGA_H__
9 #define __DEV_C1700_IOFPGA_H__
10
11 /* Forward declaration for IO_FPGA private data */
12 struct c1700_iofpga_data;
13
14 /* Trigger a Network IRQ for the specified slot/port */
15 void dev_c1700_iofpga_net_set_irq(struct c1700_iofpga_data *d,
16 u_int slot,u_int port);
17
18 /* Clear a Network IRQ for the specified slot/port */
19 void dev_c1700_iofpga_net_clear_irq(struct c1700_iofpga_data *d,
20 u_int slot,u_int port);
21
22 /* Create the c1700 I/O FPGA */
23 int dev_c1700_iofpga_init(c1700_t *router,m_uint64_t paddr,m_uint32_t len);
24
25 #endif