aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-06-05 22:53:09 +0000
committerWarner Losh <imp@FreeBSD.org>2005-06-05 22:53:09 +0000
commit0613b6f9c4c11d840727ff4cc45f6e3ed065adbf (patch)
tree3090feb2f983eacfff2fad96d03f17b20cb9c93b /sys/dev
parent95af165d7f87949936e7af4f2f805a41810959f0 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ohci_pci.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c
index ba9393abbdf29..e07c3acd50803 100644
--- a/sys/dev/usb/ohci_pci.c
+++ b/sys/dev/usb/ohci_pci.c
@@ -144,17 +144,6 @@ static int
ohci_pci_resume(device_t self)
{
ohci_softc_t *sc = device_get_softc(self);
- u_int32_t reg, int_line;
-
- if (pci_get_powerstate(self) != PCI_POWERSTATE_D0) {
- device_printf(self, "chip is in D%d mode "
- "-- setting to D0\n", pci_get_powerstate(self));
- reg = pci_read_config(self, PCI_CBMEM, 4);
- int_line = pci_read_config(self, PCIR_INTLINE, 4);
- pci_set_powerstate(self, PCI_POWERSTATE_D0);
- pci_write_config(self, PCI_CBMEM, reg, 4);
- pci_write_config(self, PCIR_INTLINE, int_line, 4);
- }
ohci_power(PWR_RESUME, sc);
bus_generic_resume(self);