/[dynamips]/upstream/dynamips-0.2.6-RC2/dev_mueslix.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /upstream/dynamips-0.2.6-RC2/dev_mueslix.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Sat Oct 6 16:03:58 2007 UTC (14 years, 9 months ago) by dpavlin
Original Path: upstream/dynamips-0.2.6-RC1/dev_mueslix.h
File MIME type: text/plain
File size: 900 byte(s)
import dynamips-0.2.6-RC1

1 dpavlin 1 /*
2     * Cisco 7200 (Predator) simulation platform.
3     * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr)
4     */
5    
6     #ifndef __DEV_MUESLIX_H__
7     #define __DEV_MUESLIX_H__
8    
9     #include <sys/types.h>
10     #include "utils.h"
11     #include "mips64.h"
12     #include "cpu.h"
13     #include "device.h"
14     #include "net_io.h"
15     #include "vm.h"
16    
17     /* Number of channels (4 interfaces) */
18     #define MUESLIX_NR_CHANNELS 4
19    
20     /* Initialize a Mueslix chip */
21     struct mueslix_data *
22     dev_mueslix_init(vm_instance_t *vm,char *name,int chip_mode,
23     struct pci_bus *pci_bus,int pci_device,int irq);
24    
25     /* Remove a Mueslix device */
26     void dev_mueslix_remove(struct mueslix_data *d);
27    
28     /* Bind a NIO to a Mueslix channel */
29     int dev_mueslix_set_nio(struct mueslix_data *d,u_int channel_id,
30     netio_desc_t *nio);
31    
32     /* Unbind a NIO from a Mueslix channel */
33     int dev_mueslix_unset_nio(struct mueslix_data *d,u_int channel_id);
34    
35     #endif

  ViewVC Help
Powered by ViewVC 1.1.26