--- upstream/dynamips-0.2.7/dev_gt.h 2007/10/06 16:29:14 10 +++ trunk/dev_gt.h 2007/10/06 16:45:40 12 @@ -28,12 +28,29 @@ /* Create a new GT96100 controller */ int dev_gt96100_init(vm_instance_t *vm,char *name, m_uint64_t paddr,m_uint32_t len, - u_int dma_irq,u_int eth_irq); + u_int int0_irq,u_int int1_irq, + u_int serint0_irq,u_int serint1_irq); -/* Bind a NIO to GT96100 device */ -int dev_gt96100_set_nio(struct gt_data *d,u_int port_id,netio_desc_t *nio); +/* Set NIO for a MPSC channel */ +int dev_gt96100_mpsc_set_nio(struct gt_data *d,u_int chan_id, + netio_desc_t *nio); -/* Unbind a NIO from a GT96100 device */ -int dev_gt96100_unset_nio(struct gt_data *d,u_int port_id); +/* Unset NIO for a MPSC channel */ +int dev_gt96100_mpsc_unset_nio(struct gt_data *d,u_int chan_id); + +/* Set a VTTY for a MPSC channel */ +int dev_gt96100_mpsc_set_vtty(struct gt_data *d,u_int chan_id,vtty_t *vtty); + +/* Unset a VTTY for a MPSC channel */ +int dev_gt96100_mpsc_unset_vtty(struct gt_data *d,u_int chan_id); + +/* Bind a NIO to GT96100 Ethernet device */ +int dev_gt96100_eth_set_nio(struct gt_data *d,u_int port_id,netio_desc_t *nio); + +/* Unbind a NIO from a GT96100 Ethernet device */ +int dev_gt96100_eth_unset_nio(struct gt_data *d,u_int port_id); + +/* Show debugging information */ +int dev_gt96100_show_info(struct gt_data *d); #endif