Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 08:52:23 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Andrew Gallatin <gallatin@freebsd.org>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/alpha/pci cia.c
Message-ID:  <Pine.BSF.4.21.0011210850450.247-100000@salmon.nlsystems.com>
In-Reply-To: <200011210325.TAA03038@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Nov 2000, Andrew Gallatin wrote:

> gallatin    2000/11/20 19:25:31 PST
> 
>   Modified files:
>     sys/alpha/pci        cia.c 
>   Log:
>   fix isa DMA on pyxis based machines:
>   - move the call to cia_init_sgmap() to after we've determined if we're a pyxis
>   - convert needed splhigh() in cia_sgmap_invalidate_pyxis() to disable_intr()
>   
>   Previously, any isa DMA on a pyxis based machine would cause a panic
>   in cia_sgmap_invalidate_pyxis() because the pyxis workaround was never
>   setup.
>   
>   - while i'm at it, convert needed splhigh() in cia_swiz_set_hae_mem to
>   disable_intr()

I'm just testing a patch to use a mutex in sgmap.c to protect the sgmap
data structures. This ought to be sufficient to protect the cia bits too -
I'll see what happens if I remove the disable_intr() bits from the cia
sgmap code.

-- 
Doug Rabson				Mail:  dfr@nlsystems.com
					Phone: +44 20 8348 6160




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011210850450.247-100000>