From owner-cvs-src@FreeBSD.ORG Fri May 20 12:37:17 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 758F216A4CF; Fri, 20 May 2005 12:37:17 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35CD143D7C; Fri, 20 May 2005 12:37:17 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4KCbHOV034251; Fri, 20 May 2005 12:37:17 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4KCbHOm034250; Fri, 20 May 2005 12:37:17 GMT (envelope-from marius) Message-Id: <200505201237.j4KCbHOm034250@repoman.freebsd.org> From: Marius Strobl Date: Fri, 20 May 2005 12:37:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/firewire fwohci_pci.c fwohcireg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 12:37:17 -0000 marius 2005-05-20 12:37:17 UTC FreeBSD src repository Modified files: sys/dev/firewire fwohci_pci.c fwohcireg.h Log: Recognize the integrated (though not necessarily enabled) FireWire controllers of Sun PCIO-2 chips which are used onboard in most of the newer PCI-based sun4u machines (cosmetic change as they were also already probed as generic FWOHCI without this). As with gem(4), hme(4) and ohci(4) detect whether their intpin register is valid and correct it if necessary, i.e. set the respective IVAR to the right value for allocating the IRQ resource, as some of them come up having it set to 0 (in fact in all machines I'm currently aware of the FireWire part being enabled). This fixes attaching affected controllers. Apporved by: simokawa Tested by: Michiel Boland MFC after: 1 month Revision Changes Path 1.52 +12 -0 src/sys/dev/firewire/fwohci_pci.c 1.22 +2 -0 src/sys/dev/firewire/fwohcireg.h