mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
37507c1bd2
operands that are set during seqeuncer program download instead of at assembly time. Convert the sequencer code to use" downloaded constants" for four run time constants that vary depending on the board type. This frees up 4 bytes of sequencer scratch ram space where these constants used to be stored and also removes the additional instructions required to load their values into the accumulator prior to using them. Remove the REJBYTE sram variable. The host driver can just as easly read the accumulator to get this value. The scratch ram savings is important as the old code used to clober the SCSICONF register on 274X cards which sits near the top of scratch ram space. The SCSICONF register controls bus termination, and clobbering it is not a good thing. Now we have 4 bytes to spare. This should fix the reported problems with cards that don't have devices attached to them failing with a stream of "Somone reset bus X" messages. Doug Ledford determined the cause of the problem, fixes by me.
32 lines
507 B
Makefile
32 lines
507 B
Makefile
# $Id: Makefile,v 1.3 1997/09/03 03:44:32 gibbs Exp $
|
|
|
|
PROG= aicasm
|
|
|
|
CSRCS= aicasm.c aicasm_symbol.c
|
|
GENSRCS= aicasm_gram.c aicasm_scan.c
|
|
|
|
GENHDRS= y.tab.h
|
|
|
|
SRCS= ${GENSRCS} ${CSRCS}
|
|
CLEANFILES+= ${GENSRCS} ${GENHDRS} y.output
|
|
DPADD+= ${LIBL}
|
|
LDADD+= -ll
|
|
|
|
# Correct path for kernel builds
|
|
# Don't rely on the kernel's .depend file
|
|
.ifdef MAKESRCPATH
|
|
.PATH: ${MAKESRCPATH}
|
|
DEPENDFILE=
|
|
.endif
|
|
|
|
CFLAGS+= -I.
|
|
NOMAN= noman
|
|
|
|
.ifdef DEBUG
|
|
CFLAGS+= -DDEBUG -g
|
|
YFLAGS+= -t
|
|
LFLAGS+= -d
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|