Date: Wed, 14 Dec 2016 16:30:47 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r310073 - stable/11/sys/dev/firewire Message-ID: <201612141630.uBEGUlZl099570@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Wed Dec 14 16:30:47 2016 New Revision: 310073 URL: https://svnweb.freebsd.org/changeset/base/310073 Log: MFC r309092: fwohci: report whether PhysicalUpperBound register is implemented Modified: stable/11/sys/dev/firewire/fwohci.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/firewire/fwohci.c ============================================================================== --- stable/11/sys/dev/firewire/fwohci.c Wed Dec 14 16:27:28 2016 (r310072) +++ stable/11/sys/dev/firewire/fwohci.c Wed Dec 14 16:30:47 2016 (r310073) @@ -1860,6 +1860,16 @@ fwohci_intr_core(struct fwohci_softc *sc prequpper = OHCI_PREQUPPER_MAX; } OWRITE(sc, OHCI_PREQUPPER, prequpper & 0xffffffff); + if (OREAD(sc, OHCI_PREQUPPER) != + (prequpper & 0xffffffff)) { + device_printf(fc->dev, + "PhysicalUpperBound register is not " + "implemented. Physical memory access " + "is limited to the first 4GB\n"); + device_printf(fc->dev, + "PhysicalUpperBound = 0x%08x\n", + OREAD(sc, OHCI_PREQUPPER)); + } } /* Set ATRetries register */ OWRITE(sc, OHCI_ATRETRY, 1<<(13 + 16) | 0xfff);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612141630.uBEGUlZl099570>