From owner-freebsd-current@FreeBSD.ORG Wed Oct 26 01:58:49 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41E3F16A41F for ; Wed, 26 Oct 2005 01:58:49 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id F307843D45 for ; Wed, 26 Oct 2005 01:58:48 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.4/8.13.4) with ESMTP id j9Q1wl7X022081; Tue, 25 Oct 2005 18:58:47 -0700 (PDT) (envelope-from marcel@xcllnt.net) In-Reply-To: <025401c5d953$47004480$821cfa9e@mics.msu.su> References: <025401c5d953$47004480$821cfa9e@mics.msu.su> Mime-Version: 1.0 (Apple Message framework v734) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9187905F-F952-444A-912D-823BB97B42DE@xcllnt.net> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Tue, 25 Oct 2005 18:58:46 -0700 To: Mike G X-Mailer: Apple Mail (2.734) Cc: current@freebsd.org Subject: Re: uart and puc attach conflict X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 26 Oct 2005 01:58:49 -0000 On Oct 25, 2005, at 4:00 AM, Mike G wrote: > Hello! > > I have a problem with multi-port card based on Nm9845 chip. > It's a card with 4 com-ports. > It perfectly works with puc(4) and sio(4) drivers if they compiled > into kernel. > or with puc(4) and uart(4) drivers if they loaded manualy. > But if puc(4) and uart(4) are compiled into kernel or loaded from > loader.conf - problem appears. > > Instead of puc(4) attaching to the device, and uarts attaching to > the puc0, > I see that uart(4) driver attaches to the device itself. Fixed in rev. 1.6 of src/sys/dev/uart/uart_bus_pci.c The problem was that there were PCI IDs of multi-port cards in the list of devices that uart(4) could attach to. Rev 1.6 can manually be applied to 6.0 (including BETAs and RCs). The fix will not make it in 6.0 though. I'll merge after 6.0 is released. FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net