rem: static void show_pci_details(struct pci_info *p)
add: show_pci_details(struct pci_info *p)
context: static void show_pci_details(struct pci_info *p){#if THE_FULL_MONTY	uint16 ss_vend, ss_dev;#endif	uint8 irq = 0;		if (p->header_type == PCI_header_type_generic)		irq = p->u.h0.interrupt_line;	else		irq = p->u.h1.interrupt_line;		dprintf("0x%04x:0x%04x : ", p->vendor_id, p->device_id);	if (irq > 0)		dprintf("irq %d : ", irq);	dprintf("location %d:%d:%d : ", p->bus, p->device, p->function);	dprintf("class %02x:%02x:%02x", p->class_base, p->class_sub, 	        p->class_api);	dprintf(" => %s\n", decode_class(p->class_base, p->class_sub));#if THE_FULL_MONTY	dprintf("\trevision    : %02x\n", p->revision);	dprintf("\tstatus      : %04x\n", 	        read_pci_config(p->bus, p->device, p->function, PCI_status, 2));	dprintf("\tcommand     : %04x\n", 	        read_pci_config(p->bus, p->device, p->function, PCI_command, 2));	dprintf("\tbase address: %08x\n", 	        read_pci_config(p->bus, p->device, p->function, PCI_base_registers, 4));	dprintf("\tline_size   : %02x\n", p->line_size);	dprintf("\theader_type : %02x\n", p->header_type);		if (p->header_type == PCI_header_type_generic) {		dprintf("Header Type 0 (Generic)\n");		dprintf("\tcardbus_cis         : %08lx\n", p->u.h0.cardbus_cis);		dprintf("\trom_base_pci        : %08lx\n", p->u.h0.rom_base_pci);		dprintf("\tinterrupt_line      : %02x\n", p->u.h0.interrupt_line);		dprintf("\tinterrupt_pin       : %02x\n", p->u.h0.interrupt_pin);		ss_vend = p->u.h0.subsystem_vendor_id;		ss_dev = p->u.h0.subsystem_id;	} else if (p->header_type == PCI_header_type_PCI_to_PCI_bridge) {		dprintf("Header Type 1 (PCI-PCI bridge)\n");		dprintf("\trom_base_pci        : %08lx\n", p->u.h1.rom_base_pci);		dprintf("\tinterrupt_line      : %02x\n", p->u.h1.interrupt_line);		dprintf("\tinterrupt_pin       : %02x\n", p->u.h1.interrupt_pin);		dprintf("\t2ndry status        : %04x\n", p->u.h1.secondary_status);		dprintf("\tprimary_bus         : %d\n", p->u.h1.primary_bus);		dprintf("\tsecondary_bus       : %d\n", p->u.h1.secondary_bus);				dprintf("\tsubordinate_bus     : %d\n", p->u.h1.subordinate_bus);				ss_vend = p->u.h1.subsystem_vendor_id;		ss_dev = p->u.h1.subsystem_id;	}	dprintf("\tsubsystem_id        : %04x\n", ss_dev);	dprintf("\tsubsystem_vendor_id : %04x\n", ss_vend);#endif}