Noticed by: Nate

Fixed the MAKEDEV pattern for SCSI processor type driver so it doesn't
screw up ptys.  Does anyone want to suggest a better name than "pt0" for
SCSI processor devices before 2.1?
This commit is contained in:
Peter Dufault 1995-03-11 12:07:57 +00:00
parent 5dad287ead
commit a1b8d6bad1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7000
2 changed files with 10 additions and 6 deletions

View File

@ -77,7 +77,7 @@
# spigot Video Spigot video aquisition card
# isdn* ISDN devices
#
# $Id: MAKEDEV,v 1.76 1995/03/04 12:22:14 bde Exp $
# $Id: MAKEDEV,v 1.77 1995/03/04 20:54:13 dufault Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -398,8 +398,10 @@ worm*)
mknod worm$unit c 62 $unit
;;
pt*)
unit=`expr $i : 'pt\(.*\)'`
# SCSI processor type driver
pt[0-9]*)
unit=`expr $i : 'pt\([0-9][0-9]*\)'`
unit=`expr $unit + 1 - 1`
rm -f pt$unit
mknod pt$unit c 61 $unit
;;

View File

@ -77,7 +77,7 @@
# spigot Video Spigot video aquisition card
# isdn* ISDN devices
#
# $Id: MAKEDEV,v 1.76 1995/03/04 12:22:14 bde Exp $
# $Id: MAKEDEV,v 1.77 1995/03/04 20:54:13 dufault Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -398,8 +398,10 @@ worm*)
mknod worm$unit c 62 $unit
;;
pt*)
unit=`expr $i : 'pt\(.*\)'`
# SCSI processor type driver
pt[0-9]*)
unit=`expr $i : 'pt\([0-9][0-9]*\)'`
unit=`expr $unit + 1 - 1`
rm -f pt$unit
mknod pt$unit c 61 $unit
;;