Debian Codegraph @

common/dev_c6msfc1_mpfpga.h

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