From owner-cvs-all@FreeBSD.ORG Thu Jul 24 11:56:25 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 944D037B401 for ; Thu, 24 Jul 2003 11:56:25 -0700 (PDT) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C35D43FA3 for ; Thu, 24 Jul 2003 11:56:24 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9694 invoked from network); 24 Jul 2003 18:56:23 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 24 Jul 2003 18:56:23 -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 h6OIuLGI049420; Thu, 24 Jul 2003 14:56:21 -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: <20030724104435.M41972@root.org> Date: Thu, 24 Jul 2003 14:56:38 -0400 (EDT) From: John Baldwin To: Nate Lawson 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 18:56:26 -0000 On 24-Jul-2003 Nate Lawson wrote: > 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. That last is what I'm assuming, not that ACPI strictly requires PCI. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/