summaryrefslogtreecommitdiffstats
path: root/sys/i386/pci
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-10-31 15:02:53 +0000
committerdes <des@FreeBSD.org>2004-10-31 15:02:53 +0000
commit871722fc592554929f8b11fe1281250ed4096621 (patch)
treeaba6c8ecda7dda6ff40441677ebdf6e1fdb89966 /sys/i386/pci
parentaa8963bf64c1e502beaf33343dd3d018ebe2e2d9 (diff)
downloadFreeBSD-src-871722fc592554929f8b11fe1281250ed4096621.zip
FreeBSD-src-871722fc592554929f8b11fe1281250ed4096621.tar.gz
Whitespace cleanup
Diffstat (limited to 'sys/i386/pci')
-rw-r--r--sys/i386/pci/pci_bus.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c
index 378075a..e561fa2 100644
--- a/sys/i386/pci/pci_bus.c
+++ b/sys/i386/pci/pci_bus.c
@@ -134,9 +134,9 @@ legacy_pcib_is_host_bridge(int bus, int slot, int func,
case 0x84ca8086:
/*
* For the 450nx chipset, there is a whole bundle of
- * things pretending to be host bridges. The MIOC will
+ * things pretending to be host bridges. The MIOC will
* be seen first and isn't really a pci bridge (the
- * actual busses are attached to the PXB's). We need to
+ * actual busses are attached to the PXB's). We need to
* read the registers of the MIOC to figure out the
* bus numbers for the PXB channels.
*
@@ -239,7 +239,7 @@ legacy_pcib_is_host_bridge(int bus, int slot, int func,
s = "ServerWorks NB6536 2.0HE host to PCI bridge";
*busnum = legacy_pcib_read_config(0, bus, slot, func, 0x44, 1);
break;
-
+
case 0x00061166:
/* FALLTHROUGH */
case 0x00081166:
@@ -313,7 +313,7 @@ legacy_pcib_identify(driver_t *driver, device_t parent)
* via some other means. If we have, bail since otherwise
* we're going to end up duplicating it.
*/
- if ((pci_devclass = devclass_find("pci")) &&
+ if ((pci_devclass = devclass_find("pci")) &&
devclass_get_device(pci_devclass, 0))
return;
@@ -332,7 +332,7 @@ legacy_pcib_identify(driver_t *driver, device_t parent)
*/
if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
continue;
- if ((hdrtype & PCIM_MFDEV) &&
+ if ((hdrtype & PCIM_MFDEV) &&
(!found_orion || hdrtype != 0xff))
pcifunchigh = PCI_FUNCMAX;
else
@@ -600,12 +600,12 @@ DRIVER_MODULE(hostb, pci, pci_hostb_driver, pci_hostb_devclass, 0, 0);
/*
* Install placeholder to claim the resources owned by the
- * PCI bus interface. This could be used to extract the
+ * PCI bus interface. This could be used to extract the
* config space registers in the extreme case where the PnP
* ID is available and the PCI BIOS isn't, but for now we just
* eat the PnP ID and do nothing else.
*
- * XXX we should silence this probe, as it will generally confuse
+ * XXX we should silence this probe, as it will generally confuse
* people.
*/
static struct isa_pnp_id pcibus_pnp_ids[] = {
@@ -617,7 +617,7 @@ static int
pcibus_pnp_probe(device_t dev)
{
int result;
-
+
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, pcibus_pnp_ids)) <= 0)
device_quiet(dev);
return(result);
OpenPOWER on IntegriCloud