Commit Graph

61703 Commits

Author SHA1 Message Date
groudier
dba395db94 Submitted by: Chip Salzenberg <chip@perlsupport.com>.
MFC after:	5 days
- Mask GPCNTL against 0x1c (was 0xfc) for the reading of the NVRAM.
  This ensures LEDC bit will not be set on 896 and later chips.
  Submitted by Chip Salzenberg <chip@perlsupport.com>.
- Add probe for Tekram 390 U2B/U2W SCSI (53C895) LED handling.
  Submitted by Chip Salzenberg <chip@valinux.com>
2001-07-01 16:04:07 +00:00
mikeh
1219a35719 Convert two instances of a lseek()+read() combination to a pread().
PR:		bin/17640
MFC after:	2 weeks
2001-07-01 04:46:20 +00:00
benno
d5219f43a7 Don't include machine/autoconf.h for now. It's not used and is breaking the
build.
2001-07-01 02:45:15 +00:00
benno
36e4d57292 Register definitions for the OpenPIC used in various models of
iMac/PowerMac/iBook/PowerBook.

Obtained from:	NetBSD
2001-07-01 02:43:38 +00:00
benno
47eaf0390a Add TRAPF_* macros required by MI-ification of ast() and userret().
Submitted by:	Mark Peek <mark@whistle.com>
2001-07-01 02:38:38 +00:00
dd
3bfab48c8c Correct a brain-o in the stats output.
PR:		24839
Submitted by:	AMAKAWA Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
2001-06-30 21:39:31 +00:00
mikeh
eb666cf8c5 Reset errno so that subsequent TFTP requests don't fail after the
first failure.

PR:		misc/25502
MFC after:	2 weeks
2001-06-30 21:39:09 +00:00
imp
d4e98f543a Fix make release for new kernel locations 2001-06-30 17:20:12 +00:00
obrien
3f09a3f929 Add .cvsignore so that CVS stop's complaining about people's kernel build dirs. 2001-06-30 15:38:06 +00:00
obrien
27ba1143ff Grrr, this was added in the wrong place.
Have I mentioned before how much I hate remove CVS when adding directories???
Ask me about it (got 3 hours...)
2001-06-30 15:21:34 +00:00
obrien
401c637a19 Ensure sys/${MACHINE}/compile/FOO exists
Reviewed by: arch, imp, peter, and the USENIX terminal room secret kernel cabal
2001-06-30 15:16:29 +00:00
nik
1c78aa35e7 /dist is a mount point used by sysinstall(8), not an extraction directory. 2001-06-30 14:56:44 +00:00
mpp
b643cba70e Fix a couple of typos. 2001-06-30 14:42:20 +00:00
imp
79f0cebcfb Really do proper keepme files in the compile directories. Use
.cvsignore file for [A-Za-z]* to keep these directories around rather
than waste a file on .keepme.  This should also make people's built
trees place nice with CVS.

Idea for .cvsignore: peter (although I suggested the regexp)
Pointed out by: Makoto MATSUSHITA-san <matusita@jp.FreeBSD.org>
Llama's costuming by: Fernamdo Llamas
2001-06-30 14:38:32 +00:00
n_hibma
e84b93166e Add AboCom Systems USB to 1M HomePNA & 10M/100M Fast Ethernet Adapter.
PR:		kern/28537
Submitted by:	Hiroyuki Aizu <aizu@navi.org>
MFC after:	5 days
2001-06-30 13:49:17 +00:00
n_hibma
d5adc4c167 Don't free memory that has been freed already.
Null the pointer after freeing the memory.

PR:		27370
Submitted by:	Alec Barea <alec@barea.org>
MFC after:	5 days
2001-06-30 10:57:37 +00:00
yokota
e8eb8a31d4 Remove the resume method. It is not necessary any more, because
keyboard drivers have it now...
MFC after:	4 weeks
2001-06-30 10:15:13 +00:00
yokota
33d7ab4772 Add the device resume method to keyboard drivers.
MFC after:	4 weeks
2001-06-30 10:02:32 +00:00
yokota
b6823c3764 If we are in DDB, don't switch to a vty in the VT_PROCESS mode.
MFC after:	2 weeks
2001-06-30 09:10:00 +00:00
rwatson
b83ccf3fae o Unfold p31b_proc() into the individual posix4 system calls so as to
allow call-specific authorization.
o Modify the authorization model so that p_can() is used to check
  scheduling get/set events, using P_CAN_SEE for gets, and P_CAN_SCHED
  for sets.  This brings the checks in line with get/setpriority().

Obtained from:	TrustedBSD Project
2001-06-30 07:55:19 +00:00
obrien
9758e66106 Ensure sys/${MACHINE}/compile/FOO exists
Reviewed by: arch, imp, peter and
  the USENIX terminal room secret kernel cabal
2001-06-30 07:12:34 +00:00
rwatson
88f1ced765 Modify ping so that it increases the send socket buffer size if the
user runs with privilege, allowing the sending of icmp packets with
larger size (up to 48k, the default receive buffer size in ping),
which is useful for network driver development testing, as well
as experimentation with fragmentation.

