Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci



Luke Mewburn <lukem%NetBSD.org@localhost> 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@localhost



Home | Main Index | Thread Index | Old Index