aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-12-08 04:16:18 +0000
committerWarner Losh <imp@FreeBSD.org>2004-12-08 04:16:18 +0000
commit6f2156545c826370f98d464aefb655ddd1f795a7 (patch)
tree3032358ca0a59c7bbc158a57e07e8b287e3179ec /sys/dev/pci
parentb05bb3e74856aa80a5f4f313a74c89fb3e78d8ee (diff)
Notes
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 7a326b6f9ebf..fd33394574ec 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1934,7 +1934,8 @@ pci_cfg_save(device_t dev, struct pci_devinfo *dinfo, int setstate)
* implement (a) we don't power the device down on a reattach.
*/
cls = pci_get_class(dev);
- if (setstate && cls != PCIC_DISPLAY && cls != PCIC_MEMORY) {
+ if (setstate && cls != PCIC_DISPLAY && cls != PCIC_MEMORY &&
+ cls != PCIC_BASEPERIPH) {
/*
* PCI spec is clear that we can only go into D3 state from
* D0 state. Transition from D[12] into D0 before going