/[dynamips]/upstream/dynamips-0.2.7-RC2/dev_c7200_serial.c
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.7-RC2/dev_c7200_serial.c

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

upstream/dynamips-0.2.7-RC1/dev_c7200_serial.c revision 7 by dpavlin, Sat Oct 6 16:23:47 2007 UTC upstream/dynamips-0.2.7-RC2/dev_c7200_serial.c revision 8 by dpavlin, Sat Oct 6 16:24:54 2007 UTC
# Line 54  int dev_c7200_pa_4t_init(c7200_t *router Line 54  int dev_c7200_pa_4t_init(c7200_t *router
54     /* Create the Mueslix chip */     /* Create the Mueslix chip */
55     data = dev_mueslix_init(router->vm,name,1,     data = dev_mueslix_init(router->vm,name,1,
56                             router->pa_bay[pa_bay].pci_map,0,                             router->pa_bay[pa_bay].pci_map,0,
57                             C7200_NETIO_IRQ);                             c7200_net_irq_for_slot_port(pa_bay,0));
58     if (!data) return(-1);     if (!data) return(-1);
59    
60     /* Store device info into the router structure */     /* Store device info into the router structure */
# Line 138  int dev_c7200_pa_8t_init(c7200_t *router Line 138  int dev_c7200_pa_8t_init(c7200_t *router
138     /* Create the 1st Mueslix chip */     /* Create the 1st Mueslix chip */
139     data->mueslix[0] = dev_mueslix_init(router->vm,name,1,     data->mueslix[0] = dev_mueslix_init(router->vm,name,1,
140                                         router->pa_bay[pa_bay].pci_map,0,                                         router->pa_bay[pa_bay].pci_map,0,
141                                         C7200_NETIO_IRQ);                                         c7200_net_irq_for_slot_port(pa_bay,0));
142     if (!data->mueslix[0]) return(-1);     if (!data->mueslix[0]) return(-1);
143    
144     /* Create the 2nd Mueslix chip */     /* Create the 2nd Mueslix chip */
145     data->mueslix[1] = dev_mueslix_init(router->vm,name,1,     data->mueslix[1] = dev_mueslix_init(router->vm,name,1,
146                                         router->pa_bay[pa_bay].pci_map,1,                                         router->pa_bay[pa_bay].pci_map,1,
147                                         C7200_NETIO_IRQ);                                         c7200_net_irq_for_slot_port(pa_bay,1));
148     if (!data->mueslix[1]) return(-1);     if (!data->mueslix[1]) return(-1);
149    
150     /* Store device info into the router structure */     /* Store device info into the router structure */

Legend:
Removed from v.7  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26