From owner-freebsd-questions@FreeBSD.ORG Sun Mar 18 08:46:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10B7F16A401 for ; Sun, 18 Mar 2007 08:46:31 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sirian.hst.org.za (sirian.hst.org.za [209.203.2.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6FD0813C46A for ; Sun, 18 Mar 2007 08:46:27 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from localhost (localhost.hst.org.za [127.0.0.1]) by sirian.hst.org.za (Postfix) with ESMTP id 48B6F31D98C for ; Sun, 18 Mar 2007 10:43:19 +0200 (SAST) Received: from sirian.hst.org.za ([127.0.0.1]) by localhost (sirian.hst.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18049-10 for ; Sun, 18 Mar 2007 10:43:19 +0200 (SAST) Received: from sysadmin.int.dbn.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) by sirian.hst.org.za (Postfix) with ESMTP id D328531D98B for ; Sun, 18 Mar 2007 10:43:18 +0200 (SAST) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Sun, 18 Mar 2007 10:47:40 +0200 User-Agent: KMail/1.7.2 References: <200703180731.23171.jonathan@hst.org.za> <1174199567.6085.12.camel@ingress> In-Reply-To: <1174199567.6085.12.camel@ingress> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703181047.50476.jonathan@hst.org.za> X-Virus-Scanned: by amavisd-new at hst.org.za Subject: Re: puc and uart as modules with FreeBSD6.2-REL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2007 08:46:31 -0000 On Sunday 18 March 2007 08:32, Brian A. Seklecki wrote: [Jonathan wanted to use puc(4) and uart(4) as kernel modules to get a PCI 2-port serial card working] > > Am I missing something obvious, or do I need to compile yet another > > custom kernel to get this card working? > The man page I see says that you need sio(4) as well. > > "iso* at puc? port ?" > > Or in the fbsd case, the iso module or option in the kernel. sio(4) is part of the generic kernel. It doesn't appear to have puc/sio compiled in - I did find a reference to this problem and the solution suggested was that puc(4) and sio(4) had to be either both compiled in or both loaded as modules - since either involves a new custom kernel, which I'm trying to avoid as I prefer to run as few different kernels as possible, this solution is not ideal. I did see some suggestion that puc had been modified to register itself with uart(4) if it failed to do so with sio(4) - this may have been on 7-current, and I don't know whether it has been MFC'd to 6.2. kldstat -v -n uart gives me: Id Refs Address Size Name 4 1 0xc2568000 b000 uart.ko Contains modules: Id Name 377 acpi/uart 378 isa/uart 379 pccard/uart 380 cardbus/uart 381 pci/uart 382 puc/uart and man uart tells me: The primary support for devices that con- tain multiple serial interfaces or that contain other functionality besides one or more serial interfaces is provided by the puc(4) device driver. However, the serial interfaces of those devices that are managed by the puc(4) driver are controlled by the uart driver. If this is the case, how can I get the ports on my card recognised by the uart(4) driver? Or am I going about this wrongly? Jonathan