Checkpoint: closer to having config.new working with the pc532
This commit is contained in:
parent
3f62caebc0
commit
2f40172e20
|
@ -35,7 +35,7 @@ PC532= ../..
|
|||
|
||||
.s.o:; (${CPP} ${COPTS} ${PC532}/pc532/$*.s | ${AS} ${ASFLAGS} -o $*.o)
|
||||
|
||||
INCLUDES= -I. -I${PC532} -I$S -I$S/sys
|
||||
INCLUDES= -I. -I$S -I$S/sys -I${PC532}
|
||||
COPTS= ${INCLUDES} ${IDENT} -DKERNEL
|
||||
ASFLAGS=
|
||||
CFLAGS= -O -msb ${COPTS}
|
||||
|
@ -135,11 +135,15 @@ vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
|
|||
sh $S/conf/newvers.sh
|
||||
${CC} ${CFLAGS} -c vers.c
|
||||
|
||||
# for config.new
|
||||
newvers:
|
||||
sh $S/conf/newvers.sh
|
||||
${CC} ${CFLAGS} -c vers.c
|
||||
|
||||
# This allows you to specify which "awk" you will run, i.e.:
|
||||
# make AWK=nawk ...
|
||||
vnode_if.c vnode_if.h : $S/kern/vnode_if.sh $S/kern/vnode_if.src
|
||||
AWK=${AWK} sh $S/kern/vnode_if.sh $S/kern/vnode_if.src
|
||||
|
||||
|
||||
%RULES
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ options VNODEPAGER,DEVPAGER # vnode and device node caching
|
|||
#options DIAGNOSTIC # internal consistency checking
|
||||
|
||||
#options ACCOUNTING # process accounting
|
||||
options KTRACE # system call tracing, a la ktrace(1)
|
||||
options FIFO # fifos; recommended
|
||||
options KTRACE # system call tracing, a la ktrace(1)
|
||||
options FIFO # fifos; recommended
|
||||
#options SYSVSHM # System V shared memory; broken
|
||||
#options "SHMMAXPGS=1024"
|
||||
#options LKM # loadable kernel modules
|
||||
|
@ -27,7 +27,7 @@ options "COMPAT_09" # NetBSD-0.9
|
|||
# file system options
|
||||
#options QUOTA # file system quotas
|
||||
options FFS # Berkeley fast file system
|
||||
options FASTLINKS # fast symbolic links in FFS
|
||||
#options FASTLINKS # fast symbolic links in FFS
|
||||
#options MFS # memory file system; uses RAM and swap
|
||||
#options NFSSERVER # Network File System server
|
||||
#options NFSCLIENT # Network File System client
|
||||
|
@ -38,7 +38,7 @@ options FASTLINKS # fast symbolic links in FFS
|
|||
|
||||
# networking options
|
||||
#options GATEWAY # packet forwarding
|
||||
options INET # IP
|
||||
options INET # IP
|
||||
#options NS # XNS
|
||||
#options CCITT # X.25
|
||||
#options ISO # OSI
|
||||
|
@ -47,26 +47,26 @@ options INET # IP
|
|||
|
||||
# pc532 specific options
|
||||
options "SCNDEF_SPEED=B19200" # default baud on the scn chips
|
||||
options "RAMD_SIZE=1536000" # Size of the "boot strap ram disk"
|
||||
#options "RAMD_SIZE=1536000" # Size of the "boot strap ram disk"
|
||||
#options "RAMD_ADR=0x400000" # Adr of the "boot strap ram disk"
|
||||
options "CONFIG_NEW" # Use config.new stuff
|
||||
|
||||
config "netbsd" root on sd1
|
||||
config "netbsd" root on sd1 swap on sd1
|
||||
|
||||
membus0 at root
|
||||
clock0 at membus?
|
||||
timer0 at membus?
|
||||
#clock0 at membus?
|
||||
#timer0 at membus?
|
||||
|
||||
#rd0 at membus?
|
||||
|
||||
ncr0 at membus?
|
||||
|
||||
tg0 at scsi? target 0
|
||||
scsibus0 at scsi?
|
||||
#tg* at scsi? target ?
|
||||
|
||||
#sd0 at tg0 drive 0
|
||||
sd* at tg? drive ? # SCSI disks
|
||||
st* at tg? drive ? # SCSI tapes
|
||||
#cd* at tg? drive ? # SCSI CD-ROMs
|
||||
sd* at scsibus? target ? lun ? # SCSI disks
|
||||
st* at scsibus? target ? lun ? # SCSI tapes
|
||||
#cd* at scsibus? target ? lun ? # SCSI CD-ROMs
|
||||
|
||||
scn0 at membus? port 0
|
||||
scn1 at membus? port 1
|
||||
|
|
|
@ -11,45 +11,52 @@ device membus at root {[port = -1], [size = 0],
|
|||
device rd at membus: disk
|
||||
major {rd = 4}
|
||||
|
||||
device timer at membus
|
||||
device clock at membus
|
||||
file arch/pc532/pc532/clock.c clock timer
|
||||
#device timer at membus
|
||||
#device clock at membus
|
||||
file arch/pc532/pc532/clock.c # clock timer
|
||||
|
||||
device scn at membus: tty
|
||||
file arch/pc532/dev/scn.c scn needs-count
|
||||
file arch/pc532/dev/nscn.c scn needs-count
|
||||
|
||||
define scsi {target = -1}
|
||||
define scsi {}
|
||||
|
||||
device ncr at membus: scsi
|
||||
file arch/pc532/dev/ncr.c ncr needs-count
|
||||
file arch/pc532/dev/nncr.c ncr needs-count
|
||||
device dp at membus: scsi
|
||||
file arch/pc532/dev/dp.c dp needs-count
|
||||
device aic at membus: scsi
|
||||
file arch/pc532/dev/aic.c aic needs-count
|
||||
|
||||
device tg at scsi {drive = -1}
|
||||
device scsibus at scsi {target = -1, lun = -1}
|
||||
|
||||
device cd at tg: disk
|
||||
device cd at scsibus: disk
|
||||
file scsi/cd.c cd needs-flag
|
||||
major {cd = 3}
|
||||
device ch at tg: disk
|
||||
file scsi/ch.c ch needs-flag
|
||||
device sd at tg: disk
|
||||
device sd at scsibus: disk
|
||||
file scsi/sd.c sd needs-flag
|
||||
major {sd = 0}
|
||||
device st at tg: tape
|
||||
device st at scsibus: tape
|
||||
file scsi/st.c st needs-flag
|
||||
major {st = 2}
|
||||
device ch at scsibus: disk
|
||||
file scsi/ch.c ch needs-flag
|
||||
device uk at scsibus: disk
|
||||
file scsi/uk.c uk needs-flag
|
||||
device su at scsibus: disk
|
||||
file scsi/su.c su needs-flag
|
||||
|
||||
pseudo-device rtc
|
||||
#pseudo-device rtc
|
||||
|
||||
file dev/cons.c
|
||||
file scsi/scsiconf.c scsi
|
||||
file scsi/scsi_base.c scsi
|
||||
file scsi/scsi_ioctl.c scsi
|
||||
file arch/pc532/pc532/autoconf.c
|
||||
file arch/pc532/pc532/conf.c
|
||||
file arch/pc532/pc532/db_disasm.c ddb
|
||||
file arch/pc532/pc532/db_interface.c ddb
|
||||
file arch/pc532/pc532/db_trace.c ddb
|
||||
file arch/pc532/pc532/disksubr.c disk
|
||||
file arch/pc532/pc532/icuinit.c
|
||||
file arch/pc532/pc532/in_cksum.c inet
|
||||
file arch/pc532/pc532/machdep.c
|
||||
file arch/pc532/pc532/mem.c
|
||||
|
@ -57,6 +64,7 @@ file arch/pc532/pc532/ns_cksum.c ns
|
|||
file arch/pc532/pc532/ntoh.s
|
||||
file arch/pc532/pc532/oc_cksum.s inet
|
||||
file arch/pc532/pc532/pmap.c
|
||||
file arch/pc532/pc532/proc_machdep.c
|
||||
file arch/pc532/pc532/random.s
|
||||
file arch/pc532/pc532/sys_machdep.c
|
||||
file arch/pc532/pc532/trap.c
|
||||
|
|
Loading…
Reference in New Issue