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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (hide annotations)
Sat Oct 6 16:33:40 2007 UTC (16 years, 5 months ago) by dpavlin
Original Path: upstream/dynamips-0.2.8-RC1/dev_wic_serial.h
File MIME type: text/plain
File size: 618 byte(s)
dynamips-0.2.8-RC1

1 dpavlin 11 /*
2     * Cisco router simulation platform.
3     * Copyright (c) 2007 Christophe Fillot (cf@utc.fr)
4     *
5     * WIC-1T & WIC-2T devices.
6     */
7    
8     #ifndef __DEV_WIC_SERIAL_H__
9     #define __DEV_WIC_SERIAL_H__
10    
11     #include <sys/types.h>
12    
13     #include "utils.h"
14     #include "vm.h"
15     #include "cpu.h"
16     #include "device.h"
17    
18     enum {
19     WIC_SERIAL_MODEL_1T = 1,
20     WIC_SERIAL_MODEL_2T,
21     };
22    
23     /* Create a WIC serial device */
24     struct wic_serial_data *
25     dev_wic_serial_init(vm_instance_t *vm,char *name,u_int model,
26     m_uint64_t paddr,m_uint32_t len);
27    
28     /* Remove a WIC serial device */
29     void dev_wic_serial_remove(struct wic_serial_data *d);
30    
31     #endif

  ViewVC Help
Powered by ViewVC 1.1.26