示例#1
0
int __init pci_olpc_init(void)
{
	printk(KERN_INFO "PCI: Using configuration type OLPC\n");
	raw_pci_ops = &pci_olpc_conf;
	is_lx = is_geode_lx();
	return 0;
}
示例#2
0
int __init pci_olpc_init(void)
{
	if (!machine_is_olpc() || olpc_has_vsa())
		return -ENODEV;

	printk(KERN_INFO "PCI: Using configuration type OLPC\n");
	raw_pci_ops = &pci_olpc_conf;
	is_lx = is_geode_lx();
	return 0;
}