From cec00d25651e4ef292151b8418a07870db451943 Mon Sep 17 00:00:00 2001 From: wpaul Date: Mon, 14 May 2001 19:13:02 +0000 Subject: Close PR 22208: bring chip out of suspend mode, because Windows might have put the chip to sleep at shutdown. This is really only for the VT6102, but it doesn't hurt the older chips. --- sys/pci/if_vr.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/pci/if_vr.c') diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c index 2d14680..93fba3e 100644 --- a/sys/pci/if_vr.c +++ b/sys/pci/if_vr.c @@ -724,6 +724,13 @@ static int vr_attach(dev) goto fail; } + /* + * Windows may put the chip in suspend mode when it + * shuts down. Be sure to kick it in the head to wake it + * up again. + */ + VR_CLRBIT(sc, VR_STICKHW, (VR_STICKHW_DS0|VR_STICKHW_DS1)); + /* Reset the adapter. */ vr_reset(sc); -- cgit v1.1