In kernel config files, now mention the options SCSI_OLD_NOINQUIRY,

NFS_V2_ONLY, and VNODE_OP_NOINLINE, commented out as appropriate
for each configuration.
Convert to use genassym.cf and genassym.sh, as other ports do.
This commit is contained in:
fredette 2001-11-30 15:54:31 +00:00
parent 420771d7cc
commit af0a38f1d6
7 changed files with 50 additions and 24 deletions

View File

@ -1,11 +1,11 @@
# $NetBSD: DISKLESS,v 1.7 2001/11/26 17:51:08 fredette Exp $
# $NetBSD: DISKLESS,v 1.8 2001/11/30 15:54:31 fredette Exp $
# DISKLESS Sun2 (2/120, 2/170, 2/50, ...)
# Supports root on: ie0, ec0
include "arch/sun2/conf/std.sun2"
#ident "DISKLESS-$Revision: 1.7 $"
#ident "DISKLESS-$Revision: 1.8 $"
# Machines to be supported by this kernel
#options FPU_EMULATE
@ -62,6 +62,8 @@ file-system MFS # memory-based filesystem
#options QUOTA # FFS quotas
#options FFS_EI # FFS Endian Independant support
#options SOFTDEP # FFS soft updates support.
#options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
# Networking options
options INET # IP prototol stack support
@ -166,6 +168,9 @@ ms0 at zstty? # mouse
#ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
#uk* at scsibus? target ? lun ? # unknown SCSI
# support old SCSI devices that don't understand the INQUIRY command
#options SCSI_OLD_NOINQUIRY
## Xylogics 450 or 451 Multibus/VME SMD disk controllers and disks.
#xyc0 at mbio0 addr 0xee40 ipl 2
#xyc0 at vme0 addr 0xee40 irq 2 vect 0x48

View File

@ -1,11 +1,11 @@
# $NetBSD: FOURMEG,v 1.8 2001/11/26 17:51:08 fredette Exp $
# $NetBSD: FOURMEG,v 1.9 2001/11/30 15:54:31 fredette Exp $
# FOURMEG Sun2 (2/120, 2/170, 2/50, ...)
# Supports root on: ie0, sd*, ...
include "arch/sun2/conf/std.sun2"
#ident "FOURMEG-$Revision: 1.8 $"
#ident "FOURMEG-$Revision: 1.9 $"
# Machines to be supported by this kernel
#options FPU_EMULATE
@ -62,6 +62,8 @@ file-system CD9660 # ISO 9660 + Rock Ridge file system
#options QUOTA # FFS quotas
#options FFS_EI # FFS Endian Independant support
#options SOFTDEP # FFS soft updates support.
#options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
# Networking options
options INET # IP prototol stack support
@ -166,6 +168,9 @@ cd* at scsibus? target ? lun ? # SCSI CD-ROMs
#ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
#uk* at scsibus? target ? lun ? # unknown SCSI
# support old SCSI devices that don't understand the INQUIRY command
options SCSI_OLD_NOINQUIRY
## Xylogics 450 or 451 Multibus/VME SMD disk controllers and disks.
#xyc0 at mbio0 addr 0xee40 ipl 2
xyc0 at vme0 addr 0xee40 irq 2 vect 0x48

View File

@ -1,11 +1,11 @@
# $NetBSD: GENERIC,v 1.9 2001/11/20 12:56:40 lukem Exp $
# $NetBSD: GENERIC,v 1.10 2001/11/30 15:54:32 fredette Exp $
# GENERIC Sun2 (2/120, 2/170, 2/50, ...)
# Supports root on: ie0, sd*, ...
include "arch/sun2/conf/std.sun2"
#ident "GENERIC-$Revision: 1.9 $"
#ident "GENERIC-$Revision: 1.10 $"
# Machines to be supported by this kernel
#options FPU_EMULATE
@ -66,6 +66,8 @@ options NFSSERVER # nfs server support
options QUOTA # FFS quotas
#options FFS_EI # FFS Endian Independant support
options SOFTDEP # FFS soft updates support.
#options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
# Networking options
options INET # IP prototol stack support
@ -170,6 +172,9 @@ cd* at scsibus? target ? lun ? # SCSI CD-ROMs
#ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
#uk* at scsibus? target ? lun ? # unknown SCSI
# support old SCSI devices that don't understand the INQUIRY command
options SCSI_OLD_NOINQUIRY
## Xylogics 450 or 451 Multibus/VME SMD disk controllers and disks.
#xyc0 at mbio0 addr 0xee40 ipl 2
xyc0 at vme0 addr 0xee40 irq 2 vect 0x48

View File

