Commit Graph

31780 Commits

Author SHA1 Message Date
ken
736ef9bc85 Fix some error message format problems in checkversion() and getversion().
Reported By: bde
1998-09-18 02:35:25 +00:00
msmith
c4d753268c Enable the biosdisk driver, duplicate -lstand as it both calls and is called
by the i386 platform library.
1998-09-18 02:03:30 +00:00
msmith
225ddd2fb1 Synch with development version. Compiles and opens but doesn't work yet. 1998-09-18 02:02:33 +00:00
msmith
ef33b3f094 Remove 'panic' command (it works), don't ask for a keypress in panic, as
exit() does.  Perhaps it shouldn't?
1998-09-18 02:01:38 +00:00
msmith
757180a4cf We lost all the files in crt/, so define the BIOS sector size here instead. 1998-09-18 01:12:46 +00:00
msmith
1f22597a12 Use a.out.h to get all the correct bits in one place. 1998-09-18 01:12:23 +00:00
mjacob
4cc465448d (requested by gibbs) Remove the SCSI_CAM option (and rework the isp driver
that had depended on it for compilation within or without CAM to use
__FreeBSD_version instead).
1998-09-18 00:46:42 +00:00
msmith
0cf3eaddd6 Oops, missed these. Machine-independant ISA PnP enumerator. 1998-09-18 00:24:25 +00:00
ken
83f2fc189d Move SCSI_DELAY and SCSI_CAM from the undocumented options section to the
CAM options section.

Document that SCSI_DELAY is in milliseconds, not seconds.

Tell users that SCSI_CAM is only needed if you've got the QLogic driver in
your kernel.

Reviewed by:	gibbs
1998-09-18 00:01:39 +00:00
ken
c12adeeff2 Fix a formatting error.
Fix a problem reported by bde:  setting SCSI_DELAY to 0 doesn't work.  Now,
when the user sets SCSI_DELAY to 0, we re-set it to the minimum allowable
bus settle delay (100ms).

