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 */ |
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 */ |