Commit Graph

36942 Commits

Author SHA1 Message Date
dt
aa2a8a165f Document pread() and pwrite().
Obtained from:	NetBSD (mostly)
1999-04-11 21:14:40 +00:00
n_hibma
cb5131e1df Syncing with NetBSD version 1998/12/14 1999-04-11 21:03:28 +00:00
n_hibma
6bf6c25391 Make debugging more selective.
Remove debugging options from GENERIC
1999-04-11 20:53:50 +00:00
n_hibma
94f89925ad 1) Make debugging more selective.
2) create function usbd_errstr which turns a usbd_status into a sensible
   error message
3) Change the printf in DPRINTF to logprintf which is a define for
   log(KERN_DEBUG, x)
1999-04-11 20:50:33 +00:00
ache
d844f45590 Remove old locale links conversion stuff 1999-04-11 19:46:36 +00:00
wpaul
8af6010853 Some small updates:
- Wait longer for the reset to complete in xl_attach() to try and avoid
  'command never completed' warnings.

- Clean up a few odds and ends in xl_attach().

- Add PCI ID for the 3c905B-COMBO (a new card). Right now this is
  treated as a 3c905B; I need to dig up one of these cards for testing
  before I can make the AUI and BNC ports work.

- Add a hack to force reading the I/O address directly from the PCI
  registers if pci_map_port() fails. I SHOULD NOT HAVE TO DO THIS:
  SOMEBODY WITH MORE PCI CLUES THAN I SHOULD INVESTIGATE WHY THIS
  HAPPENS.
1999-04-11 17:44:44 +00:00
n_hibma
b690dfd359 Applied patch for ukbd disconnect. Disconnect not fully functional
yet however.

Supplied by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-04-11 16:49:15 +00:00
n_hibma
52f5b264af USBD_STALLED bit checking was inconsistent. Mixed use of == and &
Patch provided by: Kazutaka YOKOTA
1999-04-11 16:43:48 +00:00
n_hibma
d5c45d0bd8 Remove unit from struct. Not used anymore. 1999-04-11 16:22:57 +00:00
peter
9511f66791 Move initialization of SWI's in the tty|net|bio masks from isa.c into
the static initializers in ipl.s.
1999-04-11 15:51:15 +00:00
n_hibma
01b92c3fc2 Fix typo's in previous commit. 1999-04-11 14:28:54 +00:00
n_hibma
e9a7687c50 Added information on how to use a USB mouse under XFree.
Supplied by: Kazutaka YOKOTA
1999-04-11 14:27:52 +00:00
n_hibma
39dac26a0a Reenable the recursive disconnection from a hub. Stop gap solution
until the newbus version of uhub.c is ready.

Submitted by: Kazutaka YOKOTA
1999-04-11 14:24:43 +00:00
n_hibma
60e587adbf Changed pci_config_read() to pci_map_port(). Pointed out by Doug Rabson. 1999-04-11 14:24:20 +00:00
nsouch
d209accdca Fix docs/10737 1999-04-11 13:24:32 +00:00
simokawa
bc8426204c Control unaligned access handling via sysctl. 1999-04-11 12:48:15 +00:00
n_hibma
d7e60ed619 Corrections supplied by Kazutaka YOKOTA. 1999-04-11 12:21:47 +00:00
simokawa
9aa05cfda2 Don't define NMBCLUSTERS here.
It will be defined as appropriate value depending on maxusers.
1999-04-11 12:19:02 +00:00
markm
9012e78ce4 Fix the "internal" wrapping as well as a nasty bug involving
the daemon name vs the path. Also fix some warnings and improve
the wrapper section of the man page.

