From owner-freebsd-usb@FreeBSD.ORG Sun Sep 28 04:26:08 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC4F287C for ; Sun, 28 Sep 2014 04:26:08 +0000 (UTC) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FF4ED67 for ; Sun, 28 Sep 2014 04:26:08 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id gq15so16070068lab.25 for ; Sat, 27 Sep 2014 21:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=F0FdgfDBiJBXjcZ41JjC1X1Btq0W8qzp+LM/5te3pp0=; b=jBN09nOZcuQjryZ5mRrWlvlNu3jK2uxsLKBIZe3VKsGtI1n5zjw8Qf7/gdl4fZZoPU A38ETqf+rTsK2I3U85Qzd3JRyJZHHFz1AS6ipVH547DgEFGQgkygvxEwdaLEehX7xbvg 7A326eA+afO0RG819oqGKxnMD0hMbmRhfCIy9I4mpUNYmWdA0kDk0C1fpVVKFxtu3h4B sv6XMzOPnXwiHvDlPNW12qz4VNwueZ5aAk0ikqbsiHVFKKQPA6wVF5mDDIOeIAsnqXky Xv3frKcol8wPzF+oVt82Nb+VwY4MOp8vAwk4JIANWReP/yZtUchIaOYGKonMXLkQwa/0 8J2w== MIME-Version: 1.0 X-Received: by 10.112.159.169 with SMTP id xd9mr28984938lbb.71.1411878365116; Sat, 27 Sep 2014 21:26:05 -0700 (PDT) Received: by 10.112.218.101 with HTTP; Sat, 27 Sep 2014 21:26:05 -0700 (PDT) Reply-To: huanghwh@gmail.com In-Reply-To: <5427029B.3060502@selasky.org> References: <541FBD6F.2080507@selasky.org> <541FDDF0.90502@selasky.org> <542662BE.5050908@selasky.org> <542701FA.2000408@selasky.org> <5427029B.3060502@selasky.org> Date: Sun, 28 Sep 2014 12:26:05 +0800 Message-ID: Subject: Re: xhci problem on UEFI boot MacBookPro 11,3 From: Huang Wen Hui To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 04:26:08 -0000 No lucky. dmesg aslo no change, I could not found "Skipped". Cheers, Huang Wen Hui 2014-09-28 2:31 GMT+08:00 Hans Petter Selasky : > On 09/27/14 20:29, Hans Petter Selasky wrote: > >> Hi, >> >> Can you try the attached patch? >> >> --HPS >> > > === dev/pci/pci.c > ================================================================== > --- dev/pci/pci.c (revision 272064) > +++ dev/pci/pci.c (local) > @@ -3025,7 +3025,10 @@ > /* Update the config register if it changed. */ > if (irq != cfg->intline) { > cfg->intline = irq; > - pci_write_config(dev, PCIR_INTLINE, irq, 1); > + if (irq != 255) > + pci_write_config(dev, PCIR_INTLINE, irq, 1); > + else > + printf("Skipped\n"); > } > > /* Add this IRQ as rid 0 interrupt resource. */ > >