Subject: Re: CVS commit: src/sys/dev/pci
To: Luke Mewburn <lukem@NetBSD.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 09/24/2006 12:39:02
Luke Mewburn <lukem@NetBSD.org> wrote:
> | - do not refuse multiple device openings, as the management tool will
> | do it. I'm not sure we are safe. FreeBSD allows multiple openings, and
> | use the open flag only when an attempt to detach the device is done.
>
> I vaguely recall problems in certain situations where the firmware
> on the 3ware cards will lock up if you try to ask them to do too
> much at once, such as starting a long running operation, and then
> querying it as well.
> (Unfortunately, I don't recall the details.)
> As such, you may find this part of the change to be a bit adventurous.
OTOH, 3ware management tool will dump a core if we don't let it open the
device multiple times.
Maybe some ioctl needs a lock?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org