|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.94 2001/05/30 02:11:17 deraadt Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.95 2001/06/04 15:29:00 brad Exp $ |
|
|
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ |
|
|
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ |
|
|
# |
|
|
# |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
@ -577,10 +577,10 @@ lkm) |
|
|
|
|
|
|
|
|
audio*) |
|
|
audio*) |
|
|
major=42 |
|
|
major=42 |
|
|
audio=audio$n |
|
|
|
|
|
sound=sound$n |
|
|
|
|
|
mixer=mixer$n |
|
|
|
|
|
audioctl=audioctl$n |
|
|
|
|
|
|
|
|
audio=audio$unit |
|
|
|
|
|
sound=sound$unit |
|
|
|
|
|
mixer=mixer$unit |
|
|
|
|
|
audioctl=audioctl$unit |
|
|
rm -f $sound $audio $mixer $audioctl |
|
|
rm -f $sound $audio $mixer $audioctl |
|
|
mknod $sound c $major $unit |
|
|
mknod $sound c $major $unit |
|
|
mknod $audio c $major $(( $unit + 128 )) |
|
|
mknod $audio c $major $(( $unit + 128 )) |
|
|