summaryrefslogtreecommitdiffstats
path: root/sys/dev/sf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-07-03 21:39:53 +0000
committerimp <imp@FreeBSD.org>2003-07-03 21:39:53 +0000
commitb317207ba0c6509d4ede3b4b873325d84f73849f (patch)
tree1587c5775f176c6f1f8b37826df28b5c76fd2abc /sys/dev/sf
parent0fb991ffcad4bd095e03c9396d3c47ed7016eb40 (diff)
downloadFreeBSD-src-b317207ba0c6509d4ede3b4b873325d84f73849f.zip
FreeBSD-src-b317207ba0c6509d4ede3b4b873325d84f73849f.tar.gz
Due to extreme bogusness in the pci bus layer, these drivers were
forced to do slightly bogus power state manipulation. However, this is one of those features that is preventing further progress, so mark them as BURN_BIRDGES like I did for the drivers in sys/dev/... This, like the other change, are a no-op unless you have BURN_BRIDGES in your kernel.
Diffstat (limited to 'sys/dev/sf')
-rw-r--r--sys/dev/sf/if_sf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c
index bedf1f0..9eaad55 100644
--- a/sys/dev/sf/if_sf.c
+++ b/sys/dev/sf/if_sf.c
@@ -676,7 +676,7 @@ sf_attach(dev)
mtx_init(&sc->sf_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
MTX_DEF | MTX_RECURSE);
-
+#ifndef BURN_BRIDGES
/*
* Handle power management nonsense.
*/
@@ -699,7 +699,7 @@ sf_attach(dev)
pci_write_config(dev, SF_PCI_LOMEM, membase, 4);
pci_write_config(dev, SF_PCI_INTLINE, irq, 4);
}
-
+#endif
/*
* Map control/status registers.
*/
OpenPOWER on IntegriCloud