Commit Graph

67152 Commits

Author SHA1 Message Date
knu
959d37723b Oops sorry, forgot to add a #include. 2001-11-19 20:15:10 +00:00
knu
0fe2ba5388 - Do not reference argv[1] if no argument is given.
Reported by:	brian

- Call error() instead of errx() if compiled as sh(1) builtin.
2001-11-19 19:57:45 +00:00
dwmalone
9a6b4717f3 In the "UseLogin yes" case we need env to be NULL to make sure it
will be correctly initialised.

PR:		32065
Tested by:	The Anarcat <anarcat@anarcat.dyndns.org>
MFC after:	3 days
2001-11-19 19:40:14 +00:00
sumikawa
4410530efb Support MELCO LUA2-TX USB ethernet adaptor.
Actually this porting supports Pegasus II chip so I guess some other
devices supported by NetBSD also work.  But the devices list are not
included because I cannot confirm if they work.

Obtained from:	NetBSD
MFC after:	3 weeks
2001-11-19 18:47:49 +00:00
sumikawa
c48e058b80 Regen. 2001-11-19 18:41:35 +00:00
sumikawa
ed7158eb9d Add Melco LUA2-TX5. 2001-11-19 18:40:17 +00:00
green
c26fb27173 Add module "lomac" to the modules Makefile, i386 section. If someone on
Alpha can verify that it compiles fine there, too, this should be moved
to the MI section (or that problem fixed); I've only had x86 hardware to
est with.

Sponsored by:	DARPA, NAI Labs (CBOSS project)
2001-11-19 18:15:12 +00:00
green
0683ba3919 Depend on vnode_if.h. 2001-11-19 18:12:46 +00:00
green
9f97a8ad86 Use appropriaate include path for syscall_gate.h 2001-11-19 18:12:12 +00:00
joe
62608b407f Cull picobsd/custom. It's bit rotted beyond all recognition.
Approved by:	freebsd-small
2001-11-19 18:04:04 +00:00
obrien
bfb2f48058 Add the CVS knob so it may be overridden (or have options added).
Submitted by:	Andrea Campi <andrea@webcom.it>
2001-11-19 17:43:29 +00:00
obrien
7a00c069a1 Upper case the FreeBSD loader prompt.
On OFW based machines, it is just too confusing having the firmware and
OS loader giving the same prompt.  This is a nice compromise that 99% of the
users on non-OFW platforms will probably not even notice.
2001-11-19 17:30:26 +00:00
iedowse
a7c89cf1a8 Deal with a few issues that cropped up following the recent changes
to the code for translating socket and private ioctls:

- Only perform socket ioctl translation if the file descriptor is a
  socket.
- Treat socket ioctls on non-sockets specially, and for now assume
  that these are directed at a tap/vmnet device, so translate the
  ioctl numbers as appropriate (the way if_tap abuses some socket
  ioctls to pass non-ifreq data is utterly bogus, but this is how
  VMware on FreeBSD has always "worked"; I will deal with this
  later).
- Add (untested) support for translating SIOCSIFADDR.
- In all cases where we fail to translate an ioctl, return ENOIOCTL
  so that other handlers have a chance to do the translation.

This should fix the "/dev/vmnet1: Invalid argument" errors that
users of VMware were experiencing, though I have only verified this
on RELENG_4.

Submitted by:	des (mostly)
MFC after:	3 days
2001-11-19 15:43:50 +00:00
rwatson
a9c3d65330 #include <sys/user.h> rather than individually including a plethora
of kernel include files, reducing the replication of kernel include
dependency information in userland.

Obtained from:	TrustedBSD Project
2001-11-19 15:26:36 +00:00
matusita
d9139c0d02 Add fsck tool for UFS to /stand tools (again).
Actually src/release/i386/boot_crunch.conf rev 1.45 does this change,
but unfortunately there is no src/sbin/fsck_4.2bsd directory, but
src/sbin/fsck_ffs.

This commit replaces 'fsck_4.2bsd' to 'fsck_ffs', and add a link to
'fsck_4.2bsd' and 'fsck_ufs'.  Note that 4-stable's fsck(8) have an
ability of fsck_ffs also, there is no need to MFC at least now.

