cvs commit: src/sys/dev/lnc if_lnc.c
John Baldwin
jhb at FreeBSD.org
Thu Jul 24 11:56:26 PDT 2003
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 <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
More information about the cvs-src
mailing list