Fix a potential panic in xptfinishconfigfunc() if the CCB passed in is
NULL.  Reported by, I think, Nicolas Souchu.  Fix a memory leak in the same
function (we created a path, but didn't free it) by allocating the getdev
CCB and path on the stack.

Reviewed by:	gibbs
1998-09-17 23:58:53 +00:00
msmith
f0b5ddae6f Initial integration of the i386 bootloader and BTX.
- Discard large amounts of BIOS-related code in favour of the more compact
   BTX vm86 interface.
 - Build the loader module as ELF, although the resulting object is a.out,
   make gensetdefs 32/64-bit sensitive and use a single copy of it.
 - Throw away installboot, as it's no longer required.
 - Use direct bcopy operations in the i386_copy module, as BTX
   maps the first 16M of memory.  Check operations against the
   detected size of actual memory.
1998-09-17 23:52:16 +00:00
mjacob
00163848c1 per bde (who is right about this) that an inlined fucntion with const
char * strings being returned defined in a header file included several
places but only used in one module, is, uh, silly.
1998-09-17 23:20:29 +00:00
mjacob
cbc05032bc Cleanliness. Don't leave defined a const char array that's only used
if target mode is defined (which it isn't, yet).
1998-09-17 22:53:35 +00:00
gibbs
9784d6e143 Really correct ncr_freeze_devq now. We scan backwards from the current
insertion point into the start queue looking for entries to remove and
mark them with the 'skip' address, recording the entry furthest from the
insertion point that needs to be removed.  We then go through a second
loop starting at the furthest entry to be removed and compress the start
queue.  The old algorithm started at (old insert point + 1) and wrapped
through the whole queue which would end up moving the start position in
the queue out from under the nose of the scrip processor.
1998-09-17 22:29:02 +00:00
msmith
23bdbca2d4 Add support for glibc consumers using the new ld-linux.so.2 linker.
I can't say this was the most inspired fix, but it matches the design OK.
1998-09-17 22:08:34 +00:00
nsouch
5fb94b7685 vpo comments updated for cam, nlpt suggested instead of lpt 1998-09-17 21:54:17 +00:00
mjacob
2b203e82ec A major amount of cleaning up:
+ Change some messages about CCB memory allocation
	+ Turn a failure to DMA map all of a transaction due to lack of
	  ISP queue entries into a requeue operation (instead of the
	  case where it had been treated the same as a DMA too big
	  operation).
	+ put back splsoftvm around bus_dmamap_load calls.
	+ cleanup (and fix a glaring bug) in the and of the dma setup
	  routine. Also, the dma setup routines either return CMD_QUEUED
	  (for success) or CMD_COMPLETE (for failure) or CMD_EAGAIN
	  (for requeuing for resource shortage reasons).
1998-09-17 21:11:21 +00:00
mjacob
45723eb957 Clean up a comment. Make the default debugging level contingent upon CAMDEBUG. 1998-09-17 21:06:38 +00:00
mjacob
1f41f720c7 Remove commented out and no longer pertinent EAGAIN message. Redo CMD_COMPLETE
logic for returns from inner layer (just make sure that a CAM_REQ_INPROG
doesn't get xpt_done'd).
1998-09-17 21:05:40 +00:00
mjacob
4d3cd8e51f ISP_DMASETUP now returns a value to be possibly punted to outer layers.
Turn request queue overflow messages into debug messages. Ensure on
isp_restarts that we nullify the xflist array.
1998-09-17 21:03:45 +00:00
mjacob
9dad24d2f6 Roll revision, clean up a comment. 1998-09-17 21:02:18 +00:00
imp
2405040f08 Prevent buffer overflow with extra long arguments. 1998-09-17 20:18:11 +00:00
obrien
910640d3d7 Build headers with -DWANT_NFS3.
(finishing up on Amd upgrade)
1998-09-17 19:51:40 +00:00
sos
34a7bb526b Fix the sreensavers so the work again with the new syscons & friends.
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-09-17 19:40:30 +00:00
rnordier
890cb330a4 Correct description of get_diskinfo result. 1998-09-17 18:43:18 +00:00
fenner
f32632b69e Fix the bind security fix introduced in rev 1.38 to work with multicast:
- Don't bother checking for conflicting sockets if we're binding to a
  multicast address.
- Don't return an error if we're binding to INADDR_ANY, the conflicting
  socket is bound to INADDR_ANY, and the conflicting socket has SO_REUSEPORT
  set.

PR:		kern/7713
1998-09-17 18:42:16 +00:00
dt
5111fddb49 Fix typo: s/;/:/
PR:		conf/7964
PR:		conf/7966
Submitted by:	Zach Heilig <zach@gaffaneys.com>
Submitted by:	Jos Backus <Jos.Backus@nl.origin-it.com>
1998-09-17 17:02:39 +00:00
andreas
57f67dbf4d Purely cosmetic but useful change.
Make output of make world more readable for grep. Now a
	grep '>>>' world.log
shows you the single stages through which the bootstrap
process went as discussed on -current. Could be used to
debug the bootstrap mechanism in case of trouble more
easily. Would be fine if any further @echo "..." messages
containing a description, what's going on, could use the
new format: @echo ">>> ..."
1998-09-17 16:32:00 +00:00
ken
23704f1928 Page control field values go from 0-3, not 1-4.
Reported by: Tony Maher <tonym@angis.usyd.edu.au> on -current
1998-09-17 16:12:30 +00:00
kato
3d5822f8cf Sync with sys/i386/i386/userconfig.c revision 1.109. 1998-09-17 13:14:14 +00:00
jkh
c37a0247ce MF22: Robert Swindells' patch for correct probing of more AMD cards.
Merged by:	Max Khon <fjoe@iclub.nsu.ru>
1998-09-17 13:09:16 +00:00
jkh
db40924c43 This goes in doc distribution now. 1998-09-17 11:35:11 +00:00
jkh
146cd3c946 Temporary hacks to get releases working again:
o Remove MSDOSFS until I find some other way of gaining some space.
	  This *totally disables* the use of DOS partitions in installation
	  so it's truly just a temporary measure.

	o Set NODOC=YES since docs are broken right now (they try and install
	  into the bindist rather than the docdist - need to figure out why).
1998-09-17 11:25:48 +00:00
dwhite
d990bbc531 Typo: hittab -> hitab 1998-09-17 09:51:15 +00:00
dfr
a1160c9857 Merge with the latest i386 syscons. 1998-09-17 09:38:36 +00:00
dfr
271727741c Fix printf format errors. 1998-09-17 09:35:31 +00:00
phk
231bd37d3c Two patches from the HARP people:
Various Makefile related fixes.

-Wformat fixes.

Submitted by:	Mike Spengler <mks@networkcs.com>
1998-09-17 09:35:02 +00:00
phk
399a16928f s/the the/to the/
PR:		7922
Reviewed by:	phk
Submitted by:	Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>
1998-09-17 08:56:03 +00:00
dfr
055b24be16 Don't build ncrcontrol on alpha, its obsoleted by cam. 1998-09-17 08:55:02 +00:00
phk
491bbc1427 Don't expect /usr/games in the path.
Avoid using /usr/games versions if we can find what we need (caesar & strfile)
in the buildtree.

PR:		7936
Submitted by:	Achim Patzner <ap@noses.com>
1998-09-17 08:52:40 +00:00
phk
35ddf969aa s/yellow pages/NIS/
PR:		7949
Reviewed by:	phk
Submitted by:	Norihiro Kumagai <kuma@jp.freebsd.org>
1998-09-17 08:29:16 +00:00
ken
76b1945eae Fix a typo. "Primay" -> "Primary" 1998-09-17 05:10:23 +00:00
gibbs
aa26a3f9c4 dpt.h has moved back to sys/dev/dpt. The dpt ioctl interface will be
properly separated out from what is currently a header file filled with
lots of data mostly of interest to the kernel driver, and
placed in the proper location at that time.
1998-09-17 03:58:58 +00:00
gibbs
2f89383ae4 libscsi is obsoleted by CAM. 1998-09-17 03:56:23 +00:00
gibbs
81c6c44768 Obsoleted by CAM. 1998-09-17 03:54:31 +00:00
msmith
2a572f9e32 Mark the syscons and pcvt drivers as being allowed to conflict, so that
well-meaning but uneducated users don't exterminate the psm driver in
their zeal to achieve zero conflicts.
1998-09-17 03:15:30 +00:00
asami
f98d75eac3 Yikes, put .endif in wrong place. 1998-09-17 01:22:05 +00:00
asami
f1f961d057 Remove shlib minor if PORTOBJFORMAT=elf. 1998-09-17 01:00:23 +00:00
brian
3c58471f49 Sync with OpenBSD ifdefs 1998-09-17 00:45:27 +00:00
brian
12e6bdcc2c Alphabeticalize SEE ALSO section. 1998-09-17 00:45:12 +00:00