Commit Graph

48485 Commits

Author SHA1 Message Date
n_hibma
f410042455 Add a comment to deconfuse a few lines of code I've tripped over two
times now.
2000-05-12 23:42:06 +00:00
n_hibma
d47dff9321 Mention that each criterium can only be used once. 2000-05-12 23:36:38 +00:00
peter
5e99e25b75 Install the bootforth config files for the Alpha too. loader.conf should
be functional now.
2000-05-12 23:22:09 +00:00
obrien
47463c5145 This commit was generated by cvs2svn to compensate for changes in r60484,
which included commits to RCS files with non-trunk default branches.
2000-05-12 23:15:20 +00:00
obrien
2a9ea95d68 Import of Binutils 2.10 snapshot. 2000-05-12 23:15:20 +00:00
obrien
8cd37d7556 Use a alternate side 2.9.1 source tree while upgrading Binutils. 2000-05-12 22:55:23 +00:00
peter
9d2eea8313 Reactivate the FICL hooks to make it be compiled in, but also initialize
FICL.  bootforth is now live on the Alpha!

**BEWARE** - you *MUST* build and install a current libstand or you will
most likely get zfree() panics at loader startup.

We should now be able to set up the loader.conf stuff on the Alpha too.
2000-05-12 22:45:16 +00:00
peter
a07fee2cdf Fix the real problem that broke the Alpha loader this last week. It
was not the fault of the module code, nor FICL.  The malloc code requires
sbrk() to return addresses that were at least 16 byte aligned.  If the
Alpha loader happened to be 8 byte but not 16 byte aligned in length, then
you would get a zfree() panic at startup.

Incidently, this affected the i386 loader as well, and explains why
the static heap changed things and why jlemon had trouble when the bss
was not ending at a multiple of 8 bytes.

My fix is to 16 byte align it on all arches, even though the x86 version
only required 8 byte alignment (struct MemNode is smaller there).  We could
page align it if we wanted to be paranoid, but it isn't presently necessary.
2000-05-12 22:43:20 +00:00
peter
b9125258de Stop libficl from using floating point registers - this was cauing
dictDelete() to fault early on the Alpha and was the original cause of
the Alpha ficl failures.
2000-05-12 21:51:20 +00:00
peter
0f1968a738 We compile expressly on the alpha with -mno-fp-regs - so do not use them
explicitly here. This was the original cause of instruction faults on
the Alpha in loader. (not this code, but the same problem in libficl.a)
2000-05-12 21:48:54 +00:00
chris
fda97442c1 Null commit:
The log entry for the previous commit marked an item
  relating to filling in [mca]time data for socket structures
  as related to FIFOs.  The change is actually related
  to sockets.
2000-05-12 20:52:50 +00:00
hoek
a61f15f801 Backout previous commit to this file: it dies in buildworld environment.
I probably forgot to put an ${.OBJDIR} somewhere.  I'll redo the change
later when I get a chance to test that thesis.
2000-05-12 18:10:17 +00:00
jlemon
f9c4871a62 This driver attempts to cache mbufs, and re-use them as headers instead
of using the MGETHDR macro all the time.  When an mbuf is reused as a
header, initialize csum_flags to zero as well, so the delayed_checksum
call woks properly.

Debbugging work done by: jmas
2000-05-12 16:48:59 +00:00
asmodai
904f94ecca Fix comment typo.
Submitted by:	nrahlstr
2000-05-12 16:06:49 +00:00
paul
c179fa5070 Correct duplicate use of word "been" in a sentence. 2000-05-12 15:31:54 +00:00
nyan
cff267bc0f Use bus_space stuff except where it needs high performance. 2000-05-12 12:38:25 +00:00
nyan
0dcfdccf0d Use bus_space stuff except where it needs high performance.
Reviewed by:	bde
2000-05-12 12:37:28 +00:00
phantom
f3a1d31938 Fix typo
Spoted by:	bde
2000-05-12 10:50:04 +00:00
phantom
de0ca848a1 mdoc related fixes:
. synchronize NAME and SYNOPSIS sections
. replace .Ev macros with .Dv / .Er / .Em macros  as mdoc(7)
  specification declare
