/[dynamips]/trunk/dev_i8254x.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

Contents of /trunk/dev_i8254x.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (show annotations)
Sat Oct 6 16:45:40 2007 UTC (11 years, 10 months ago) by dpavlin
File MIME type: text/plain
File size: 767 byte(s)
make working copy

1 /*
2 * Cisco router simulation platform.
3 * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr)
4 */
5
6 #ifndef __DEV_I8254X_H__
7 #define __DEV_I8254X_H__
8
9 #include <sys/types.h>
10
11 #include "utils.h"
12 #include "cpu.h"
13 #include "vm.h"
14 #include "device.h"
15 #include "net_io.h"
16
17 /* Generic Intel i8254x initialization code */
18 struct i8254x_data *
19 dev_i8254x_init(vm_instance_t *vm,char *name,int interface_type,
20 struct pci_bus *pci_bus,int pci_device,int irq);
21
22 /* Remove an Intel i8254x device */
23 void dev_i8254x_remove(struct i8254x_data *d);
24
25 /* Bind a NIO to an Intel i8254x device */
26 int dev_i8254x_set_nio(struct i8254x_data *d,netio_desc_t *nio);
27
28 /* Unbind a NIO from an Intel i8254x device */
29 void dev_i8254x_unset_nio(struct i8254x_data *d);
30
31 #endif

  ViewVC Help
Powered by ViewVC 1.1.26