Commit Graph

56598 Commits

Author SHA1 Message Date
tegge
37cb0f26bd Enable use of DHCP extensions.
Reviewed by:	Per Kristian Hove <Per.Hove@math.ntnu.no>
2001-02-02 02:35:40 +00:00
peter
3f5b9054b8 Argh, I missed some #include "sio.h". I was looking primarily for NSIO
when I did my sweeps.

Submitted by: mjacob
2001-02-02 01:48:40 +00:00
brian
e8f04ed818 Try to kldload if_tun if we get ENOENT from opening /dev/tunN -
not just if we get ENXIO.

This makes ppp work with DEVFS when if_tun isn't built into
the kernel (without needing to manually kldload it).
2001-02-02 01:41:26 +00:00
jhb
e80c0afb83 mtx_try_enter() returns an int, not void. 2001-02-02 00:49:17 +00:00
luigi
13b04125f8 MFS: bridge/ipfw/dummynet fixes 2001-02-02 00:19:25 +00:00
luigi
7fe5f1c251 MFS: bridge/ipfw/dummynet fixes (bridge.c will be committed separately) 2001-02-02 00:18:00 +00:00
mjacob
20b59fb639 Remove inclusion of now vanished sio.h. 2001-02-01 21:59:00 +00:00
mjacob
2eb9c90327 Guess that this is what Doug *intended* to commit.... 2001-02-01 21:58:34 +00:00
julian
b7388ce2fc Change the kernel internal ABI number as the HOOK structure has changed.
Forgotten by: me
2001-02-01 21:25:06 +00:00
archie
4cd21e8c8d Revert previous checkin ("proxy" is required in some instances).
Add a note to that effect to the man page.
2001-02-01 21:23:16 +00:00
luigi
efe88b8afe Add the MD_ROOT_SIZE option.
These files might need further work before producing a compilable kernel.
2001-02-01 21:05:52 +00:00
luigi
579f99db85 Add a required option, MD_ROOT_SIZE
also put in a better set of devices and options.
2001-02-01 21:04:32 +00:00
julian
4c094778a3 Clean up reference counting with relation to queued packets and the worklist,
and while I'm there, clean up the worklist insertion and removal.

Inspired by: Harti Brandt <brandt@fokus.gmd.de>
2001-02-01 20:51:23 +00:00
scottl
4567f19cfe Driver for the ESS Maestro3 and Allegro sound chips. Note that due to the
amount of GPL'd firmware in the driver, it will only be built as a module.

