Commit Graph

31892 Commits

Author SHA1 Message Date
ken
483438c0a8 A fix from Justin for the NCR bug that caused panics on 875 (and possibly
other) chips.

The script pointer was getting set to NULL instead of the right value.

Submitted by:	gibbs
1998-09-22 21:42:46 +00:00
ken
d1cbfc6a59 Add several quirks:
Western Digital Enterprise drives have sorry performance (1.5MB/sec versus
8MB/sec) when doing tagged queueing.  Disable tagged queueing for them.

Submitted by:	Andrew Gallatin <gallatin@cs.duke.edu>

Some Sony CDROM drives don't like it when we probe more than one LUN.

Verified by:    Jean-Marc Zucconi <jmz@FreeBSD.ORG>

Some Sony CD-R's don't like multi-LUN probing either.

Submitted by:   Parag Patel <parag@cgt.com>
1998-09-22 20:41:12 +00:00
brian
a642c78f62 Terminate our output string correctly if we've got
an ``a'' command that has an escaped newline on the
last line of the last script that we're processing.

This fixes exmh2/scripts/build when /etc/malloc.conf -> AJ
1998-09-22 18:39:47 +00:00
kato
a0a14e4798 Sync with sys/i386/isa/clock.c revision 1.127. 1998-09-22 16:12:00 +00:00
kato
9e99a9a30e Sync with sys/i386/conf/majors.i386 revision 1.50. 1998-09-22 16:11:38 +00:00
kato
2c755d0994 Sync with sys/i386/conf/Makefile.i386 revision 1.124. 1998-09-22 16:11:08 +00:00
kato
f63c4bdde3 Sync with sys/i386/conf/GENERICupgrade revision 1.3. 1998-09-22 16:10:40 +00:00
abial
2764ef0517 Make this work when compiled ELF. The code assumed that when you go off
the table boundary you get NULLs, and this was true for a.out, but some
ELF-related gremlin fills it with 0xff instead...

I suspect there are more problems of this type left in the tree. :-(
1998-09-22 15:45:52 +00:00
abial
cefa864934 Add some more disk device nodes. 1998-09-22 15:41:05 +00:00
abial
1f1f8a83ca All PicoBSD userland is now ELF. This buys us extra 15-30kB on the floppy.
NOTIE: If you don't use /usr/obj (or you wiped it), remember to clean also
the source tree of stale .depend and *.o files...
1998-09-22 15:40:00 +00:00
max
9d65ca90f5 Add fbtab and rc.devfs to BIN1 sothat they are included in the
distribution.
1998-09-22 15:10:18 +00:00
markm
2af42a0a9d Big cleanup of the perl build.
1) Inspired by JB's finding of a hardcoded /usr/bin/ranlib in the
   config files, these have been properly cleaned up and have
   been personalised for FreeBSD, not MarkM.

2) Inspired by Peter, copying of the lib/ext etc dirs has been
   replaced by a link farm.

3) Common code has been moved to a higher-level Makefile.inc.

This has been tested with a make -j8.
1998-09-22 12:00:59 +00:00
jb
647e3a3d61 Post C-day sync with GENERIC. 1998-09-22 11:13:14 +00:00
roberto
019b2d8ebe Change rst0 into rsa0. 1998-09-22 10:05:27 +00:00
roberto
fdfec00b09 Change rst0 into rsa0 in the man page too. Correct the spelling of
POSIXLY_CORRECT while I'm here.

Pointed out by:	Andreas Klemm
1998-09-22 09:55:09 +00:00
jkh
8b5224d956 Allow the use of ${DESTDIR} in the enviroment to optionally get
these various collections to install someplace else.
1998-09-22 08:43:10 +00:00
gibbs
a9176ccdfc Bring back the cleanups from revs 1.121 and rev.1.122 of ncr.c.
Noticed by: bde
1998-09-22 04:56:08 +00:00
gibbs
b81f0d6e51 dpt.h:
Bump the lun field in the eata ccb to 5 bits.  We still only
	use 3 of them, but we may use the rest at a later date.