2000-05-12 10:22:50 +00:00
phantom
cbc680edb7 . fix .Dt macro argument
. spell inet6_rthdr_reverse correctly
2000-05-12 10:07:31 +00:00
phantom
8c193b4282 add MLINKS: pthread_testcancel(3) -> pthread_setcanceltype(3) 2000-05-12 09:59:44 +00:00
phantom
933595a496 . insert forgotten by someone "Space Mode on" directive. It caused displaying
of all macros placed after FILES section w/o any space characters.
. slightly correct usage of .An macros.
2000-05-12 09:10:40 +00:00
phantom
14616a0a5c Place $FreeBSD$ tag to correct location (bottom of the copyright) 2000-05-12 08:37:08 +00:00
phantom
a380851e9e Fix driver source location path (/sys/i386/isa/fd.c -> /sys/isa/fd.c) 2000-05-12 08:36:36 +00:00
phantom
ed30cb11a7 Use .An macro for declare Authors Name in AUTHORS section 2000-05-12 08:32:56 +00:00
phantom
5c85b197fc Add MLINKS: scsi.4 -> SCSI.4, scsi.4 -> CAM.4 2000-05-12 08:32:09 +00:00
phantom
dfc1583802 . replace CONFIGURATION section name with SYNOPSYS as mdoc(7) style declare.
. remove redundant paragraph breaks.
. fix typo (.Sj -> .Sh)
2000-05-12 08:30:58 +00:00
phantom
1edae0ae5e Properly mdoc'ify this manual page: remove all direct troff formating
directives, apply correct mdoc(7) Blocks and Lists formatting.
2000-05-12 08:28:01 +00:00
phantom
b963d2798f Add MLINKS: bktr.4 -> booktree.4 2000-05-12 08:14:11 +00:00
phantom
079ff4176c Remove osolete reference to eg(4), properly use mdoc macro `.Nm' 2000-05-12 08:10:22 +00:00
phantom
b1bd5e2cc7 Add MLINKS for all macros decribed in queue.3 manpage. 2000-05-12 07:58:37 +00:00
peter
4cb8d8848e Fix the Alpha loader the rest of the way. If FICL is present in
/boot/loader (even though it is 100% dormant in the Alpha version),
then the loader panics with a zfree error:Loading /boot/loader.test
  *** keyboard not plugged in...
  Console: SRM firmware console
  panic: zfree(0x2003cb58,4096): wild pointer
versus the exact same code but without FICL linked in:
  Loading /boot/loader
  Console: SRM firmware console
  VMS PAL rev: 0x1000600010114
  OSF PAL rev: 0x1000600020116
  Switch to OSF PAL code succeeded.

  FreeBSD/alpha SRM disk boot, Revision 0.1

This is almost certainly an alpha infrastructure bug, not a FICL
problem.  It's probably the same thing that made FICL fail for no
apparent reason on the Alpha.
2000-05-12 07:47:47 +00:00
bp
7153c35d2e long != int on Alphas. 2000-05-12 05:16:37 +00:00
hoek
37a80cf698 Improve hack from previous commit to this file: exit if we get successive
EOFs from reading stderr (eg. not from argv[1]).
2000-05-12 04:04:27 +00:00
hoek
d2117fd239 Use termcap(5) function key sequences rather than hardcoding for syscons.
Now page-up/down work from xterms.
2000-05-12 04:02:13 +00:00
hoek
c63e37b76a Create magic variables that return termcap(5) strings for function keys. 2000-05-12 04:00:23 +00:00
hoek
229d753306 Fix an uncommon bug that would cause us to stop accepting input if the
user entered a command that filled exactly the remaining screen width.
2000-05-12 03:53:38 +00:00
hoek
b0b1d15686 Only main.c depends on defrc.h 2000-05-12 03:52:03 +00:00
ken
d8f1e148f1 Add support for the DVD ioctl interface. 2000-05-12 03:36:02 +00:00
bsd
6243435532 Actually accept 'm' as a PAGER query response to mean 'more'. 2000-05-12 03:09:57 +00:00
jhb
85d951933f Turn on USB support for most USB devices. udbp is not turned on since
NETGRAPH is not present in GENERIC at the moment.  Also, change some
settings to support USB installs:

- Add KBD_INSTALL_CDEV as an option to make /dev/kbd[01] actually work.
- Turn on keyboard probing in sc0.  The syscons driver will now use a
  flag documented in ukbd(4) but not in sc(4) that tells syscons to
  actively search for a keyboard device if none is found.  This allows
  USB keyboards to just be plugged in and instantly start working.
- Require the atkbd0 driver to actually probe to see if a keyboard is
  there.  This allows USB keyboards to be seen by sc0 if an AT keyboard
  isn't plugged into the computer.  This also means that you will no
  longer be able to plug an AT keyboard into a machine after it has
  booted a GENERIC kernel and use it.  AT keyboards aren't designed for
  this anyway.  USB keyboards are designed for this, and they work.
2000-05-12 03:05:35 +00:00
wollman
198f09c649 Give mtree the ability to exclude files and directories from its traversal.
PR:		16944
2000-05-12 03:03:00 +00:00
jhb
1ec3688bd0 Add support for USB to sysinstall. This includes running usbd and
setting 'usbd_enable' in rc.conf during nwe installs if USB is detected.
Also, since usbd already handles USB mice automatically, note that the
mouse setup section in sysinstall only applies to non-USB mice.
2000-05-12 03:01:17 +00:00
jhb
c97d9a50e8 Add USB devices to /dev on the install floppy.
Add usbd.conf to /etc on the install floppy.
2000-05-12 02:58:59 +00:00
jhb
6cc70bce3a Add usbd and usbdevs to the install floppy in /stand. 2000-05-12 02:57:56 +00:00
jhb
340c567fdf Add kbd1 to MAKEDEV's all) target so that we support using kbdcontrol
to switch keyboards out of the box.
2000-05-12 02:56:31 +00:00
ache
40f1deb4aa Better fix for strftime/mktime bug, now more compatible since local timezone
name and offset restored for compatibility with standard perl
2000-05-11 23:49:13 +00:00
murray
de093b7d98 Fixed small bug introduced in my last commit.
Approved by:	jkh
2000-05-11 23:43:12 +00:00
jayanth
eff95a482d Temporarily turn off the newreno flag until we can track down the known
data corruption problem.
2000-05-11 22:28:28 +00:00
chris
8fd137c6b5 Document the `new' fdesc--now that it belongs only on /dev/fd, remove all
non-/dev/fd related documentation (such as that for stdin, stdout, tty).

Update the fstab line to refer to /dev/fd instead of /dev.
2000-05-11 22:20:23 +00:00