]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reassign default unit to a valid unit, be it during attach or detach.
authorAriff Abdullah <ariff@FreeBSD.org>
Sun, 17 Jun 2007 15:53:11 +0000 (15:53 +0000)
committerAriff Abdullah <ariff@FreeBSD.org>
Sun, 17 Jun 2007 15:53:11 +0000 (15:53 +0000)
commitf3685841464b70256cd350a8287a28182df7a27a
tree4640d21dd225a7ddb43019db23b42261feecff03
parent846199b736cda42b20e2e195f72f0d8d867fc1e7
Reassign default unit to a valid unit, be it during attach or detach.
If nothing is available, set to something that is purely ridiculous
so the next valid attach will notice it.

Tested by: chibis
sys/dev/sound/pcm/feeder.c
sys/dev/sound/pcm/sound.c