Subject: config.new
To: None <port-sun3@NetBSD.ORG>
From: David Jones <dej@eecg.toronto.edu>
List: port-sun3
Date: 07/01/1995 18:35:53
Are we using config.new yet?
The files.sun3.newconf in the current tree is a bit broken, so config.new
does not work. A patch to files.sun3.newconf is given below. The
maxpartitions specifier must also be uncommented - that's not
in my patch.
One problem: my version of config.new did not understand the include
directive to bring in the sunos compat files. I punted and copied that
stuff in by hand. It's possible that my config.new is too far out of
date (a few months old).
Fix:
*** files.sun3.newconf.old Sat Jul 1 15:49:11 1995
--- files.sun3.newconf Sat Jul 1 15:58:31 1995
***************
*** 14,26 ****
file arch/sun3/sun3/cache.c havecache
file arch/sun3/sun3/conf.c
file arch/sun3/sun3/control.c
file arch/sun3/sun3/db_machdep.c ddb
file arch/sun3/sun3/disksubr.c
file arch/sun3/sun3/isr.c
file arch/sun3/sun3/machdep.c
file arch/sun3/sun3/mem.c
file arch/sun3/sun3/pmap.c
! file arch/sun3/sun3/stub.c
file arch/sun3/sun3/sun3_startup.c
file arch/sun3/sun3/trap.c
file arch/sun3/sun3/vector.c
--- 14,27 ----
file arch/sun3/sun3/cache.c havecache
file arch/sun3/sun3/conf.c
file arch/sun3/sun3/control.c
+ file arch/sun3/sun3/ctrlsp.S
file arch/sun3/sun3/db_machdep.c ddb
file arch/sun3/sun3/disksubr.c
file arch/sun3/sun3/isr.c
file arch/sun3/sun3/machdep.c
file arch/sun3/sun3/mem.c
file arch/sun3/sun3/pmap.c
! #file arch/sun3/sun3/stub.c
file arch/sun3/sun3/sun3_startup.c
file arch/sun3/sun3/trap.c
file arch/sun3/sun3/vector.c
***************
*** 145,160 ****
pseudo-device prom
file arch/sun3/dev/prom.c prom needs-flag
- # SunOS compatibility
- file compat/sunos/sunos_exec.c compat_sunos
- file compat/sunos/sunos_init_sysent.c compat_sunos
- file compat/sunos/sunos_ioctl.c compat_sunos
- file compat/sunos/sunos_misc.c compat_sunos
- #file compat/sunos/sunos_syscalls.c compat_sunos
-
# Major numbers for root/swap device configuration
major {sd=7} # SCSI disk
#major {xy=3} # Xylogics 450 and 451
#major {xd=10} # Xylogics 7053
#major {rd=13} # RAM disk (for mini-kernel)
! #major {vnd=??} # vnode pseudo-device
--- 146,174 ----
pseudo-device prom
file arch/sun3/dev/prom.c prom needs-flag
# Major numbers for root/swap device configuration
major {sd=7} # SCSI disk
#major {xy=3} # Xylogics 450 and 451
#major {xd=10} # Xylogics 7053
#major {rd=13} # RAM disk (for mini-kernel)
! #major {vnd=5} # vnode pseudo-device
!
! # Compatibility modules
!
! # SunOS Binary Compatibility (COMPAT_SUNOS)
! # include "../../../compat/sunos/files.sunos"
! # $NetBSD: files.sunos,v 1.3 1995/06/24 20:22:33 christos Exp $
! #
! # Config.new file description for machine-independent SunOS compat code.
! # Included by ports that need it.
!
! # ports should define any machine-specific files they need in their
! # own file lists.
!
! file compat/sunos/sunos_exec.c compat_sunos
! file compat/sunos/sunos_sysent.c compat_sunos
! file compat/sunos/sunos_ioctl.c compat_sunos
! file compat/sunos/sunos_misc.c compat_sunos
! #file compat/sunos/sunos_syscalls.c compat_sunos
! file arch/m68k/m68k/sunos_machdep.c compat_sunos
!
--
David Jones, M.A.Sc student, Electronics Group (VLSI), University of Toronto
email: dej@eecg.toronto.edu, finger for PGP public key
For a good time, telnet torfree.net and log in as `guest'.
Click me!