58 |
data->port[i] = dev_am79c971_init(router->vm,name,interface_type, |
data->port[i] = dev_am79c971_init(router->vm,name,interface_type, |
59 |
router->nm_bay[nm_bay].pci_map, |
router->nm_bay[nm_bay].pci_map, |
60 |
c3725_nm_get_pci_device(nm_bay), |
c3725_nm_get_pci_device(nm_bay), |
61 |
C3725_NETIO_IRQ); |
c3725_net_irq_for_slot_port(nm_bay,i)); |
62 |
} |
} |
63 |
|
|
64 |
/* Store device info into the router structure */ |
/* Store device info into the router structure */ |
151 |
data = dev_nm_16esw_init(router->vm,name,nm_bay, |
data = dev_nm_16esw_init(router->vm,name,nm_bay, |
152 |
router->nm_bay[nm_bay].pci_map, |
router->nm_bay[nm_bay].pci_map, |
153 |
c3725_nm_get_pci_device(nm_bay), |
c3725_nm_get_pci_device(nm_bay), |
154 |
C3725_NETIO_IRQ); |
c3725_net_irq_for_slot_port(nm_bay,0)); |
155 |
|
|
156 |
/* Store device info into the router structure */ |
/* Store device info into the router structure */ |
157 |
return(c3725_nm_set_drvinfo(router,nm_bay,data)); |
return(c3725_nm_set_drvinfo(router,nm_bay,data)); |