From owner-cvs-all@FreeBSD.ORG Thu Jul 24 10:46:08 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 13E8437B407 for ; Thu, 24 Jul 2003 10:46:08 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id AE26043F75 for ; Thu, 24 Jul 2003 10:46:06 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 42001 invoked by uid 1000); 24 Jul 2003 17:46:07 -0000 Date: Thu, 24 Jul 2003 10:46:07 -0700 (PDT) From: Nate Lawson To: John Baldwin In-Reply-To: Message-ID: <20030724104435.M41972@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@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 17:46:08 -0000 On Thu, 24 Jul 2003, John Baldwin wrote: > 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. I don't think acpi requires pci. The _CRS and _ADR methods work for other buses and there is no reason pci would be required. However, it's safe to assume that any machine that has acpi has some form of pci also. -Nate