93 |
ptask_id_t tx_tid; |
ptask_id_t tx_tid; |
94 |
}; |
}; |
95 |
|
|
|
/* EEPROM definition */ |
|
|
static const m_uint16_t eeprom_pos_oc3_data[64] = { |
|
|
0x0196, 0x0202, 0xffff, 0xffff, 0x490C, 0x7806, 0x0000, 0x0000, |
|
|
0x5000, 0x0000, 0x0208, 0x1900, 0x0000, 0xFFFF, 0xFFFF, 0xFFFF, |
|
|
}; |
|
|
|
|
|
static const struct c7200_eeprom eeprom_pos_oc3 = { |
|
|
"PA-POS-OC3MM", (m_uint16_t *)eeprom_pos_oc3_data, |
|
|
sizeof(eeprom_pos_oc3_data)/2, |
|
|
}; |
|
|
|
|
96 |
/* Log a PA-POS-OC3 message */ |
/* Log a PA-POS-OC3 message */ |
97 |
#define POS_LOG(d,msg...) vm_log((d)->vm,(d)->name,msg) |
#define POS_LOG(d,msg...) vm_log((d)->vm,(d)->name,msg) |
98 |
|
|
642 |
d->vm = router->vm; |
d->vm = router->vm; |
643 |
|
|
644 |
/* Set the EEPROM */ |
/* Set the EEPROM */ |
645 |
c7200_pa_set_eeprom(router,pa_bay,&eeprom_pos_oc3); |
c7200_pa_set_eeprom(router,pa_bay,cisco_eeprom_find_pa("PA-POS-OC3")); |
646 |
|
|
647 |
/* Get the appropriate PCI bus */ |
/* Get the appropriate PCI bus */ |
648 |
pci_bus = router->pa_bay[pa_bay].pci_map; |
pci_bus = router->pa_bay[pa_bay].pci_map; |