Date: Sun, 25 Mar 2001 20:47:04 -0800 From: Julian Elischer <julian@elischer.org> To: current@freebsd.org Subject: si_drv1 used already? Message-ID: <3ABEC9C7.F6C759CA@elischer.org>
next in thread | raw e-mail | index | archive | help
The vmware vmmon driver used to use si_drv1 but suddenly it appears to
have already been used (at least it is no-longer non-zero).
It would fail to open because it checks it before using it during open.
Changing the driver to use si_drv2 fixes the problem.
Since drv1 is defined as 'for the use of the driver'
I am not sure that it is wrong for the driver to use it.
In fact many other drivers do use it without testing it.
I see it's used in freedev() and make_dev_alias().
Is it safe for the driver to use it even if it is non-zero?
--
__--_|\ Julian Elischer
/ \ julian@elischer.org
( OZ ) World tour 2000-2001
---> X_.---._/
v
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ABEC9C7.F6C759CA>