@ -1,10 +1,10 @@
# $NetBSD: INSTALL,v 1.7 2001/11/26 17:51:08 fredette Exp $
# $NetBSD: INSTALL,v 1.8 2001/11/30 15:54:32 fredette Exp $
# INSTALL Sun2 (2/120, 2/170, 2/50, ...)
include "arch/sun2/conf/std.sun2"
#ident "INSTALL-$Revision: 1.7 $"
#ident "INSTALL-$Revision: 1.8 $"
# Machines to be supported by this kernel
#options FPU_EMULATE
@ -61,6 +61,8 @@ file-system CD9660 # ISO 9660 + Rock Ridge file system
#options QUOTA # FFS quotas
#options FFS_EI # FFS Endian Independant support
#options SOFTDEP # FFS soft updates support.
options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
# Networking options
options INET # IP prototol stack support
@ -165,6 +167,9 @@ cd* at scsibus? target ? lun ? # SCSI CD-ROMs
#ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
#uk* at scsibus? target ? lun ? # unknown SCSI
# support old SCSI devices that don't understand the INQUIRY command
options SCSI_OLD_NOINQUIRY
## Xylogics 450 or 451 Multibus/VME SMD disk controllers and disks.
#xyc0 at mbio0 addr 0xee40 ipl 2
xyc0 at vme0 addr 0xee40 irq 2 vect 0x48

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sun2,v 1.9 2001/11/20 12:56:40 lukem Exp $
# $NetBSD: Makefile.sun2,v 1.10 2001/11/30 15:54:33 fredette Exp $
# Makefile for NetBSD
#
@ -146,17 +146,10 @@ LINKFLAGS+= -S
# LOAD-
# Use awk to cross-build assym.h from the genassym.s file.
assym.h: genassym.o $S/kern/genassym.awk
awk -f $S/kern/genassym.awk < genassym.s > assym.h.tmp
mv -f assym.h.tmp $@
# The above rule lists genassym.o as a prerequisite so that the
# generated .depend rule is effective, even though we actually
# use genassym.s instead. This always creates both.
genassym.o: ${SUN2}/sun2/genassym.c
${CC} ${CPPFLAGS} -S $<
${CC} -c $*.s
assym.h: $S/kern/genassym.sh ${SUN2}/sun2/genassym.cf
sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
< ${SUN2}/sun2/genassym.cf > assym.h.tmp && \
mv -f assym.h.tmp assym.h
param.c: $S/conf/param.c
rm -f param.c
@ -206,7 +199,10 @@ SRCS= ${SUN2}/sun2/locore.s \
depend: .depend
.depend: ${SRCS} assym.h param.c
${MKDEP} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${CPPFLAGS} ${SUN2}/sun2/genassym.c
sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
${CPPFLAGS} < ${SUN2}/sun2/genassym.cf
@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
@rm -f assym.dep
dependall: depend all

View File

@ -1,4 +1,4 @@
# $NetBSD: RAMDISK,v 1.7 2001/11/26 17:51:08 fredette Exp $
# $NetBSD: RAMDISK,v 1.8 2001/11/30 15:54:33 fredette Exp $
# RAMDISK: Root/swap on ramdisk
# This kernel is used to:
@ -66,6 +66,8 @@ file-system CD9660 # ISO 9660 + Rock Ridge file system
#options QUOTA # FFS quotas
#options FFS_EI # FFS Endian Independant support
#options SOFTDEP # FFS soft updates support.
options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
# Networking options
options INET # IP prototol stack support
@ -176,6 +178,9 @@ cd* at scsibus? target ? lun ? # SCSI CD-ROMs
#ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
#uk* at scsibus? target ? lun ? # unknown SCSI
# support old SCSI devices that don't understand the INQUIRY command
options SCSI_OLD_NOINQUIRY
## Xylogics 450 or 451 Multibus/VME SMD disk controllers and disks.
#xyc0 at mbio0 addr 0xee40 ipl 2
xyc0 at vme0 addr 0xee40 irq 2 vect 0x48

View File

@ -1,11 +1,11 @@
# $NetBSD: VME,v 1.1 2001/11/26 21:20:35 fredette Exp $
# $NetBSD: VME,v 1.2 2001/11/30 15:54:33 fredette Exp $
# VME Sun2 (2/50, 2/130, 2/160...)
# Supports root on: ie0, sd*, ...
include "arch/sun2/conf/std.sun2"
#ident "VME-$Revision: 1.1 $"
#ident "VME-$Revision: 1.2 $"
# Machines to be supported by this kernel
#options FPU_EMULATE
@ -66,6 +66,8 @@ options NFSSERVER # nfs server support
#options QUOTA # FFS quotas
#options FFS_EI # FFS Endian Independant support
#options SOFTDEP # FFS soft updates support.
#options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
# Networking options
options INET # IP prototol stack support
@ -170,6 +172,9 @@ cd* at scsibus? target ? lun ? # SCSI CD-ROMs
#ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
#uk* at scsibus? target ? lun ? # unknown SCSI
# support old SCSI devices that don't understand the INQUIRY command
options SCSI_OLD_NOINQUIRY
## Xylogics 450 or 451 Multibus/VME SMD disk controllers and disks.
#xyc0 at mbio0 addr 0xee40 ipl 2
xyc0 at vme0 addr 0xee40 irq 2 vect 0x48