From owner-freebsd-current@FreeBSD.ORG Mon Jan 6 21:51:09 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3030FCD0; Mon, 6 Jan 2014 21:51:09 +0000 (UTC) Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203]) by mx1.freebsd.org (Postfix) with ESMTP id D72151DED; Mon, 6 Jan 2014 21:51:08 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta04.bitpro.no (Postfix) with ESMTPS id D216410058C; Mon, 6 Jan 2014 22:51:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 6BF828F20FF; Mon, 6 Jan 2014 22:51:52 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WfVnSVSlMefK; Mon, 6 Jan 2014 22:51:51 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id BC8BF8F20FA; Mon, 6 Jan 2014 22:51:51 +0100 (CET) Message-ID: <52CB2591.9050401@bitfrost.no> Date: Mon, 06 Jan 2014 22:52:17 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Install 10.0-RC3 on MacBookPro Late 2013 References: <52CA56E5.8030101@bitfrost.no> <52CA6E3F.9000301@bitfrost.no> <52CA7CE0.7070202@bitfrost.no> <52CACBB8.1020905@bitfrost.no> In-Reply-To: <52CACBB8.1020905@bitfrost.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?6buE5paH6L6J?= , freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 21:51:09 -0000 On 01/06/14 16:28, Hans Petter Selasky wrote: > On 01/06/14 15:17, Adrian Chadd wrote: >> Right, but it used to work. That's the confusing bit. How'd you make >> it not work? :) > > Binary sect the sys/dev/usb/controller/xhci.c revision history? There > has been several bug reports for the Lynx point, and others XHCI > chipsets are working just fine. > A wild guess: Copy the USB-code from -current. Add "#if 0" as shown sys/dev/usb/controller/xhci_pci.c static int xhci_pci_port_route(device_t self, uint32_t set, uint32_t clear) { #if 0 uint32_t temp; temp = pci_read_config(self, PCI_XHCI_INTEL_USB3_PSSEN, 4) | pci_read_config(self, PCI_XHCI_INTEL_XUSB2PR, 4); temp |= set; temp &= ~clear; pci_write_config(self, PCI_XHCI_INTEL_USB3_PSSEN, temp, 4); pci_write_config(self, PCI_XHCI_INTEL_XUSB2PR, temp, 4); device_printf(self, "Port routing mask set to 0x%08x\n", temp); #endif return (0); } --HPS