From owner-freebsd-scsi Thu Nov 16 17:06:28 1995 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA27328 for freebsd-scsi-outgoing; Thu, 16 Nov 1995 17:06:28 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA27320 for ; Thu, 16 Nov 1995 17:06:14 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id RAA02636; Thu, 16 Nov 1995 17:06:02 -0800 From: Julian Elischer Message-Id: <199511170106.RAA02636@ref.tfs.com> Subject: Re: SCSI reprobe To: gibbs@freefall.freebsd.org (Justin T. Gibbs) Date: Thu, 16 Nov 1995 17:06:01 -0800 (PST) Cc: joerg_wunsch@interface-business.de, freebsd-scsi@FreeBSD.ORG In-Reply-To: <199511161742.JAA01290@freefall.freebsd.org> from "Justin T. Gibbs" at Nov 16, 95 09:42:34 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1307 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk Charles Hannum changed all this around under NetBSD the NOSLEEP NOMASK et. stuff is historical from MACH under MACH doing an s = splbio; [code] splx(s); while the interupts were not yet set up led to a Panic.. under FreeBSD I pelieve it's safe to ignore it... > > Well, its even worse than this. The ahc driver, since it uses the eisa/pc > interrupt registration routines, has access to its interrupt even during > the first attach phase. If you look closely at the code, it masks its > interrupt (or in the case of the Eisa probe doesn't turn it on) until > after the attach because it knows the SCSI code is going to send the > stupid NOSLEEP, NOMASK flags. The only time that the NOSLEEP flag is > of any interrest is for the areas of the driver that may use tsleep > during an interrupt, but even then, the SCSI code only guesses if > interrupts are disabled or not. The NOMASK flag is bogus. I'll experiment > with ignoring, and always relying on interrupts, when I get some time. > > >-- > >J"org Wunsch Unix support engineer > >joerg_wunsch@interface-business.de > > [private: http://www.sax.de/~joerg/] > > -- > Justin T. Gibbs > =========================================== > FreeBSD: Turning PCs into workstations > =========================================== >