dpt_scsi.c:
	Default to only 32 S/G segments.

	Bzero our CCB array after allocation.
1998-09-22 04:55:07 +00:00
gibbs
1221790ff3 cam.c:
Clear up trailing NULs in cam_strvis.

cam_xpt.c:
	Nuke an experimental quirk entry for the Toshiba 3401.  The real
	problem with this device turned out to be a bug in the aic7xxx
	driver that was fixed months ago.

	Add a quirk entry to inhibit multiple lun scanning and serial number
	probing of DPT RAID volumes.  My DPT controller hangs up solid when
	I do either of these things to a RAID 1 volume.
1998-09-22 04:53:23 +00:00
jdp
c50bd3ff4b Make LD_PRELOAD work for ELF. 1998-09-22 02:09:56 +00:00
jkh
00d538c115 Revert my change to use minigzip. Apparently, this thing is too "mini"
to actually work in this application.  Urk.  This probably explains the
problems people have been having with installing -snap.  My bad.  Will
fix and upload a new beta snap to ftp.freebsd.org.
Noted by:	jhay
1998-09-22 00:16:23 +00:00
msmith
02dd0fbefc New major for 3dfx driver. 1998-09-21 22:04:07 +00:00
ken
8ab0f364d8 Fix a grammar problem.
PR:		docs/7975
1998-09-21 20:44:39 +00:00
roberto
9d8fc55b2c The default tape device should be /dev/rsa0 for CAM. 1998-09-21 17:20:08 +00:00
gibbs
ed79d284db Correct twin channel operation. 1998-09-21 16:46:13 +00:00
jb
94fc2dabae Back out the last two hacks. I've added games to the (correct) build
path in src/Makefile.inc. The code that I'm backing out didn't work
anyway since exists() checks for a file in .PATH (and /usr/games/strfile
doesn't exist there), so the test was always defaulting to ../strfile/strfile
which breaks cross-compiled builds.
1998-09-21 09:01:53 +00:00
jb
c0bdb86552 Remove the bootstrap-rtld target which wasn't needed.
Install the rest of the legacy libraries (like libgcc.a, libl.a).

Add games to the user's path to avoid the temptation for people to
hack paths to unsuitable tools.
1998-09-21 08:55:50 +00:00
jb
6d2022482f I danced with the devil and found the needle in the haystack!
Remove the /usr/bin path to ranlib and just let the build environment
set the path. Running an aout version of ranlib on an elf library
is something we'd prefer not to do. I'm surprised that the build
didn't spit any errors when it did this. Shrug.
1998-09-21 08:44:24 +00:00
obrien
14d606547b Makefile.inc was conditionally setting vars already set by bsd.own.mk
which is read before tip's own Makefile is.  Move those varables here
where they will do some good.
1998-09-21 08:41:35 +00:00
roberto
b65a162445 Fix bad option processing.
PR:		bin/7986
Submitted by:	Dan Nelson <dnelson@emsphone.com>
1998-09-21 07:47:53 +00:00
bde
bece27a057 Fixed missing dependencies of genassym.o, gensetdefs.o and vers.o
on opt_global.h.  This actually matters for genassym.o (it depends
on at least SMP).

Don't undefine KERNEL for compiling genassym.c.  genassym.o really
depends on KERNEL, and the prototype mismatches that required
undefining KERNEL in rev.1.49 no longer exist.

Compile gensetdefs* with the same flags as genassym*.  External
`gen' programs such linux_genassym should also use these flags
(${GEN_CFLAGS}).

Fixed missing dependency generation for gensetdefs.o.  C sources
for external `gen' programs should be added to GEN_CFILES to get
their dependencies generated.

Cleaned up flags definitions and use.  All of ${CFLAGS} is now
passed to mkdep and the assembler (both are actually variants of
${CC} and will ignore the irrelevant flags).
1998-09-21 06:39:11 +00:00
jkh
17155df940 Include "stand.h", not <stand.h>. 1998-09-21 06:07:34 +00:00
bde
f3efd6cf74 Clean aicasm's lex and yacc generated source files. 1998-09-21 04:41:11 +00:00
bde
b973f78b94 Don't declare functions without a prototype if KERNEL is defined. This
fixes lots of warnings about missing prototypes in sys/netatm/spans/*.
1998-09-21 02:43:30 +00:00
gibbs
5548dbb67b Remove unused variables and functions.
In the rejected message handler, it was possible for us to confuse a
rejected SDTR or WDTR for a rejected tag.
1998-09-20 23:30:14 +00:00
ken
2d9bbf7ec7 Alpha patches for the NCR driver from Doug Rabson. I've tested these on an
NCR 810a, and they seem to work fine on the i386 as well.

Reviewed by:	gibbs
Submitted by:	dfr
1998-09-20 22:54:28 +00:00
ken
dafd644ddd Some fixes to the CD driver that may fix PR kern/7996. The data direction
flags on some of the operations in the driver weren't quite right.  Also,
clean up scsi_cd.h, change u_char to u_int8_t.

I'm surprised this problem didn't show up sooner.  (the code has been in
there almost a year and a half)

PR:		        7996
Reviewed by:	        ken
Submitted (mostly) by:	gibbs
1998-09-20 22:48:15 +00:00
dfr
00428fddff Make the alpha bootstrap build again, fix some warning and change sdboot to daboot. 1998-09-20 21:46:19 +00:00
dfr
48b3e54701 Allocate disk buffers using a custom allocator. The standard allocator fragments
extremely badly if disk buffers are freed back into the main heap and the alpha
bootstrap has a restricted address space which just ran out :-(.
1998-09-20 21:42:20 +00:00
dfr
0c4d54326b Use a simple version of inet_ntoa(). The libc one uses inet_ntop which is too
complicated.
1998-09-20 21:40:28 +00:00
bde
c29de40a95 Install using ${INSTALL}, not using `install'. 1998-09-20 21:38:12 +00:00
bde
449f0bccf8 Attempt to work around a bug in the previous commit related to
non-reentrancy of SMP clock locking.  Depend on the giant lock
protecting clkintr().
1998-09-20 19:56:28 +00:00
obrien
10a29b9e34 Change lib specification in `clean' target to match ELF shared libs too.
Reported by:	Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1998-09-20 19:49:44 +00:00
sos
4aef6597d4 Put the right path on the devices.
Submitted by:	 Vanilla Pooh Shu <vanilla@oneway.net>
1998-09-20 18:49:04 +00:00
nsouch
c4a23d19fd vpo now compiles with CAM, #!CAM# removed. 1998-09-20 17:15:25 +00:00
dt
17588de453 Fix precedence bug, so that kernel dump works. 1998-09-20 16:50:31 +00:00
nsouch
0e19e3a6a4 - program counter was previously an index in the microsequence, now pc
is struct ppb_microseq* pointing directly into the microsequence
1998-09-20 14:47:01 +00:00
nsouch
34fce195d8 - port of vpo code to CAM
- ppbus was released before checking if still in disk_mode by vpoio and immio:
  the microseq (in_disk_mode) was never executed. Fixed.

- nlptintr() renamed to nlpt_intr(). spltty() inserted in nlptintr() before
  nlpt_intr() call
1998-09-20 14:41:54 +00:00
kato
a76c8c6ae1 Sync with sys/i386/isa/clock.c revision 1.126. 1998-09-20 10:51:57 +00:00
kato
3b8daf2049 Sync with sys/i386/conf/files.i386 revision 1.205. 1998-09-20 10:50:18 +00:00