From owner-cvs-all Wed Apr 10 4:16:50 2002 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 908A637B400; Wed, 10 Apr 2002 04:16:45 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g3ABG8eZ072289; Wed, 10 Apr 2002 13:16:08 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bruce Evans Cc: Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/digi digi.c In-Reply-To: Your message of "Wed, 10 Apr 2002 20:45:13 +1000." <20020410204138.C7535-100000@gamplex.bde.org> Date: Wed, 10 Apr 2002 13:16:07 +0200 Message-ID: <72288.1018437367@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020410204138.C7535-100000@gamplex.bde.org>, Bruce Evans writes: >> >> Revision Changes Path >> 1.25 +14 -5 src/sys/dev/digi/digi.c > >N * (+14 -5) in N drivers. All drivers that support dynamic loading need >something like this, since busy-waiting on running systems is unacceptable. >Not that I will ever want to use this misfeature. No, the solution is to move timer initialization up in the boot sequence so that timeouts work for normal device probes. Many of our drivers need to be able to probe attach in the "normal" kernel environment anyway because they also support dynamic hardware like PCcard etc. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message