From 663cbe4fc26065f7af7d10faaee492a626156145 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 23 Aug 1999 20:59:21 +0000 Subject: Convert DEVFS hooks in (most) drivers to make_dev(). Diskslice/label code not yet handled. Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers) Add the correct hook for devfs to kern_conf.c The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases. A few drivers had minor additional cleanups performed relating to cdevsw registration. A few drivers don't register a cdevsw{} anymore, but only use make_dev(). --- sys/cam/scsi/scsi_pass.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/cam/scsi/scsi_pass.c') diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index c68fb98..b900c3b 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi_pass.c,v 1.11 1999/05/30 16:51:03 phk Exp $ + * $Id: scsi_pass.c,v 1.12 1999/05/31 11:24:05 phk Exp $ */ #include @@ -82,10 +82,6 @@ struct pass_softc { struct buf_queue_head buf_queue; union ccb saved_ccb; struct devstat device_stats; -#ifdef DEVFS - void *pass_devfs_token; - void *ctl_devfs_token; -#endif }; #ifndef MIN -- cgit v1.1