Reviewed by:	wpaul
2001-06-30 06:46:33 +00:00
imp
8c8f00c4db The path in the last commit should have been
src/sys/MACHINE/compile/FOO
2001-06-30 06:39:27 +00:00
imp
85e28f2871 The path in the last commit should have been
src/sys/MACHINE/compile/FOO
2001-06-30 06:38:42 +00:00
imp
f78c5abef0 Note move of kernel compile to src/sys/MACHINE/compile/FOO. 2001-06-30 06:35:45 +00:00
imp
c5f2abfa6d Move kernel compile directory from sys/compile/FOO to
sys/compile/${MACHINE}/FOO.

Reviewed by: arch, obrien, peter and
	the USENIX terminal room secret kernel cabal
2001-06-30 06:29:47 +00:00
imp
6d4c97bec8 Move kernel compile directory from sys/compile/FOO to
sys/compile/${MACHINE}/FOO.

Reviewed by: obrien, peter and the USENIX terminal room secret kernel cabal
2001-06-30 06:28:12 +00:00
dd
bb282642b3 New release notes: farewell dgm; kldconfig. 2001-06-30 06:16:45 +00:00
dd
fdda055e00 Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$
where necessary.

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-30 05:39:36 +00:00
dd
9b64cdc70f Silence a warning on the Alpha.
Reviewed by:	md5(1)
2001-06-30 05:32:29 +00:00
dd
1de613d311 Silence a warning on the Alpha. 2001-06-30 05:29:57 +00:00
imp
bb25a9f669 Repo copy i8237.h to dev/ic so we can get rid of some of the final vestiges
of includes of i386 files from non-i386 ports.
2001-06-30 05:29:11 +00:00
imp
1f5ef04935 Fix warning message.
Suggested by: julian
2001-06-30 03:57:20 +00:00
jhb
cbf193046b Remove the p_spinlocks spin lock count that was obsoleted by the
per-CPU spinlocks list.
2001-06-30 03:35:22 +00:00
rwatson
c35de5d85d Replace some use of 'p' with 'targetp' so as to not scarily overload the
passed 'p' argument.  No functional change.

Obtained from:	USENIX Emporium, Cheap Tricks Department
2001-06-30 03:13:36 +00:00
jhb
dcedf89d63 Make the schedlock saved critical section state a per-thread property. 2001-06-30 03:11:26 +00:00
roam
4db4ecf48f Properly cast a size argument to an unsigned type.
Thanks to:	dd for noticing the need for a cast.
2001-06-29 22:31:17 +00:00
msmith
7bf89cea2b Wrap the interrupt handler so that we can get the ACPI lock. 2001-06-29 21:21:08 +00:00
msmith
92a1c67dda Add ACPI lock support.
Pass the softc, not the device_t to the Notify handler.

Don't invoke the Interpreter from callout context, as it may sleep.
Use AcpiOsQueueForExecution, which is called from taskqueue_swi.
2001-06-29 21:20:46 +00:00
dd
de71153c8e Correct a spelling error.
PR:		28527
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2001-06-29 21:09:09 +00:00
ume
c64f5cc5a8 - fixed typo
- a wording improvement in BUGS (ping vs ping6 issue)

Obtained from:	KAME
MFC after:	1 week
2001-06-29 20:51:00 +00:00
msmith
991fa83f02 Add ACPI subsystem mutex support, currently disabled. This implements
a private mutex we can use to wrap the ACPI subsystem proper.
2001-06-29 20:33:29 +00:00
msmith
5b5c35cec2 Update for new debug layer constant names in the ACPI CA 20010615
import.
2001-06-29 20:32:29 +00:00
msmith
f84733f8b1 Use msleep() when we sleep waiting for a GPE, since we are holding the
ACPI mutex.

Add some comments to EcWaitEventIntr.

Clean up deviant style, add debugging to be consistent.
2001-06-29 20:31:37 +00:00
msmith
afc351125a Update to synch with the 20010615 ACPI CA import.
Add an ACPI subsystem mutex, and macros for handling it.  Because it's
not possible to differentiate between ACPI CA acquiring mutexes for
internal use and for use by AML, and because AML in the field doesn't
handle mutexes correctly, we can't use the ACPI subsystem's internal
locking.  In addition, we have other private data of our own to lock.

Add initial locking to the ACPI driver code and the thermal module.
These locks are currently inoperative.

Pull some errant style back into line.
2001-06-29 20:29:59 +00:00
ume
9652e04d5f sync usage/description with reality.
Obtained from:	KAME
MFC after:	1 week
2001-06-29 20:26:38 +00:00
msmith
00fd1050c5 Merge FreeBSD-specific changes. 2001-06-29 20:19:59 +00:00
msmith
6067484852 This commit was generated by cvs2svn to compensate for changes in r78986,
which included commits to RCS files with non-trunk default branches.
2001-06-29 20:11:04 +00:00
msmith
ec0a44c215 Vendor import of the Intel ACPI CA 20010615 snapshot. 2001-06-29 20:11:04 +00:00
green
a9b531b74d Use __unused for non-used variables.
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-29 20:06:47 +00:00