/[dynamips]/upstream/dynamips-0.2.8-RC1/dev_gt.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

Diff of /upstream/dynamips-0.2.8-RC1/dev_gt.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

upstream/dynamips-0.2.7/dev_gt.h revision 10 by dpavlin, Sat Oct 6 16:29:14 2007 UTC upstream/dynamips-0.2.8-RC1/dev_gt.h revision 11 by dpavlin, Sat Oct 6 16:33:40 2007 UTC
# Line 28  int dev_gt64120_init(vm_instance_t *vm,c Line 28  int dev_gt64120_init(vm_instance_t *vm,c
28  /* Create a new GT96100 controller */  /* Create a new GT96100 controller */
29  int dev_gt96100_init(vm_instance_t *vm,char *name,  int dev_gt96100_init(vm_instance_t *vm,char *name,
30                       m_uint64_t paddr,m_uint32_t len,                       m_uint64_t paddr,m_uint32_t len,
31                       u_int dma_irq,u_int eth_irq);                       u_int int0_irq,u_int int1_irq,
32                         u_int serint0_irq,u_int serint1_irq);
33    
34  /* Bind a NIO to GT96100 device */  /* Set NIO for a MPSC channel */
35  int dev_gt96100_set_nio(struct gt_data *d,u_int port_id,netio_desc_t *nio);  int dev_gt96100_mpsc_set_nio(struct gt_data *d,u_int chan_id,
36                                 netio_desc_t *nio);
37    
38  /* Unbind a NIO from a GT96100 device */  /* Unset NIO for a MPSC channel */
39  int dev_gt96100_unset_nio(struct gt_data *d,u_int port_id);  int dev_gt96100_mpsc_unset_nio(struct gt_data *d,u_int chan_id);
40    
41    /* Set a VTTY for a MPSC channel */
42    int dev_gt96100_mpsc_set_vtty(struct gt_data *d,u_int chan_id,vtty_t *vtty);
43    
44    /* Unset a VTTY for a MPSC channel */
45    int dev_gt96100_mpsc_unset_vtty(struct gt_data *d,u_int chan_id);
46    
47    /* Bind a NIO to GT96100 Ethernet device */
48    int dev_gt96100_eth_set_nio(struct gt_data *d,u_int port_id,netio_desc_t *nio);
49    
50    /* Unbind a NIO from a GT96100 Ethernet device */
51    int dev_gt96100_eth_unset_nio(struct gt_data *d,u_int port_id);
52    
53    /* Show debugging information */
54    int dev_gt96100_show_info(struct gt_data *d);
55    
56  #endif  #endif

Legend:
Removed from v.10  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC 1.1.26