From owner-freebsd-hackers Sat May 20 13: 8:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id CCD9837B6A1 for ; Sat, 20 May 2000 13:08:49 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-117-233.bellatlantic.net [151.198.117.233]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id QAA19860; Sat, 20 May 2000 16:08:38 -0400 (EDT) Message-ID: <3926F0CF.DA23E3AD@bellatlantic.net> Date: Sat, 20 May 2000 16:08:47 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Alexander Langer Cc: hackers@FreeBSD.ORG Subject: Re: further question to bus_alloc_resource References: <20000520013751.A5852@cichlids.cichlids.com> <20000520014352.B5947@cichlids.cichlids.com> <3925E63E.EF415CFF@bellatlantic.net> <20000520114607.A1832@cichlids.cichlids.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexander Langer wrote: > > Thus spake Sergey Babkin (babkin@bellatlantic.net): > > > 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. Well, I suppose unloading drivers makes much sense only in case if hardware supports hot-plug. I see the argument of upgrading the driver version without reboot as purely theoretical. For driver debugging the need to chnage the driver commonly happens after the old version somehow wedges the system. And upgrading drivers on a running production system is not something I personally would do. This is a dangerous operation and if it would cause any problems they would better happen at pre-scheduled boot time, not on a running machines with users. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message