From owner-cvs-all@FreeBSD.ORG Thu Jul 24 08:09:31 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E16937B405 for ; Thu, 24 Jul 2003 08:09:31 -0700 (PDT) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id A206D43FB1 for ; Thu, 24 Jul 2003 08:09:28 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9673 invoked from network); 24 Jul 2003 15:09:28 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 24 Jul 2003 15:09:28 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h6OF9PGI048927; Thu, 24 Jul 2003 11:09:26 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030723.174342.72711741.imp@bsdimp.com> Date: Thu, 24 Jul 2003 11:09:42 -0400 (EDT) From: John Baldwin To: "M. Warner Losh" cc: phk@phk.freebsd.dk cc: src-committers@FreeBSD.org cc: bde@zeta.org.au cc: paul@freebsd-services.com cc: cvs-src@FreeBSD.org cc: das@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/lnc if_lnc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 15:09:31 -0000 On 23-Jul-2003 M. Warner Losh wrote: >: Hmmm. I guess if unloading pccard detaches all pccard devices and their >: children then it is safe if you always use KOBJ methods and never link >: against any functions for your bus attachments. > > That's why pccard tries very hard to refuse to export ANY symbols that > pccard client drivers use. Other busses should do likewise. Yes, unfortunately that means I need to duplicate some code in some places now. E.g. isab_attach() must die. pcib_attach() is a harder nut to crack, but it is only used by acpi and I think all acpi systems require pci anyways. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/