Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 11:09:42 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/lnc if_lnc.c
Message-ID:  <XFMail.20030724110942.jhb@FreeBSD.org>
In-Reply-To: <20030723.174342.72711741.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030724110942.jhb>