Consistently use tabs for indent.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
62b179d480
commit
7bdcfaffa4
@ -64,15 +64,15 @@ static void
|
|||||||
qpi_identify(driver_t *driver, device_t parent)
|
qpi_identify(driver_t *driver, device_t parent)
|
||||||
{
|
{
|
||||||
|
|
||||||
/* Check CPUID to ensure this is an i7 CPU of some sort. */
|
/* Check CPUID to ensure this is an i7 CPU of some sort. */
|
||||||
if (!(cpu_vendor_id == CPU_VENDOR_INTEL &&
|
if (!(cpu_vendor_id == CPU_VENDOR_INTEL &&
|
||||||
CPUID_TO_FAMILY(cpu_id) == 0x6 &&
|
CPUID_TO_FAMILY(cpu_id) == 0x6 &&
|
||||||
(CPUID_TO_MODEL(cpu_id) == 0x1a || CPUID_TO_MODEL(cpu_id) == 0x2c)))
|
(CPUID_TO_MODEL(cpu_id) == 0x1a || CPUID_TO_MODEL(cpu_id) == 0x2c)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* PCI config register access is required. */
|
/* PCI config register access is required. */
|
||||||
if (pci_cfgregopen() == 0)
|
if (pci_cfgregopen() == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Add a qpi bus device. */
|
/* Add a qpi bus device. */
|
||||||
if (BUS_ADD_CHILD(parent, 20, "qpi", -1) == NULL)
|
if (BUS_ADD_CHILD(parent, 20, "qpi", -1) == NULL)
|
||||||
@ -219,7 +219,7 @@ qpi_pcib_attach(device_t dev)
|
|||||||
{
|
{
|
||||||
|
|
||||||
device_add_child(dev, "pci", -1);
|
device_add_child(dev, "pci", -1);
|
||||||
return (bus_generic_attach(dev));
|
return (bus_generic_attach(dev));
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user