pcir_header
pcir_header_t *pcir_header = NULL;
pcir_header = (pcir_header_t*)( ( void * ) undi.rom +
if ( pcir_header->signature != PCIR_SIGNATURE ) {
DBG ( "PCI:%hx:%hx...", pcir_header->vendor_id,
pcir_header->device_id );
if ( ( pcir_header->vendor_id != undi.pci.vendor ) ||
( pcir_header->device_id != undi.pci.dev_id ) ) {
pcir_data_t *pcir_header;
pcir_header = (pcir_data_t *) &boot_data[cur_header +
if (pcir_header->code_type == 0x00) {
*(u16*) pcir_header->device_id = device_id;
} else if (pcir_header->code_type == 0x03) {
*(u16*) pcir_header->device_id = device_id;
if (pcir_header->indicator & 0x80)
pcir_data_t *pcir_header;
pcir_header = (pcir_data_t *) &boot_data[pcir_offset];
if (le32_to_cpu(*(u32*)pcir_header->signature) != PCIR_SIGNATURE) {
if (le16_to_cpu(*(u16*)pcir_header->vendor_id) != VENDOR_ID) {
if (le16_to_cpu(*(u16*)pcir_header->device_id) != device_id) {