add SES device
This commit is contained in:
parent
015af0db9d
commit
c6459da685
@ -1,5 +1,5 @@
|
||||
#!/bin/sh -
|
||||
# $NetBSD: MAKEDEV,v 1.54 1999/12/18 03:09:44 tsutsui Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.55 2000/01/20 17:13:27 mjacob Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -95,6 +95,7 @@
|
||||
# random Random number generator
|
||||
# satlink* PlanetConnect satellite receiver driver
|
||||
# scsibus* SCSI busses, see scsictl(8), scsi(8)
|
||||
# ses* SES/SAF-TE SCSI Devices
|
||||
# speaker PC speaker (IBM BASIC playstring emulation)
|
||||
# ss* SCSI scanner
|
||||
# tun* network tunnel driver
|
||||
@ -365,10 +366,11 @@ st*)
|
||||
er${name}${unit} enr${name}${unit}
|
||||
;;
|
||||
|
||||
ch*|uk*)
|
||||
ses*|ch*|uk*)
|
||||
case $i in
|
||||
ch*) name=ch; unit=${i#ch}; chr=14;;
|
||||
uk*) name=uk; unit=${i#uk}; chr=33;;
|
||||
ses*) name=ses; unit=${i#ses}; chr=58;;
|
||||
esac
|
||||
rm -f $name$unit
|
||||
mknod $name$unit c $chr $unit
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.41 1999/08/16 22:27:12 augustss Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.42 2000/01/20 17:15:20 mjacob Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
||||
@ -37,7 +37,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.41 1999/08/16 22:27:12 augustss Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.42 2000/01/20 17:15:20 mjacob Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -142,6 +142,8 @@ cdev_decl(ms);
|
||||
cdev_decl(lpt);
|
||||
cdev_decl(md);
|
||||
cdev_decl(raid);
|
||||
#include "ses.h"
|
||||
cdev_decl(ses);
|
||||
#include "ss.h"
|
||||
cdev_decl(ss);
|
||||
#include "uk.h"
|
||||
@ -319,6 +321,7 @@ struct cdevsw cdevsw[] =
|
||||
#endif
|
||||
cdev_mouse_init(NWSMUX, wsmux), /* 56: ws multiplexor */
|
||||
cdev_tty_init(NUMODEM, umodem), /* 57: USB modem */
|
||||
cdev_ses_init(NSES,ses), /* 58: SCSI SES/SAF-TE */
|
||||
|
||||
};
|
||||
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: ALPHA,v 1.111 2000/01/19 13:53:47 cjs Exp $
|
||||
# $NetBSD: ALPHA,v 1.112 2000/01/20 17:14:42 mjacob Exp $
|
||||
#
|
||||
# Alpha kernel with all the options you'd want, and more.
|
||||
|
||||
@ -343,6 +343,7 @@ cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
||||
ch* at scsibus? target ? lun ? # SCSI autochangers
|
||||
sd* at scsibus? target ? lun ? # SCSI disk drives
|
||||
se* at scsibus? target ? lun ? # Cabletron SCSI<->Ethernet
|
||||
ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
|
||||
ss* at scsibus? target ? lun ? # SCSI scanners
|
||||
st* at scsibus? target ? lun ? # SCSI tape drives
|
||||
uk* at scsibus? target ? lun ? # SCSI unknown
|
||||
|
Loading…
Reference in New Issue
Block a user