Commit Graph

14046 Commits

Author SHA1 Message Date
bde
9bdf1013f1 Added a used #include (don't depend on "vnode_if.h" including <sys/buf.h>). 1999-02-25 16:06:51 +00:00
bde
ae4dfde7bc Added a used #include (don't depend on "vnode_if.h" including <sys/buf.h>). 1999-02-25 15:54:06 +00:00
newton
1985c3db8a Integrated a patch provided by Guido to more correctly work out the
flags returned from getcontext().

Submitted by:	Guido van Rooij <guido@gvr.org>
1999-02-25 14:32:29 +00:00
newton
84c729ad70 Added p_emuldata to struct proc as a place for emulators to hook
process-specific state information.

Submitted by:	Guido van Rooij <guido@gvr.org>
1999-02-25 14:28:46 +00:00
kato
f45932a23f Added comment on Access/PC N98C+ and LAC-98 cards, and FE_8BIT_SUPPORT
option that LAC-98 needs.

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-02-25 13:59:47 +00:00
kato
000998d53f Added adv driver support.
Submitted by:	Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-02-25 13:53:13 +00:00
kato
995ff390e6 Commented out lpt0. 1999-02-25 13:41:54 +00:00
bde
823b71ef82 Fixed my recent breakage of the ELF case. 1999-02-25 12:53:34 +00:00
kato
f04de400ce Sync with sys/i386/isa/wd.c revision 1.189. 1999-02-25 11:08:53 +00:00
kato
edaa88df80 Sync with sys/i386/i386/userconfig.c revision 1.132. 1999-02-25 11:05:50 +00:00
bde
d2f1b649d7 Don't forget to update `switchticks' in corner cases (except for
the alpha fork_trampoline(), forget it because it I believe it is
only necessary for the unsupported SMP case).
1999-02-25 11:03:08 +00:00
kato
c5a1921180 Sync with sys/boot/i386/loader/Makefile revision 1.29. 1999-02-25 11:01:54 +00:00
kato
3793091474 The fe driver supports bridging, so added it to lists. 1999-02-25 10:48:31 +00:00
imp
f6b1037575 Add missing check for LINK_MAX in ufs_rename. Since ip->i_effnlink and
ip->nlink were different types, there was a masked overflow.

Reported by: Mark Slemco <marcs@znep.com>
1999-02-25 09:52:46 +00:00
roger
9ef78c7286 My changes:
Added autodetection of MMAC Osprey 100 card for
Jan Schmidt <mmedia@rz.uni-greifswald.de>. The MMAC card has an EEPROM
which contains an ASCII string beginning with "MMAC".
Corrected Hauppauge Audio Mux Mute value from 0x01 to 0x04.
Fixed a typo.

Sumitted change:
Added ALPS Tuner Type submitted by Hiroki Mori <mori@infocity.co.jp>

Submitted by:	Roger Hardiman and Hiroki Mori <mori@infocity.co.jp>
1999-02-25 07:45:47 +00:00
alc
0bbaa7b5e7 Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Revert the comment for v_ozfod now that vm_fault is fixed.
1999-02-25 06:05:28 +00:00
alc
11ba367bdf Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Corrected the computation of cnt.v_ozfod in vm_fault: vm_fault
was counting the number of unoptimized rather than optimized
zero-fill faults.
1999-02-25 06:00:52 +00:00
dillon
25079ce905 Comment swstrategy() routine. 1999-02-25 05:37:18 +00:00
dillon
499ea70f5f Update ufs_vnops code to use new specinfo fields rather then guess.
This is part of general specinfo / d_parms() commit.
1999-02-25 05:35:53 +00:00
dillon
9b8aaaa737 Reviewed by: Julian Elischer <julian@whistle.com>
Add d_parms() to {c,b}devsw[].  If non-NULL this function points to
    a device routine that will properly fill in the specinfo structure.
    vfs_subr.c's checkalias() supplies appropriate defaults.  This change
    should be fully backwards compatible with existing devices.
1999-02-25 05:22:30 +00:00
peter
2cb5b6d7d5 Untangle the nfs send and receive queue locking a little. One lock
routine was [ab]used for two different things, and you couldn't tell from
the wait channel which one had wedged.
Catch a few things missing from NFS_NOSERVER.
1999-02-25 00:03:51 +00:00
dillon
3ad14cacdc Remove unnecessary page protects on map_split and collapse operations.
Fix bug where an object's OBJ_WRITEABLE/OBJ_MIGHTBEDIRTY flags do
    not get set under certain circumstances ( page rename case ).

Reviewed by:	Alan Cox <alc@cs.rice.edu>, John Dyson
1999-02-24 21:26:26 +00:00
msmith
7648580bdb Don't try protecting page 0; it seems that BIOS writers now feel it's
appropriate to check for Windows95 by polling for state in low
memory, with fatal results.

Submitted by:	rnordier@freebsd.org
1999-02-24 01:37:23 +00:00
wpaul
8f00b27bc3 Add support for still more cheapo 10/100 cards: Delta Electronics and
Addtron appear to have their own VIA Rhine II and RealTek 8139 boards
with custom PCI vendor and device IDs. This commit updates the PCI
vendor and device lists in the vr and rl drivers so that we can probe
the additional devices.

Found by: nosing around the PCI vendor and device code list at:
	http://www.halcyon.com/scripts/jboemler/pci/pcicode
