Add definitions for DEC HW device numbers.

This commit is contained in:
ragge 1997-03-15 15:09:40 +00:00
parent b5b674f227
commit 1d90a0a507
2 changed files with 26 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.22 1997/02/19 10:06:03 ragge Exp $ */
/* $NetBSD: cpu.h,v 1.23 1997/03/15 15:09:41 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden
@ -68,8 +68,10 @@ struct clockframe {
int ps;
};
extern struct device *booted_from;
extern int cold;
extern int mastercpu;
extern int bootdev;
#define setsoftnet() mtpr(12,PR_SIRR)
#define setsoftclock() mtpr(8,PR_SIRR)

View File

@ -1,4 +1,4 @@
/* $NetBSD: rpb.h,v 1.2 1995/10/20 13:47:27 ragge Exp $ */
/* $NetBSD: rpb.h,v 1.3 1997/03/15 15:09:40 ragge Exp $ */
/*
* Copyright (c) 1995 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -97,6 +97,28 @@ struct rpb { /* size description */
long vmb_revision; /* 4 VMB revision label */
};
/*
* Bootstrap device number encoding.
*/
#define BDEV_HP 0
#define BDEV_RK 1
#define BDEV_RL 2
#define BDEV_IDC 3
#define BDEV_UDA 17
#define BDEV_TK 18
#define BDEV_HSC 32
#define BDEV_KDB 33
#define BDEV_KRB 34
#define BDEV_NK 35
#define BDEV_RD 36
#define BDEV_SCSI 37
#define BDEV_SFL 42
#define BDEV_CNSL 64
#define BDEV_QE 96
#define BDEV_DE 97
#define BDEV_NI 98
#define BDEV_LE 99
#ifdef _KERNEL
extern struct rpb rpb;
#endif