diff options
author | imp <imp@FreeBSD.org> | 2003-07-03 21:39:53 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-07-03 21:39:53 +0000 |
commit | b317207ba0c6509d4ede3b4b873325d84f73849f (patch) | |
tree | 1587c5775f176c6f1f8b37826df28b5c76fd2abc /sys/pci/if_xl.c | |
parent | 0fb991ffcad4bd095e03c9396d3c47ed7016eb40 (diff) | |
download | FreeBSD-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/pci/if_xl.c')
-rw-r--r-- | sys/pci/if_xl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 060c859..bb72e2f 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -1354,7 +1354,7 @@ xl_attach(dev) XL_FLAG_INVERT_LED_PWR; if (pci_get_device(dev) == TC_DEVICEID_TORNADO_10_100BT_920B) sc->xl_flags |= XL_FLAG_PHYOK; - +#ifndef BURN_BRIDGES /* * If this is a 3c905B, we have to check one extra thing. * The 905B supports power management and may be placed in @@ -1393,7 +1393,7 @@ xl_attach(dev) pci_write_config(dev, XL_PCI_LOMEM, membase, 4); pci_write_config(dev, XL_PCI_INTLINE, irq, 4); } - +#endif /* * Map control/status registers. */ |