1999-02-23 15:38:25 +00:00
phk
86fc22785e Misplaces brace puts important code into debug section.
Reviewed by:	phk
Submitted by:	Stefan Bethke <stefan.bethke@hanse.de>
1999-02-23 15:08:44 +00:00
wpaul
54bf2d59fe Dangit... made a typo in the NEXPTR register definition (0x55 -> 0x45). 1999-02-23 02:00:06 +00:00
wpaul
0296536212 Minor updates for the ASIX AX88141, which is a newer version of the
AX88140A with power management and magic packet support. Correct the
addresses of the PCI power management registers and add some code to
detect the revision ID of the AX88141 and identify it in the probe
messages.

No other changes are needed since the AX88141 is functionally
identical to the AX88140A.
1999-02-23 01:52:42 +00:00
bde
422fcfce28 The previous commit also fixed a possibly-wrong (too high) priority
for the rescheduled process.
1999-02-22 18:39:49 +00:00
des
2f3574b0d4 Add support for stealth forwarding (forwarding packets without touching
their ttl). This can be used - in combination with the proper ipfw
incantations - to make a firewall or router invisible to traceroute
and other exploration tools.

This behaviour is controlled by a sysctl variable (net.inet.ip.stealth)
and hidden behind a kernel option (IPSTEALTH).

Reviewed by:	eivind, bde
1999-02-22 18:19:57 +00:00
bde
d51135c0c3 Improved scheduling in uiomove(), etc. resched_wanted() is true too
often for it to be a good criterion for switching kernel cpu hogs --
it is true after most wakeups.  Use the criterion "has been running
for >= 2 quanta" instead.
1999-02-22 16:57:48 +00:00
eivind
4e6745d688 Outdated with the removal of LKM support. KLDs can't be tested in any
similar fashion :-(
1999-02-22 16:11:58 +00:00
bde
80534e76e1 Added a per-cpu variable `switchticks' for use in scheduling. 1999-02-22 15:13:34 +00:00
newton
66edcaeeb1 Oops. Adding a Makefile might help anyone who wants to use streams
as a module...
1999-02-22 14:02:42 +00:00
dcs
3b2e9c970d Fix assorted memory leak/buffer reuse problems.
Not restricted to, but including:

PR:		kern/9631
Submitted by:	Bill Fenner <fenner@parc.xerox.com>
1999-02-22 13:12:37 +00:00
n_hibma
62572be175 Update for the man page. 4.0 is using KLD's not LKM's. 1999-02-22 13:08:38 +00:00
newton
2d24e4c75d Converted "streams" pseudo-device into a KLD 1999-02-22 11:44:46 +00:00
dillon
9f7c64c6ce Removed ENOMEM error on swap_pager_full condition which ignored the
availability of physical memory.  As per original bug report by
    Bruce.

Reviewed by:	Alan Cox <alc@cs.rice.edu>
1999-02-22 08:42:16 +00:00
n_hibma
1ae726e27b Bug fix: Trap 12 when ugen not present and therefore unattached physical
device removed.
1999-02-21 16:53:35 +00:00
n_hibma
97e0e8232b Device unload code is broken, disabled. Requires a bit of redesign on the
part of the uhub driver to be able to fix it. Modules should not be
unloaded as they unload partially. Not easy to fix either.
1999-02-21 16:36:30 +00:00
n_hibma
d95d4d3329 Add uhci and ohci driver names 1999-02-21 16:33:51 +00:00
n_hibma
6a8c288d06 Rename hid device to uhid (HID: Human Interface Device) 1999-02-21 16:23:23 +00:00
n_hibma
6a376dfa30 make ums look like a Mouse Systems or Sysmouse mouse. Remove PS/2 interf.
Supplied by MAEKAWA Masahide <bishop@rr.iij4u.or.jp>. Thanks!
USB Mouse now supports up to 7 buttons and X,Y,Z (wheel) directions.
1999-02-21 16:20:19 +00:00
n_hibma
d02d718154 1) Added define for USB as an interface
2) Added define for maximum number of buttons for Mouse Systems
1999-02-21 16:08:43 +00:00
nsouch
3042dd104f Fix controller/device ppc0 inconsistency with GENERIC
Suggested by: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
1999-02-21 15:04:43 +00:00
dfr
d9e43d8903 Add support for Compaq ProLiant 1200 host to PCI bridge.
Obtained from: 2.2 branch
Reviewed by: Benjamin Lewis <bhlewis@gte.net>
1999-02-21 11:39:37 +00:00
julian
bd063e82c0 Add a quick note to say what the 3 uuencoded files are. 1999-02-21 09:36:33 +00:00
dillon
fa06d8f968 Remove conditional sysctl's
Leave swap_async_max sysctl intact, remove swap_cluster_max sysctl.

Reviewed by:	     Alan Cox <alc@cs.rice.edu>
1999-02-21 08:34:15 +00:00
dillon
338a9c530d Reviewed by: Alan Cox <alc@cs.rice.edu>
Fix problem w/ low-swap/low-memory handling as reported by Bruce Evans.
1999-02-21 08:30:49 +00:00
jdp
aee786c62d Increment __FreeBSD_version to reflect the fact that the kernel can
now handle dynamic linkers which are statically linked executables.
1999-02-20 23:54:00 +00:00
jdp
8e6340d9f7 If you merge this into -stable, please increment __FreeBSD_version
in "src/sys/sys/param.h".

Fix the ELF image activator so that it can handle dynamic linkers
which are executables linked at a fixed address.  This improves
compliance with the ABI spec, and it opens the door to possibly
better dynamic linker performance in the future.  I've experimented
a bit with a fixed-address dynamic linker, and it works fine.  But
I don't have any measurements yet to determine whether it's
worthwhile.

Also, remove a few calculations that were never used for anything.

I will increment __FreeBSD_version, since this adds a new capability
to the kernel that the dynamic linker might some day rely upon.
1999-02-20 23:52:34 +00:00