arch/m68k/kernel/pcibios.c

Source file repositories/reference/linux-study-clean/arch/m68k/kernel/pcibios.c

File Facts

System
Linux kernel
Corpus path
arch/m68k/kernel/pcibios.c
Extension
.c
Size
2153 bytes
Lines
82
Domain
Architecture Layer
Bucket
arch/m68k
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

if (newcmd != cmd) {
			pr_info("PCI: enabling bridge %s (0x%04x -> 0x%04x)\n",
				pci_name(dev), cmd, newcmd);
			pci_write_config_word(dev, PCI_COMMAND, newcmd);
		}
	}
	return 0;
}

void pcibios_fixup_bus(struct pci_bus *bus)
{
	struct pci_dev *dev;

	list_for_each_entry(dev, &bus->devices, bus_list) {
		pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 8);
		pci_write_config_byte(dev, PCI_LATENCY_TIMER, 32);
	}
}

Annotation

Implementation Notes