/[dynamips]/upstream/dynamips-0.2.6-RC2/dev_dec21140.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_dec21140.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Sat Oct 6 16:01:44 2007 UTC (16 years, 5 months ago) by dpavlin
Original Path: upstream/dynamips-0.2.5/dev_dec21140.h
File MIME type: text/plain
File size: 839 byte(s)
import 0.2.5 from upstream

1 dpavlin 1 /*
2     * Cisco 7200 (Predator) simulation platform.
3     * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr)
4     */
5    
6     #ifndef __DEV_DEC21140_H__
7     #define __DEV_DEC21140_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     /* Generic DEC21140 initialization code */
18     struct dec21140_data *dev_dec21140_init(vm_instance_t *vm,char *name,
19     struct pci_bus *pci_bus,int pci_device,
20     int irq);
21    
22     /* Remove a DEC21140 device */
23     void dev_dec21140_remove(struct dec21140_data *d);
24    
25     /* Bind a NIO to DEC21140 device */
26     int dev_dec21140_set_nio(struct dec21140_data *d,netio_desc_t *nio);
27    
28     /* Unbind a NIO from a DEC21140 device */
29     void dev_dec21140_unset_nio(struct dec21140_data *d);
30    
31     #endif

  ViewVC Help
Powered by ViewVC 1.1.26