Poul-Henning Kamp
db42ff97da
Remove unused FDNUMTOUNIT() macro
2004-02-29 10:21:40 +00:00
Poul-Henning Kamp
74cc032b41
Give DDB a "watchdog" command which disables all watchdogs.
2004-02-29 09:55:32 +00:00
Jens Schweikhardt
d6bfbcc360
Make rmuser now also remove ipc resources. Also, fix a few minor
...
shell style problems (superfluous backslashes at EOL).
PR: 55980
Submitted by: Chris S.J.Peron <maneo@bsdpro.com>
MFC after: 2 weeks
2004-02-29 09:54:15 +00:00
Søren Schmidt
9a19089d86
Rearrange sense_key and sense_data to get alignment right.
...
Submitted by: Marcel
2004-02-29 09:35:29 +00:00
Scott Long
474e30f0b1
All three of these drivers abused cv_waitq_empty in the same way by spinning
...
on it in hopes of making sure that the waitq was empty before going on.
This wasn't needed and probably never would have worked as intended. Now
that cv_waitq_empty() and friends are gone, the code in these drivers that
spins on it can go away too. This should unbreak LINT.
Discussed with: kan
2004-02-29 09:26:01 +00:00
Bruce Evans
77585df415
Fixed style bugs in previous commit (.ifndef instead of .if defined(),
...
and tab lossage).
Garbage-collected NEED_LIBNAMES.
2004-02-29 06:39:11 +00:00
Peter Grehan
80bd99be33
Bring to working PIO state.
...
- use correct rid when allocating PCI mem resource
- ATA taskfile registers are indeed spaced 0x10 apart just like
the Macio ATA cell. Adjust offsets in ATA channel struct.
Tested by: Suleiman Souhlal <ssouhlal@vt.edu>
2004-02-29 06:01:16 +00:00
Bruce A. Mah
77990834a3
Modified release notes: More ports affected by thread-safe resolver
...
ABI change [1], ACPI 20040220.
Submitted by: marcus [1]
2004-02-29 02:20:21 +00:00
Brian Feldman
2e8fe46f97
Further shuffle runcom ordering so that netif does not start before
...
ipfw, but ipfw and ipfilter do start before dhclient.
2004-02-29 01:42:48 +00:00
Marcel Moolenaar
b55a929477
uteval.c gained a warning (cast discards qualifiers from pointer target
...
type) after vendor import of ACPICA 20040220. Add nowerror.
2004-02-28 23:04:45 +00:00
Lukas Ertl
06aed75cac
Add MLINKs for MALLOC_DEFINE and MALLOC_DECLARE.
...
Approved by: grog (mentor)
2004-02-28 23:01:20 +00:00
Bruce A. Mah
f5687a43d2
Added errata items: SA-04:03, __FreeBSD_version glitch in
...
porters-handbook for 5.2.1 docset.
Made this document apply to 5.2.1-RELEASE as well by noting this in
the abstract and noting errata items that were fixed/addressed in
5.2.1.
2004-02-28 22:49:15 +00:00
Nate Lawson
2881b39793
Call _INI on Thermal Zones as well as devices.
2004-02-28 22:43:18 +00:00
Poul-Henning Kamp
961af6677b
Add support for the watchdog in Geode SC1100 which is used in embedded
...
systems like the Soekris NET4801
2004-02-28 22:33:28 +00:00
Poul-Henning Kamp
3d6e5ccb06
Make sure to disable the watchdog if we cannot honour the timeout.
2004-02-28 22:01:19 +00:00
Max Laier
278445ba35
Add skeleton build dirs for pf userland:
...
libexec/ftp-proxy - ftp proxy for pf
sbin/pfctl - equivalent to sbin/ipf
sbin/pflogd - deamon logging packets via if_pflog in pcap format
usr.sbin/authpf - authentification shell to modify pf rulesets
Bring along some altq headers used to satisfy pfctl/authpf compile. This
helps to keep the diff down and will make it easy to have a altq-patchset
use the full powers of pf.
Also make sure that the pf headers are installed.
This does not link anything to the build. There will be a NO_PF switch for
make.conf once pf userland is linked.
Approved by: bms(mentor)
2004-02-28 21:50:50 +00:00
Maxim Konovalov
4b40c43af8
o Now when the Cold War is ended we can confess our pppd(8) supports
...
CBCP (Call Back Configuration Protocol). Document 'callback phone_number'.
Obtained from: NetBSD (pppd/pppd.8, rev. 1.26)
MFC after: 3 weeks
2004-02-28 21:32:40 +00:00
Poul-Henning Kamp
4103b7652d
Rename the WATCHDOG option to SW_WATCHDOG and make it use the
...
generic watchdoc(9) interface.
Make watchdogd(8) perform as watchdog(8) as well, and make it
possible to specify a check command to run, timeout and sleep
periods.
Update watchdog(4) to talk about the generic interface and add
new watchdog(8) page.
2004-02-28 20:56:35 +00:00
Nate Lawson
2676fbe88c
Strip out new, unused file acnetbsd.h
2004-02-28 20:56:25 +00:00
Nate Lawson
fd73230997
This commit was generated by cvs2svn to compensate for changes in r126380,
...
which included commits to RCS files with non-trunk default branches.
2004-02-28 20:42:10 +00:00
Nate Lawson
0161891aa1
Fix an off-by-one in the compiler path. Originally from iwasaki-san's
...
patches for the pmtools port. This change has been submitted to Intel.
2004-02-28 20:42:10 +00:00
Nate Lawson
4c80f45557
Local change: emulate a ReturnOp if the AML expects one but it isn't
...
present. Some buggy BIOSs do not have a ReturnOp even though it is
required for a function to return a value.
2004-02-28 20:40:24 +00:00
Nate Lawson
e222f620d1
Local change: In the resume path, give up after waiting for a while
...
for WAK_STS to be set. Some BIOSs never set it.
2004-02-28 20:39:50 +00:00
Nate Lawson
56491b7ba0
Local change: Allow access to the field if it is within the region
...
size rounded up to a multiple of the access byte width. This overcomes
"off-by-one" programming errors in the AML often found in Toshiba
laptops.
2004-02-28 20:39:09 +00:00
Nate Lawson
7420bf68bb
Local change: Put various debugging options under ACPI_DISASSEMBLER.
2004-02-28 20:38:40 +00:00
Nate Lawson
96f2784ee5
Unchanged files from ACPICA 20040220 that are off the vendor branch.
2004-02-28 20:35:57 +00:00
Nate Lawson
2a2a3f2735
Vendor import of ACPICA 20040220
2004-02-28 20:23:30 +00:00
Nate Lawson
6a5f0d2f49
This commit was generated by cvs2svn to compensate for changes in r126372,
...
which included commits to RCS files with non-trunk default branches.
2004-02-28 20:23:30 +00:00
Poul-Henning Kamp
2bedf807f4
Add contents to manualpage for generic watchdog facility.
...
Formatting likely to break several UN resolutions.
2004-02-28 20:08:41 +00:00
Poul-Henning Kamp
3e2c971172
Add a generic watchdog facility which through a single device entry
...
in /dev controls all available watchdog implementations.
2004-02-28 20:06:59 +00:00
Nate Lawson
e8577ac876
Clean all the object files whether or not ACPI_DEBUG is specified.
2004-02-28 19:51:44 +00:00
Robert Watson
768bbd68cc
Remove unneeded {} originally used to hold local variables for dummynet
...
in a code block, as the variable is now gone.
Submitted by: sam
2004-02-28 19:50:43 +00:00
Don Lewis
a3193a9ca3
Create a new mutex type for virtual channels. This allows us to get
...
rid of the MTX_DUPOK flag on channel mutexes, which allows witness to
do a better job of lock order checking. Nuke snd_chnmtxcreate() since
it is no longer needed.
Tested by: matk
2004-02-28 19:47:02 +00:00
Don Lewis
466f31e55b
Lock channels only as necessary in dsp_ioctl(), and only lock one
...
channel at a time unless it is actually necessary to lock both.
This avoids problems with lock order reversal and malloc() calls
with a mutex held when lower level code unlocks a channel, calls malloc(),
and relocks the channel. This also avoids the cost of some unnecessary
locking and unlocking.
Tested by: matk
2004-02-28 19:42:48 +00:00
Poul-Henning Kamp
81f403e452
Fix description which seems to have survived intact from more specific code.
2004-02-28 19:36:48 +00:00
Scott Long
b234a120c8
Switch from using mutexes to using semaphores to protect against early
...
completion of synchronous commands. Also switch to a per-array bioq as it
appears to improve performance.
Submitted by: mbr, imp.ch (bioq change)
2004-02-28 19:14:41 +00:00
Bruce A. Mah
46a51869c2
Add entry for udav(4) devices.
2004-02-28 18:44:52 +00:00
Bruce A. Mah
248bfd7247
Sorting fix: Put resolver(3) and killall(1) in the correct sorting
...
order in the userland section.
No other content changes.
2004-02-28 18:42:03 +00:00
Max Laier
23ecd01b79
Add local define of HTONL() as it was decided to protect this by _KERNEL
...
in <net/pfvar.h>
2004-02-28 18:41:43 +00:00
Bruce A. Mah
882bac220c
New release notes: SA-04:03, device driver megapatch, new file
...
descriptor allocation code, udav(4), TCP segment reassembly queue
update, EXT2FS large file support, geom_concat, indent(1) -ldi,
ifconfig(8) name, ip6fw(8) -n, libalias(3) new API, newfs(8)/mdmfs(8)
-l, re-entrant resolver(3) interfaces, savecore(8) large coredump
support, script(1) stdin bugfix, getopt_long(3) changes, gdtoa
20040118.
Modified release notes: Cross-reference resolver(3) rather than
resolver(5).
A number of these release notes were obtained from (or supplemented
by) Mark Johnston's weekly FreeBSD cvs-src summaries.
2004-02-28 18:40:53 +00:00
Max Laier
6a4fd102a4
This commit was generated by cvs2svn to compensate for changes in r126357,
...
which included commits to RCS files with non-trunk default branches.
2004-02-28 18:35:40 +00:00
Max Laier
3178c893b8
Missed those two during the original import. Taken from OpenBSD's util.h
...
Approved by: bms(mentor)
2004-02-28 18:35:40 +00:00
Søren Schmidt
dc7485d940
Issue a request sense command automagically when ATAPI commands fail
...
with a valid sense key.
2004-02-28 17:47:27 +00:00
Max Laier
8c8618f5e8
Apply diff from the port.
...
Rather small diff for the userland (in contrast to the kernel):
- Some header file location/differences
- Clean compilation on 64bit arch (identified by bento a long time ago)
- ALTQ not (yet) available. Leave a switch for patchsets and future ...
- most files can be used from the vendor branch
Approved by: bms(in general)
2004-02-28 17:32:53 +00:00
Max Laier
13b9f61009
Vendor import of OpenBSD's pf userland as of OpenBSD 3.4
...
Approved by: bms(mentor), core(in general)
2004-02-28 16:52:45 +00:00
Max Laier
bfc3fb6cc2
This commit was generated by cvs2svn to compensate for changes in r126353,
...
which included commits to RCS files with non-trunk default branches.
2004-02-28 16:52:45 +00:00
Ken Smith
653700758e
Previous commit mistakenly delayed cnadd() as well as make_dev().
...
Testing on cluster ref machine with just delaying make_dev() seems
to work, and results in printf() output appearing sooner in boot
cycle instead of going to /dev/null.
Caught by: bde
Pointy hat: kensmith
Approved by: rwatson (mentor)
2004-02-28 16:36:14 +00:00
Robert Watson
a7b6a14aee
Remove now unneeded arguments to tcp_twrespond() -- so and msrc. These
...
were needed by the MAC Framework until inpcbs gained labels.
Submitted by: sam
2004-02-28 15:12:20 +00:00
Christian Brueffer
c2a4d8794a
Connect udav.4 to the build and add MLINK to if_udav.4
2004-02-28 13:39:58 +00:00
Poul-Henning Kamp
1b4a8b8cfc
Add support for /dev/led/error on Soekris Net4801.
2004-02-28 13:15:53 +00:00