Mention that the softc is zeroed after allocation.

Noticed by:	sam
MFC after:	3 days
This commit is contained in:
Christian Brueffer 2005-08-02 13:54:52 +00:00
parent 906507dd4c
commit 6fc6b69327

View File

@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 16, 1998
.Dd August 2, 2005
.Dt DEVICE_GET_SOFTC 9
.Os
.Sh NAME
@ -42,7 +42,8 @@
.Sh DESCRIPTION
Return the driver-specific state of
.Fa dev .
The softc is automatically allocated the first time it is requested.
The softc is automatically allocated and zeroed the first
time it is requested.
The size of the allocation is determined by the device's
.Vt driver_t
information used to define the driver.