Approved by:	cg
2001-02-01 20:29:16 +00:00
ru
9099bb40b9 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 17:12:45 +00:00
ru
606eb8b7a4 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:44:04 +00:00
des
9db0951c75 Add atspeaker_load. 2001-02-01 16:41:58 +00:00
des
e26ebc6423 KLDify the "speaker" device (which calls itself atspeaker internally, and
is i386-specific, so name the module atspeaker rather than speaker).
2001-02-01 16:39:34 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ru
4a866047a5 Make the exclamation mark (`!') a recognizable punctuation character.
Obtained from:	mdocNG
2001-02-01 16:17:06 +00:00
bde
b5dbc7f165 Unbreak test coverage of cy driver. 2001-02-01 09:57:59 +00:00
bde
34714ccde6 Converted to new-bus.
Reviewed by:	imp
2001-02-01 09:49:57 +00:00
bp
53152aae13 Fix breakage caused by incomplete transition to IF_HANDOFF().
Remove unused variable.
2001-02-01 08:34:38 +00:00
jake
73c43f2ddf Implement preemptive scheduling of hardware interrupt threads.
- If possible, context switch to the thread directly in sched_ithd(),
  rather than triggering a delayed ast reschedule.

- Disable interrupts while restoring fpu state in the trap handler,
  in order to ensure that we are not preempted in the middle, which
  could cause migration to another cpu.

Reviewed by:	peter
Tested by:	peter (alpha)
2001-02-01 03:34:20 +00:00
phk
655183f54b Use mdconfig/md instead of vn. 2001-01-31 22:58:39 +00:00
scottl
11073c43ee Update the module Makefile to reflect the state of things from the last
acpi-ca import.

Approved by:	msmith
2001-01-31 22:40:01 +00:00
julian
bdfa33eb06 Add the ability to declare ore-ride methods on a per-hook basis
for the rcvdata() and rcvmsg() methods.

Also bring the man page up to sync with my last commit. (and this one)
2001-01-31 20:46:00 +00:00
iedowse
5e71cdad98 Fsck_ffs did not properly range-check the inode 'di_size'
field, so it was possible for a filesystem marked clean by fsck_ffs
to cause kernel crashes later when mounted. This could occur when
fsck_ffs was used to repair a badly corrupted filesystem.

As pointed out by bde, it is not sufficient to restrict di_size to
just the superblock fs_maxfilesize limit. The use of 32-bit logical
block numbers (both in fsck and the kernel) induces another file
size limit which is usually lower than fs_maxfilesize. Also, the
old 4.3BSD filesystem does not have fs_maxfilesize initialised.

Following this change, fsck_ffs will enforce exactly the same
file size limits as are used by the kernel.

PR:		kern/15065
Discussed with:	bde
Reviewed by:	bde, mckusick
2001-01-31 15:16:56 +00:00
ben
e0a3969a9d Document the mpsafe argument to callout_init().
PR:		24529
Submitted by:	harti brandt <brandt@fokus.gmd.de>
Reviewed by:	jlemon
2001-01-31 12:17:45 +00:00
peter
8ba4c9ebbf Try and make it clearer that the static units thing is a FYI only. 2001-01-31 11:18:49 +00:00
dfr
cf164eefb6 * Move exception_return to exception.s which is a more logical home for it.
* Optimise the return path for syscalls so that they only restore a minimal
  set of registers instead of performing a full exception_return.

A new flag in the trapframe indicates that the frame only holds partial
state. When it is necessary to perform a full state restore (e.g. after an
execve or signal), the flag is cleared to force a full restore.
2001-01-31 11:17:00 +00:00
peter
2ad0f6aa85 Remove count for NSIO. The only places it was used it were incorrect.
(alpha-gdbstub.c got sync'ed up a bit with the i386 version)
2001-01-31 10:54:45 +00:00
peter
fed0ed683e Unwind a bit more cruft - we only have one type of device now. 2001-01-31 10:30:30 +00:00
peter
328fbb538c Oops. An old version of a local change leaked in with the last commit.
Since it is here, clean it up a bit.
2001-01-31 10:06:06 +00:00
msmith
f164fb5de7 Merge conflicts from the ACPI CA 20010125 import. 2001-01-31 09:44:45 +00:00
msmith
9fee00f21e Add some debugging.
Turn off semaphores.  Nobody else implements them, and there is lots of
AML out there which does totally absurd things with them, meaning that
if we try to do the right thing we are guaranteed to fail.
2001-01-31 09:35:50 +00:00
msmith
8c9d90e804 Add some debugging statements. 2001-01-31 09:34:54 +00:00
msmith
d9fffccaf1 Tidy up.
Don't print temperatures at attach time - they're usually wrong.

Use acpi_EvaluateInteger instead of doing things the hard way.
2001-01-31 09:33:51 +00:00
msmith
cf91c8d297 Add some debugging.
Use acpi_EvaluateInteger where possible.

Use FuncName rather than &FuncName when passing function addresses.

Don't evaluate the _REG method when we attach to an address space -
AcpiInstallAddressSpaceHandler does it for us.
2001-01-31 09:32:44 +00:00
msmith
fa6269dd57 ACPI_NUMBER becomes ACPI_INTEGER. acpi_EvaluateNumber becomes
acpi_EvaluateInteger.

Use acpi_EvaluateInteger instead of doing things the hard way where
possible.

AcpiSetSystemSleepState (unofficial) becomes AcpiEnterSleepState.

Use the AcpiGbl_FADT pointer rather than searching for the FADT.
2001-01-31 09:30:57 +00:00
msmith
8afc724482 Remove obsoleted files.
Temporarily turn off the processor and apic drivers until we sort out
what these are going to do now.
2001-01-31 09:26:25 +00:00
msmith
dcadc0e5cf Remove obsoleted files. 2001-01-31 09:25:42 +00:00
msmith
1b6aee3afd This commit was generated by cvs2svn to compensate for changes in r71867,
which included commits to RCS files with non-trunk default branches.
2001-01-31 09:17:50 +00:00
msmith
7948a3a804 Update to the 20010125 ACPI CA snapshot. 2001-01-31 09:17:50 +00:00
peter
4cbabe8fa4 Redo the stray header file cleanup code to not depend on timestamps
or access times or anything.  Just bite the bullet and keep a list of
header files that we know about.
2001-01-31 08:42:35 +00:00
phk
52eef69973 Strip optional prefixes "/dev/" and "md" from the -u argument. 2001-01-31 08:41:18 +00:00
peter
18e9d16d47 Quieten gcc. 2001-01-31 08:27:09 +00:00
peter
ba1aab0933 Exterminate the use of PSEUDO_SET() with extreme prejudice. 2001-01-31 07:58:58 +00:00
peter
9c26019423 Add hpfs and the config glue for it. It was being skipped from test
coverage.
2001-01-31 05:33:23 +00:00
bp
130d730adb Properly lock new vnode.
Reminded by:	tegge
2001-01-31 04:54:23 +00:00