Date: Wed, 12 Mar 2008 20:57:17 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ehci_pci.c Message-ID: <200803122057.m2CKvITs012197@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-03-12 20:57:17 UTC FreeBSD src repository Modified files: sys/dev/usb ehci_pci.c Log: Relax the BIOS/OS sempahore handoff code to workaround different hard hangs (one at boot, one at shutdown) in recent machines. First, only try to take ownership of the EHCI controller if the BIOS currently owns the controller. On a HP DL160 G5, the machine hangs when we try to take ownership. Second, don't bother trying to give up ownership of the controller during shutdown. It's not strictly required and a Dell DCS S29 hangs on shutdown after the config write. Both of these changes match the behavior of the Linux EHCI driver. I also think both of these hangs are caused by bugs in the BIOS' SMM handler causing it to get stuck in an infinite loop in SMM. MFC after: 1 week Revision Changes Path 1.30 +4 -1 src/sys/dev/usb/ehci_pci.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803122057.m2CKvITs012197>