aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pccbb
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-07-03 14:00:57 +0000
committerWarner Losh <imp@FreeBSD.org>2003-07-03 14:00:57 +0000
commitfa4b32fa800a31351180823a809ef1f36e4270ff (patch)
tree584c5d95c565a7220199ac4f80f117d25995ead7 /sys/dev/pccbb
parentf399623004bc8a19b8f076167c9858cb12bcf7a3 (diff)
Notes
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r--sys/dev/pccbb/pccbb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index b3e655c6900c..fe4c44543b08 100644
--- a/sys/dev/pccbb/pccbb.c
+++ b/sys/dev/pccbb/pccbb.c
@@ -585,6 +585,7 @@ cbb_chipinit(struct cbb_softc *sc)
pci_write_config(sc->dev, CBBR_IOLIMIT1, 0, 4);
}
+#ifndef BURN_BRIDGES
static void
cbb_powerstate_d0(device_t dev)
{
@@ -606,6 +607,7 @@ cbb_powerstate_d0(device_t dev)
pci_write_config(dev, PCIR_INTLINE, irq, 4);
}
}
+#endif
/*
* Print out the config space
@@ -640,10 +642,9 @@ cbb_attach(device_t brdev)
sc->subbus = pci_read_config(brdev, PCIR_SUBBUS_2, 1);
SLIST_INIT(&sc->rl);
STAILQ_INIT(&sc->intr_handlers);
-
+#ifndef BURN_BRIDGES
cbb_powerstate_d0(brdev);
-#ifndef BURN_BRIDGES
/*
* The PCI bus code should assign us memory in the absense
* of the BIOS doing so. However, 'should' isn't 'is,' so we kludge