diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-08-18 23:19:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-08-18 23:19:30 +0000 |
commit | 87d00f400eaf86a770dc09268649713d4a3d50f4 (patch) | |
tree | 9303df1e5e118503c8e8801c63811ceb1e56e53a /sys/arch/vax/include | |
parent | fdbef39f25299be7dfee8fd1e022a3c078802917 (diff) |
Add support for the ``Firefox'' VAXstation 3520/3540/3820/3840 workstations,
currently limited to serial console and a single processor working.
All ``on-board'' devices, including the Q-bus adapter, but except for
the frame buffer, are supported. The machine will boot over the network
or from SCSI devices.
Lots of thanks to Al Kossow for www.bitsavers.org, on which I found the
technical documentation allowing me to complete this port (which was
lacking at the time I got that machine...).
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r-- | sys/arch/vax/include/clock.h | 5 | ||||
-rw-r--r-- | sys/arch/vax/include/nexus.h | 3 | ||||
-rw-r--r-- | sys/arch/vax/include/rpb.h | 3 | ||||
-rw-r--r-- | sys/arch/vax/include/scb.h | 11 |
4 files changed, 14 insertions, 8 deletions
diff --git a/sys/arch/vax/include/clock.h b/sys/arch/vax/include/clock.h index ff228c73e03..00caf4d1c2a 100644 --- a/sys/arch/vax/include/clock.h +++ b/sys/arch/vax/include/clock.h @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.h,v 1.7 2008/08/15 22:41:46 miod Exp $ */ +/* $OpenBSD: clock.h,v 1.8 2008/08/18 23:19:24 miod Exp $ */ /* $NetBSD: clock.h,v 1.4 1999/09/06 19:52:53 ragge Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -74,3 +74,6 @@ int generic_clkread(time_t); void generic_clkwrite(void); int chip_clkread(time_t); void chip_clkwrite(void); + +int yeartonum(int); +int numtoyear(int); diff --git a/sys/arch/vax/include/nexus.h b/sys/arch/vax/include/nexus.h index 69c7583dc41..fe2101f5f53 100644 --- a/sys/arch/vax/include/nexus.h +++ b/sys/arch/vax/include/nexus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nexus.h,v 1.13 2006/08/27 16:55:41 miod Exp $ */ +/* $OpenBSD: nexus.h,v 1.14 2008/08/18 23:19:24 miod Exp $ */ /* $NetBSD: nexus.h,v 1.17 2000/06/04 17:58:19 ragge Exp $ */ /*- @@ -54,6 +54,7 @@ struct mainbus_attach_args { #define VAX_IBUS 8 /* Internal Microvax bus */ #define VAX_XMIBUS 9 /* XMI master bus (6000) */ #define VAX_VXTBUS 10 /* Pseudo VXT2000 bus */ +#define VAX_MBUS 11 /* M-bus (KA60) */ #define VAX_LEDS 0x42 /* pseudo value to attach led0 */ diff --git a/sys/arch/vax/include/rpb.h b/sys/arch/vax/include/rpb.h index 1f2ca79be23..1a4438b7c8a 100644 --- a/sys/arch/vax/include/rpb.h +++ b/sys/arch/vax/include/rpb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rpb.h,v 1.10 2002/06/11 09:36:24 hugh Exp $ */ +/* $OpenBSD: rpb.h,v 1.11 2008/08/18 23:19:24 miod Exp $ */ /* $NetBSD: rpb.h,v 1.6 1998/07/01 09:37:11 ragge Exp $ */ /* * Copyright (c) 1995 Ludd, University of Lule}, Sweden. @@ -113,6 +113,7 @@ struct rpb { /* size description */ #define BDEV_NK 35 #define BDEV_RD 36 /* ST506/MFM disk on HDC9224 */ #define BDEV_ST 37 /* SCSI tape on NCR5380 */ +#define BDEV_SDS 39 /* SCSI disk on SII */ #define BDEV_SD 42 /* SCSI disk on NCR5380 */ #define BDEV_SDN 46 /* SCSI disk on NCR5394 */ #define BDEV_CNSL 64 diff --git a/sys/arch/vax/include/scb.h b/sys/arch/vax/include/scb.h index 5f2b6d8b7dc..cc16863bc22 100644 --- a/sys/arch/vax/include/scb.h +++ b/sys/arch/vax/include/scb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scb.h,v 1.9 2007/04/10 18:31:44 miod Exp $ */ +/* $OpenBSD: scb.h,v 1.10 2008/08/18 23:19:24 miod Exp $ */ /* $NetBSD: scb.h,v 1.11 2000/07/10 09:14:34 ragge Exp $ */ /* @@ -131,10 +131,11 @@ extern const struct ivec_dsp idsptch; extern struct scb *scb; extern struct ivec_dsp *scb_vec; -extern paddr_t scb_init (paddr_t); -extern int scb_vecref (int *, int *); -extern void scb_fake (int, int); -extern void scb_vecalloc (int, void(*)(void *), void *, int, struct evcount *); +extern paddr_t scb_init(paddr_t); +extern int scb_vecref(int *, int *); +extern void scb_fake(int, int); +extern void scb_stray(void *); +extern void scb_vecalloc(int, void(*)(void *), void *, int, struct evcount *); #endif /* _KERNEL */ #endif /* _VAX_SCB_H */ |