jhb
681e830ed0
- Fix a missed idleproc -> idlethread conversion.
...
- Remove redundany fpucurproc (fpucurthread already existed)
2001-09-18 21:37:09 +00:00
jhb
8f1f6bfe73
If we have a p variable pointing to td->td_proc already, use it instead of
...
needlessly repeating the indirection in several places. Half of the places
used td->td_proc, and half used p. They are now consistent with each other
and all use p.
2001-09-18 21:20:58 +00:00
jhb
5ee8d7e543
Whitespace fixes.
2001-09-18 21:05:04 +00:00
rwatson
bc78942658
o Introduce two new calls, securelevel_gt() and securelevel_ge(), which
...
abstract the securelevel implementation details from the checking
code. The call in -CURRENT accepts a struct ucred--in -STABLE, it
will accept struct proc. This facilitates the upcoming commit of
per-jail securelevel support. The calls will also generate a
kernel printf if the calls are made with NULL ucred/proc pointers:
generally speaking, there are few instances of this, and they should
be fixed.
o Update p_candebug() to use securelevel_gt(); future updates to the
remainder of the kernel tree will be committed soon.
Obtained from: TrustedBSD Project
2001-09-18 21:03:53 +00:00
jlemon
f00876504b
Have the driver announce its rxcsum capabilities.
2001-09-18 20:19:28 +00:00
jlemon
28193b25ab
Split HWCSUM into two components: RX and TX, for the benefit of drivers
...
which can only do checksum offloading in one direction.
2001-09-18 20:13:03 +00:00
rwatson
892ce726ef
o Remove redundant securelevel/pid1 check in procfs_rw() -- this
...
protection is enforced at the invidual method layer using
p_candebug().
Obtained from: TrustedBSD Project
2001-09-18 19:53:10 +00:00
mp
b34d7ff9aa
Set debug information on the process being traced, not the current (debugger)
...
process. This should allow gdb to function correctly on post-KSE kernels.
2001-09-18 19:06:11 +00:00
jlemon
aab4748586
Have the driver to announce what capabilitis it supports.
2001-09-18 18:53:41 +00:00
jlemon
f1f8ab43b1
Have the driver announce what capabilities it supports. These are
...
currently not under user control.
2001-09-18 18:41:39 +00:00
jlemon
26343eb1f5
Have the driver advertise that it is capable of hardware checksums, and
...
allow the user to control the setting. (checksums are enabled by default)
2001-09-18 18:40:22 +00:00
imp
26847c44d7
nfs_strategy calls nfs_asyncio with td as NULL. So add a bandaid that
...
will pass NULL as the struct proc when td is NULL. This has stopped
crashing on my machine.
Note: The passing of NULL may be bogus, but I'll let others fix that
problem.
Reviewed by: jhb
2001-09-18 18:37:52 +00:00
jlemon
0d05508a93
Add SIO{CG}IFCAP entries. Fix formatting of some other entries.
2001-09-18 17:42:25 +00:00
jlemon
131e3ad4ce
Add two fields to the ifnet structure indicating what extra capabilities
...
a network device has, and which ones are enabled.
2001-09-18 17:41:42 +00:00
dfr
915ac6e38a
Add ia64_get_cpuid().
2001-09-18 15:21:18 +00:00
cg
b86875b944
when setting blocksize, fix blockcount to 2 to reduce latency with smaller
...
block sizes.
2001-09-18 15:19:44 +00:00
cg
30230e56a5
make buffer size adjustable.
2001-09-18 15:12:35 +00:00
cg
fb1faed56b
don't enable the mic record channel unless the codec supports it.
...
allow hardware buffer size to be specified using hints.
2001-09-18 14:53:01 +00:00
sobomax
5597a20c93
Add support for loading bzip2-compressed kernels and modules. This support
...
is turned off by default and could be enabled by defining LOADER_BZIP2_SUPPORT
make variable. Also make gzip support optional (turned on by default) -
it could be turned off via LOADER_NO_GZIP_SUPPORT make variable.
Please note, that due to limit on the amount of memory available to the
loader(8), it is possible to load modules/kernels compressed with the smallest
block size supported by the bzip2 - 100k (`-1' bzip2(1) option), however
even in this mode bzip2(1) usually provides better compression ratio than
gzip(1) in its best compression mode.
MFC after: 1 month
2001-09-18 14:52:36 +00:00
sumikawa
aa9b71c68d
Removed ipip_input(). No codes calls it anymore due to ip_encap.c's
...
encapsulation support.
2001-09-18 14:52:20 +00:00
cg
afd9c60fd0
change tracking of channel counts.
...
add method for retrieving "buffersize" hints for pcm devices, adjusted for
specified minimum, maximum and default values.
2001-09-18 14:50:52 +00:00
cg
89b447d520
add a tunable/sysctl, hw.snd.targetirqrate, to modify the default target
...
irq rate for apps that do not set a blocksize.
2001-09-18 14:45:09 +00:00
cg
afb2bba74c
add a method for retrieving codec capabilities
2001-09-18 14:34:59 +00:00
dfr
60e38e9b01
Flesh out identifycpu().
2001-09-18 13:26:30 +00:00
ru
b6199c81dd
KLDMOD is not used since share/mk/bsd.kmod.mk,v 1.60.
...
Forgotten by: peter
2001-09-18 11:03:35 +00:00
jlemon
63d26820fb
Change p into ke->ke_proc, this was hidden behind INVARIANTS.
2001-09-18 03:36:21 +00:00
peter
8db35d7be0
Remove hard coded magic load address. Now to change the load address,
...
we just have to change the pmap.h constants and ld will automatically
adapt based on the "kernbase" symbol.
2001-09-18 01:12:43 +00:00
wpaul
2748b59289
Tweak the autoneg kickoff code to that it more closely resembles the
...
method uses in the nsgphy driver.
2001-09-18 00:31:19 +00:00
peter
e501f2bbb2
Fix a fatal type mismatch (char *static_env; vs char static_env[]).
...
Submitted by: bde
2001-09-17 21:27:41 +00:00
jhb
db1c30ff3d
Use NULL instead of __FILE__ in the !LOCK_DEBUG case in the locking code
...
since the filenames are only used in the LOCK_DEBUG case and are just bloat
in the !LOCK_DEBUG case.
2001-09-17 21:21:02 +00:00
julian
d733f76a38
Replace line accidentally deleted during KSE additions.
...
Symptom.. Stopped program unable to be restarted if it was stopped
while already sleeping.
2001-09-17 20:42:25 +00:00
jhb
cf2c122124
Don't inline mutexes in the LOCK_DEBUG case.
2001-09-17 19:31:26 +00:00
jhb
1f9362e16d
If any of various debug kernel options are enabled, set a LOCK_DEBUG
...
cpp macro that can be used to differentiate code generation for locking
functions.
2001-09-17 19:30:41 +00:00
jhb
6ddf73fcd4
Add a lock assertion to linux_sendsig() to match other sendsig functions.
2001-09-17 17:22:31 +00:00
iwasaki
9bf92ac71b
Call acpi_DeviceIsPresent() only for devices. This should make
...
non-ACPI_TYPE_DEVICE devices (such as acpi_tz and acpi_cpu) enabled
again.
Reviewed by: msmith
2001-09-17 15:11:55 +00:00
silby
7613277d62
Fix a typo: documenation -> documentation
2001-09-17 06:54:26 +00:00
murray
b36a9881b5
SMBus support for the AMD 756 power management unit. See smbus(4),
...
amdpm(4) and smb(4).
This device can be used with userland programs such as sysutils/lmmon
to retrieve sensor information from the motherboard.
PR: kern/23989
Obtained from: Matthew C. Forman <mcf@dmu.ac.uk>
Based on: alpm(4)
2001-09-16 22:35:07 +00:00
dillon
e87db392b9
Avoid empty decls when __FBSDIDs are turned off.
...
Suggested by: bde
MFC after: 1 week
2001-09-16 21:43:34 +00:00
nyan
00b37a56da
Added pc98 support.
2001-09-16 12:40:20 +00:00
nyan
71709394dd
MFi386: sys/isa/fd.c revision from 1.205 to 1.219.
2001-09-16 12:39:59 +00:00
nyan
d7801d853b
Allocate i/o and memory resources using gdc driver.
2001-09-16 12:38:39 +00:00
murray
d9b984188c
Recognize two cheap PCI 16550 devices :
...
CyberSerial (1-port) 16550
Oxford Semiconductor Dual Port 16550
Sort the list of PCI devices while I'm here.
2001-09-16 11:14:56 +00:00
imp
74241d566e
Ian Dowse had closed the race a little more in card ejection events.
...
Maybe this will also fix the suprious eject events that we're seeing?
2001-09-16 06:12:16 +00:00
nyan
3efb3f1278
MFi386: added comment for ed driver.
2001-09-16 05:34:34 +00:00
nyan
6390eef1b3
MFi386: cosmetic changes.
2001-09-16 05:34:05 +00:00
nyan
c6bf00383f
MFi386: sys/isa/sio.c revision 1.301, 1.336, 1.337, 1.338, 1.339 and 1.342.
...
Removed unnecessary PnP moden entries.
2001-09-16 05:33:07 +00:00
nyan
d80c40a1b1
MFi386: sys/i386/isa/pcaudio.c revision 1.59 and 1.61.
2001-09-16 05:30:59 +00:00
nyan
d76daa601a
MFi386: sys/i386/isa/mse.c revision 1.54 and 1.55.
2001-09-16 05:30:08 +00:00
nyan
0588ccfa1a
MFi386: sys/i386/isa/clock.c revision 1.175 and 1.176.
2001-09-16 05:29:27 +00:00
nyan
9313ae499c
Added (commented out) ACPI attachment.
2001-09-16 05:28:16 +00:00