Commit Graph

48541 Commits

Author SHA1 Message Date
Chris Costello
2a689d490c 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
Tim Vanderhoek
4795f6d5cd 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
Jonathan Lemon
c9e55fc6d1 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
Jeroen Ruigrok van der Werven
37d90a44af Fix comment typo.
Submitted by:	nrahlstr
2000-05-12 16:06:49 +00:00
Paul Richards
1c7d91744e Correct duplicate use of word "been" in a sentence. 2000-05-12 15:31:54 +00:00
Yoshihiro Takahashi
0f90341e15 Use bus_space stuff except where it needs high performance. 2000-05-12 12:38:25 +00:00
Yoshihiro Takahashi
bb7d754339 Use bus_space stuff except where it needs high performance.
Reviewed by:	bde
2000-05-12 12:37:28 +00:00
Alexey Zelkin
ec7b386bd7 Fix typo
Spoted by:	bde
2000-05-12 10:50:04 +00:00
Alexey Zelkin
314c685440 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
Alexey Zelkin
cdbbbfa4fb . fix .Dt macro argument
. spell inet6_rthdr_reverse correctly
2000-05-12 10:07:31 +00:00
Alexey Zelkin
0543309637 add MLINKS: pthread_testcancel(3) -> pthread_setcanceltype(3) 2000-05-12 09:59:44 +00:00
Alexey Zelkin
547be285ff . 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
Alexey Zelkin
4e8867b96e Place $FreeBSD$ tag to correct location (bottom of the copyright) 2000-05-12 08:37:08 +00:00
Alexey Zelkin
7a7ec99e11 Fix driver source location path (/sys/i386/isa/fd.c -> /sys/isa/fd.c) 2000-05-12 08:36:36 +00:00
Alexey Zelkin
2865e1d51a Use .An macro for declare Authors Name in AUTHORS section 2000-05-12 08:32:56 +00:00
Alexey Zelkin
cb4f041e3f Add MLINKS: scsi.4 -> SCSI.4, scsi.4 -> CAM.4 2000-05-12 08:32:09 +00:00
Alexey Zelkin
9541d9c0b3 . 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
Alexey Zelkin
a95fa6b5e8 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
Alexey Zelkin
e2325e1954 Add MLINKS: bktr.4 -> booktree.4 2000-05-12 08:14:11 +00:00
Alexey Zelkin
f2a90ca5a3 Remove osolete reference to eg(4), properly use mdoc macro `.Nm' 2000-05-12 08:10:22 +00:00
Alexey Zelkin
f8316c1042 Add MLINKS for all macros decribed in queue.3 manpage. 2000-05-12 07:58:37 +00:00
Peter Wemm
fa139a1ac3 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
Boris Popov
cf448cb2c9 long != int on Alphas. 2000-05-12 05:16:37 +00:00
Tim Vanderhoek
d5a2fca477 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
Tim Vanderhoek
b864402b12 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
Tim Vanderhoek
9729c13eee Create magic variables that return termcap(5) strings for function keys. 2000-05-12 04:00:23 +00:00
Tim Vanderhoek
7914f69706 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
Tim Vanderhoek
691009407a Only main.c depends on defrc.h 2000-05-12 03:52:03 +00:00
Kenneth D. Merry
88f25c0840 Add support for the DVD ioctl interface. 2000-05-12 03:36:02 +00:00
Brian S. Dean
c0c9cad1af Actually accept 'm' as a PAGER query response to mean 'more'. 2000-05-12 03:09:57 +00:00
John Baldwin
558d6032c2 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
Garrett Wollman
dc785636aa Give mtree the ability to exclude files and directories from its traversal.
PR:		16944
2000-05-12 03:03:00 +00:00
John Baldwin
9f8b8491c9 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
John Baldwin
fead5c443b 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
John Baldwin
88ecacfeac Add usbd and usbdevs to the install floppy in /stand. 2000-05-12 02:57:56 +00:00
John Baldwin
83f9061201 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
Andrey A. Chernov
738988c182 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 Stokely
0f32c069d9 Fixed small bug introduced in my last commit.
Approved by:	jkh
2000-05-11 23:43:12 +00:00
Jayanth Vijayaraghavan
4aae1da6dd 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 Costello
08896eb5ec 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
Chris Costello
38edb6a32f Adapt fdesc to be mounted on /dev/fd and remove fd, stdin, stdout and
stderr nodes.  More specific items of this patch:
  o Removed support for symbolic links, and the need for
    fdesc_readlink().
  o Put all the code from fdesc_attr() into fdesc_getattr() and removed
    fdesc_attr().  This also made it easier to properly give all nodes
    unique inode numbers.
  o The removal of all non-fd nodes allowed the removal of the fdesc_read(),
    fdesc_write(), and fdesc_ioctl() nodes, since we no longer have nodes
    that get special handling.
  o Correct the component name validity-checking in fdesc_lookup().  It
    previously detected the end of the string by checking for a terminating
    NUL, now it uses cnp->cn_namelen.
  o Handle kqueue files as FIFOs.  This is probably the closest file type
    to represent this type of file there is, and it is unfortunately not
    very representative of a kqueue.  Creation time is not supported by
    kqueue, so ctime, mtime and atime are all set to the current time when
    getattr() was called.
  o Also set st_[mca]time to the current time since there's no data in
    socket structures that can be used to fill this in (FIFOs).
  o Simplify fdesc_readdir() since it only has to report the numbered
    fd nodes.  Add `.' and `..' directory links as well.
  o Remove read bits from directories as they tend to confuse programs
    like tar(1).

Reviewed by:	phk
Discussed with:	bde (earlier on, not quite review)
2000-05-11 22:10:51 +00:00
Chris Costello
040fac0bbd Include the UID and GID values filled in by socreate() into socket->so_cred
for stat() calls.

Reviewed by:	phk
2000-05-11 22:08:57 +00:00
Chris Costello
12861d58db Include UID and GID information for stat() calls using the values filled
into the file descriptor data by falloc().

Reviewed by:	phk
2000-05-11 22:08:20 +00:00
John Baldwin
6492f6750d Only display the 'Disable PNP-OS BIOS option' message on the i386 arch.
Alpha's don't have a PNP BIOS option.

Reviewed by:	n_hibma
2000-05-11 20:17:28 +00:00
Nick Sayer
f6c7a9efb8 Small style fix '=' -> ' = ' 2000-05-11 20:15:16 +00:00
Wilko Bulte
be5ff4439f Claim support / explain white-box Alphas.
Obtained from: drew
2000-05-11 18:56:45 +00:00
Duncan Barclay
753c209eb7 Newbusify resource allocation.
Have OLDCARD version of the remapping.

Remove BPF conditionals.

Remove ISA/3.x stuff and add -current stuff.
2000-05-11 18:55:38 +00:00
Duncan Barclay
fa1b5c0246 Remove ISA/3.x stuff and add -current stuff
Use device_printf.
2000-05-11 18:53:50 +00:00
Duncan Barclay
144f532f95 Use device_printf. 2000-05-11 18:53:10 +00:00
Bruce Evans
b72a45a0b5 Fixed a syntax error (a stray semicolon caused by a bogus #define). 2000-05-11 17:10:22 +00:00