Tested only for: i386 (but I believe this doesn't break for other archs)
2001-11-19 14:43:29 +00:00
hm
ce75de225a Close files only if the fp is != NULL.
PR:		bin/31913
Submitted by:	Harald Hanche-Olsen <hanche@math.ntnu.no>
Reviewed by:	hm
MFC after:	1 week
2001-11-19 14:19:21 +00:00
sheldonh
229073ca49 Use shell functions for printing hex instead of printf(1) so that
printf(1) can be dropped from the system shell as a shell builtin.
2001-11-19 11:41:51 +00:00
ru
b7f75f85b5 Apply README style guidelines (this time checked). 2001-11-19 10:10:27 +00:00
sobomax
23105d4979 Make kevents on pipes work as described in the manpage - when the last
reader/writer disconnects, ensure that anybody who is waiting for the
kevent on the other end of the pipe gets EV_EOF.

MFC after:	2 weeks
2001-11-19 09:25:30 +00:00
murray
31d89aa48d Fix two minor grammar mistakes.
PR:           docs/32083
Submitted by: setantae@submonkey.net
2001-11-19 09:01:43 +00:00
murray
56252b5cc7 Add a missing word to form a complete sentence.
PR:           docs/32084
Submitted by: setantae@submonkey.net
2001-11-19 08:35:59 +00:00
murray
638dcc63b2 Remove a duplicate word.
PR:           docs/32087
Submitted by: setantae@submonkey.net
MFC After:    2 days
2001-11-19 08:20:24 +00:00
murray
fb660d461e Use .Nm to correctly display the program name.
PR:           docs/32086
Submitted by: setantae@submonkey.net
MFC After:    2 days
2001-11-19 08:12:17 +00:00
peter
df3c6b2638 s/code/ucode/ (last minute typo) 2001-11-19 08:06:56 +00:00
peter
c7b37ae485 Initial cut at calling the EFI-provided FPSWA (Floating Point Software
Assist) driver to handle the "messy" floating point cases which
cause traps to the kernel for handling.
2001-11-19 07:25:42 +00:00
kuriyama
06e76c4e5c Add support for Intel's i820/i840/i845/i850/i860 chipset.
Submitted by:	nork@cityfujisawa.ne.jp (Norikatsu Shigemura)
2001-11-19 07:15:45 +00:00
peter
b866d91337 Lookup the EFI_FPSWA driver and pass the interface pointer through to the
kernel before we call ExitBootServices().  I've typed the definitions
in efifpswa.h from the Intel FPSWA manual (urk).
2001-11-19 07:09:47 +00:00
peter
e5a267af19 Use some (now) spare space for passing through a pointer to the FPSWA
Interface provided by EFI (Floating Point SoftWare Assist).
2001-11-19 07:07:09 +00:00
peter
40fe009adb Remove bootinfo.bi_kernel. It isn't used by the kernel. struct bootinfo
should go away on ia64, we should be loader metadata based since that is
the only way we can boot (loader, skiload).
2001-11-19 07:05:10 +00:00
peter
536bf9b42b Fix a dependency violation, same as in libefi/elf_freebsd.c a while back. 2001-11-19 06:59:53 +00:00
peter
58087902a2 This is used in C, not C++. functions with no args have func(void) in our
kernel.
2001-11-19 06:58:14 +00:00
imp
24ee2193e0 Add NEWCARD support to awi.
Devices obtained from NetBSD (+ zoom air 4000, which I added).
2001-11-19 06:42:11 +00:00
imp
4366b7327e Create a module for awi. 2001-11-19 06:41:04 +00:00
imp
3b062a2907 Update to 1.23 pccarddevs 2001-11-19 06:28:20 +00:00
imp
c81de63164 Add ZOOM as one of the bgous vendors 2001-11-19 06:27:33 +00:00
imp
25aa995bfb Add Linksys Instant Wireless Network PC Card from NetBSD 2001-11-19 05:34:55 +00:00
imp
2f8016404c Update to 1.22 pccarddevs 2001-11-19 05:22:46 +00:00
imp
4d30d470db Nits to make it whitespace compatible with what I'm about to commit to NetBSD 2001-11-19 05:22:28 +00:00
imp
18df5bf636 Update to 1.21 pccarddevs 2001-11-19 05:11:50 +00:00
imp
15c4a90ac4 Merge NetBSD 1.146: Linksys Instant Wireless Network card.
Obtained From: NetBSD
2001-11-19 05:11:35 +00:00
green
dc8e2b7584 Install LOMAC public headers.
Sponsored by:	DARPA, NAI Labs (CBOSS project)
2001-11-19 05:10:50 +00:00
green
08da8e602d Add module compile framework for LOMAC.
Sponsored by:	DARPA, NAI Labs (CBOSS project)
2001-11-19 05:09:14 +00:00
imp
aed28d261d Update to 1.20 pccarddevs 2001-11-19 05:04:08 +00:00
imp
9dec539715 Merge NetBSD 1.145: Xircom XE2000 2001-11-19 05:02:55 +00:00
green
0b7514598b Fix a license and change $Id$s to $FreeBSD$s.
Obtained from:	DARPA, NAI Labs (CBOSS project)
2001-11-19 04:56:36 +00:00
green
3c60bdcdca This commit was generated by cvs2svn to compensate for changes in r86567,
which included commits to RCS files with non-trunk default branches.
2001-11-19 04:50:51 +00:00
green
94e2fd5930 Initial import of the LOMAC (Low-Watermark Mandatory Access Control)
module port to FreeBSD.

Obtained from:	NAI Labsx
2001-11-19 04:50:51 +00:00
imp
704847dbeb Avaya Wireless PCCARD
Submitted by: Ants Aader <ants@kernel.ee>
2001-11-19 01:51:40 +00:00
iedowse
003abae276 Hitachi DK32 disks have problems with tagged queuing under load.
PR:		kern/23536
Submitted by:	Y.Amagai <amagai@nue.org>
MFC after:	1 week
2001-11-19 01:19:08 +00:00
dillon
58a458515f cast hashing index to (int)(intptr_t) for calculation.
mtx_init() with MTX_QUIET and MTX_NOWITNESS to avoid bogus warnings
2001-11-19 00:20:36 +00:00