Hans Petter Selasky c01fc06ee9 Revert r239178 and implement two new functions, namely
"device_free_softc()" and "device_claim_softc()",
to allow USB serial drivers refcounting the softc.
These functions are used to grab the softc from
auto-free and to free the softc back to the correct
malloc type, respectivly.

Discussed with:	jhb
MFC after:	2 weeks
2012-08-15 15:42:57 +00:00
..
2012-08-15 08:34:31 +00:00
2012-08-15 15:18:20 +00:00
2012-08-15 04:03:55 +00:00
2012-06-11 17:42:39 +00:00
2012-08-08 17:16:06 +00:00
2012-08-03 12:55:31 +00:00
2012-08-07 07:52:25 +00:00
2012-08-05 22:03:13 +00:00