From owner-freebsd-current@FreeBSD.ORG Tue Dec 13 23:03:18 2005 Return-Path: X-Original-To: freebsd-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 B41BC16A41F; Tue, 13 Dec 2005 23:03:18 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCA4C43D8E; Tue, 13 Dec 2005 23:03:09 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id jBDN2me8023124; Tue, 13 Dec 2005 16:02:49 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 13 Dec 2005 16:02:48 -0700 (MST) Message-Id: <20051213.160248.74727585.imp@bsdimp.com> To: gavin.atkinson@ury.york.ac.uk From: Warner Losh In-Reply-To: <1134485368.15730.95.camel@buffy.york.ac.uk> References: <20051212140446.GQ37414@FreeBSD.org> <1134481135.15730.76.camel@buffy.york.ac.uk> <1134485368.15730.95.camel@buffy.york.ac.uk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 13 Dec 2005 16:02:49 -0700 (MST) Cc: glebius@freebsd.org, freebsd-current@freebsd.org Subject: Re: puc fails to attach serial ports 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: Tue, 13 Dec 2005 23:03:18 -0000 On Tue, 2005-12-13 at 13:38 +0000, Gavin Atkinson wrote: > I don't understand why the DRIVER_METHOD(sio, puc, ...) is being ignored > in the puc-as-a-module case. Is this expected behaviour? Not being ignore, just not in the kernel. When you compile things statically, you compile them statically. You have to include puc and sio in the same kernel to get them both to work. *OR* you have to load puc and sio as modules. I do that all the time, and that works. Warner