From owner-freebsd-hackers Sat May 20 14: 4:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 00B2437B6F2 for ; Sat, 20 May 2000 14:03:50 -0700 (PDT) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.9.3/8.9.3) with ESMTP id PAA00264; Sat, 20 May 2000 15:03:48 -0600 (MDT) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost.village.org [127.0.0.1]) by billy-club.village.org (8.9.3/8.8.3) with ESMTP id PAA53985; Sat, 20 May 2000 15:03:11 -0600 (MDT) Message-Id: <200005202103.PAA53985@billy-club.village.org> To: Alexander Langer Subject: Re: further question to bus_alloc_resource Cc: Sergey Babkin , hackers@FreeBSD.ORG In-reply-to: Your message of "Sat, 20 May 2000 11:46:07 +0200." <20000520114607.A1832@cichlids.cichlids.com> References: <20000520114607.A1832@cichlids.cichlids.com> <20000520013751.A5852@cichlids.cichlids.com> <20000520014352.B5947@cichlids.cichlids.com> <3925E63E.EF415CFF@bellatlantic.net> Date: Sat, 20 May 2000 15:03:11 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000520114607.A1832@cichlids.cichlids.com> Alexander Langer writes: : > compiled in the kernel (as opposed to being loaded as a module) : > then it never gets unloaded. And many drivers were written before : > the loadable modules appeared. : : Yes. But what about the others. : /sys/dev/aha/aha_mca.c for example - it is part of module (aha), : allocs resources, but never releases them. aha doesn't support being unloaded. At the time it was written, CAM drivers couldn't be unloaded. So I never bothered to make it work right. Also, the aha driver was written before newbus, and then gradually hacked to be more and more newbus-like until it has reached the state it is in today, which is good enough to work, but has lots of nits still. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message