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-12 19:58:56 +00:00
2012-08-15 15:35:20 +00:00
2012-08-10 14:44:04 +00:00
2012-07-11 02:57:32 +00:00
2012-08-15 15:35:20 +00:00