Nice debugging work by:	Sheldon Hearn
1999-04-11 09:22:17 +00:00
brian
e52674f2ac Revert the ACCMAP changes where we OR the peers accmap
with our own if there are differing bits (last two revisions
of lcp.c).  This change broke at least one negotiation
session.
Instead, we just use an OR of the two accmap values when
we're doing the ASYNC framing.
1999-04-11 08:51:04 +00:00
wpaul
16aba24e8f Enable the promiscuous mode workaround for the PNIC 82c168 chip, which
appears to need it.
1999-04-11 05:15:26 +00:00
bde
33795a33e0 Cleaned up egcs changes (mainly to minimise diffs with the gcc version
and restore order to sorted lists).
1999-04-11 04:32:42 +00:00
bde
b4d0b18a23 Fixed unusable dependencies in `.depend'. The following comment in the
code still applies, but the code attached to it had rotted:

# ../Makefile.inc will put an absolute path to our objdir in CFLAGS.
# Prevent mkdep from using it, so that we don't have to give rules for
# aliases of generated headers.

Many other makefiles seem to have the same bug (i.e., spelling "." as
"${.OBJDIR}" or as an even more complicated alias in -I directives).
1999-04-11 04:11:27 +00:00
eivind
928133047b Remove unused function int fi() {return 0;} 1999-04-11 03:47:24 +00:00
eivind
8e8405ca82 Staticize. 1999-04-11 03:46:26 +00:00
grog
a6f7cebb1b Back out default debug kernel. The flags revert to historical behaviour.
Requested-by:	ache
		bde
		dg

Modify targets for debug kernels:  when -g was specified, make will
now build a debug kernel called kernel.debug, and create a stripped
version called kernel at the same time.  The two targets install and
install.debug are otherwise unchanged.

Requested-by:	dillon

Update man page accordingly.
1999-04-11 03:40:11 +00:00
eivind
57c8b4d2e5 Correct prototype for wdstart 1999-04-11 03:10:25 +00:00
eivind
94b16edfb7 Staticize. 1999-04-11 03:06:07 +00:00
eivind
7c680e088d Random text after #endif changed to comment. 1999-04-11 02:58:31 +00:00
eivind
fdbdc54f5a Staticize. 1999-04-11 02:55:52 +00:00
eivind
72a054a986 Break long lines that I introduced in a previous commit. 1999-04-11 02:52:31 +00:00
eivind
57f5464515 Staticize. 1999-04-11 02:50:42 +00:00
eivind
0c28a9ea81 Remove incorrect initialization. 1999-04-11 02:50:15 +00:00
eivind
74f19f2404 pci_register_lkm can fail gracefully, so let it do that when there is
no more memory (M_WAITOK -> M_NOWAIT).  It may be called early enough
during boot that M_WAITOK isn't OK.  (In theory - right now it isn't called
from anywhere).
1999-04-11 02:46:20 +00:00
eivind
6277625e29 Correct typo in panic message 1999-04-11 02:28:32 +00:00
eivind
3208d85e73 Staticize. 1999-04-11 02:27:06 +00:00
eivind
081517e8b2 Staticize. 1999-04-11 02:17:47 +00:00
eivind
29478a96d3 Staticize 1999-04-11 02:16:27 +00:00
tegge
b149849b9f Add prototype for wait_ap(). 1999-04-11 00:43:43 +00:00
n_hibma
0bd640556d Update the list of supported USB devices with the list that is stored in
usbdevs.h and usbdevs_data.h. Any additional entries are welcome.
1999-04-11 00:18:07 +00:00
n_hibma
e168c05343 Add the manpages for ums and ukbd (USB mouse and keyboards) 1999-04-11 00:15:40 +00:00
grog
11e19f4dca Add external declaration for wait flag, rather later than intended.
Complained-about-by:  jkh
		      Jim Bloom <bloom@acm.org>
		      Michael Reifenberger <root@nihil.plaut.de>
1999-04-10 23:39:14 +00:00
tegge
7b3fdbf486 Let BSP wait until all APs are initialized. 1999-04-10 22:58:29 +00:00
dt
80578d3e92 Convert usage of vm_page_bits() to the new convention ("Inputs are required
to range within a page").
1999-04-10 20:52:11 +00:00
nik
00557a95d5 Contains the para
Unlike other filesystem objects, symbolic links do not have an owner,
  group, access mode, times, etc.  Instead, these attributes are taken from
  the directory that contains the link.  The only attributes returned from
  an lstat() that refer to the symbolic link itself are the file type
  (S_IFLNK), size, blocks, and link count (always 1).

This is bogus, and disagrees with the implementation and symlink(7).

Removed it.

PR:		docs/10269
Submitted by:	Tolik <tolik@sibptus.tomsk.ru>
1999-04-10 20:49:27 +00:00
nik
2dc21beae9 Fixed one typo ("[[=e]]" -> "[[=e=]]") and two occurences of whitespace
before a macro.

PR:		docs/7833
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1999-04-10 20:42:06 +00:00
nik
2902daca1e .sp -> .Pp
"... Pa /etc/resolv.conf" -> "...\n.Pa /etc/resolv.conf"

.Po and .Pc reported as broken, replaced with "(" and ")"

PR:		docs/7819
Submitted by:	yohta@bres.tsukuba.ac.jp
1999-04-10 20:38:17 +00:00
nik
a2e08e8387 ipfstat is now in section 8 of the manual.
PR:		7791
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1999-04-10 20:30:29 +00:00
tegge
f800e1dc81 When trying to enable or disable an interrupt not described by the mp table,
just return instead of dereferencing a null pointer.
1999-04-10 19:22:17 +00:00
tegge
0601e1a074 Test CF after a btrl operation instead of testing ZF (which is undefined). 1999-04-10 19:19:02 +00:00