Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 1995 17:06:01 -0800 (PST)
From:      Julian Elischer <julian@ref.tfs.com>
To:        gibbs@freefall.freebsd.org (Justin T. Gibbs)
Cc:        joerg_wunsch@interface-business.de, freebsd-scsi@FreeBSD.ORG
Subject:   Re: SCSI reprobe
Message-ID:  <199511170106.RAA02636@ref.tfs.com>
In-Reply-To: <199511161742.JAA01290@freefall.freebsd.org> from "Justin T. Gibbs" at Nov 16, 95 09:42:34 am

next in thread | previous in thread | raw e-mail | index | archive | help
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
> ===========================================
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511170106.RAA02636>