/[dynamips]/upstream/dynamips-0.2.5/dev_am79c971.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.5/dev_am79c971.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Sat Oct 6 16:01:44 2007 UTC (12 years, 2 months ago) by dpavlin
File MIME type: text/plain
File size: 943 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_AM79C971_H__
7     #define __DEV_AM79C971_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     /* Interface type */
18     #define AM79C971_TYPE_100BASE_TX 1 /* 100baseTX */
19     #define AM79C971_TYPE_10BASE_T 2 /* 10baseT */
20    
21     /* Generic AMD Am79c971 initialization code */
22     struct am79c971_data *
23     dev_am79c971_init(vm_instance_t *vm,char *name,int interface_type,
24     struct pci_bus *pci_bus,int pci_device,int irq);
25    
26     /* Remove an AMD Am79c971 device */
27     void dev_am79c971_remove(struct am79c971_data *d);
28    
29     /* Bind a NIO to an AMD Am79c971 device */
30     int dev_am79c971_set_nio(struct am79c971_data *d,netio_desc_t *nio);
31    
32     /* Unbind a NIO from an AMD Am79c971 device */
33     void dev_am79c971_unset_nio(struct am79c971_data *d);
34    
35     #endif

  ViewVC Help
Powered by ViewVC 1.1.26