Commit Graph

107724 Commits

Author SHA1 Message Date
keramida
b76c8230d8 Fix requirement of network' to NETWORK' because the former isn't
provided by any rc.d script.

Approved by:	mtm
2004-09-16 17:03:12 +00:00
hrs
b3b16823b1 Disconnect early-adopter/ from the build. 2004-09-16 16:46:37 +00:00
phk
f64f545f1b Missed a place where snapshots were allocated in my last commit to
this file.
2004-09-16 15:58:18 +00:00
fjoe
d1fc3f715d g_nop_create: destroy newly created provider in case of errors. 2004-09-16 15:28:48 +00:00
mtm
a9c80017cb Implement cancellation points in libc interfaces, as specified by POSIX. 2004-09-16 13:55:46 +00:00
phk
ac9fbeda6b Use the tty->t_sc field to find our softc. 2004-09-16 12:07:25 +00:00
phk
d722b13cc9 Add fields to struct tty for the initial/lock * tty/cua states. 2004-09-16 10:43:47 +00:00
sos
5e47949002 Ignore leading '_' in model name returned by devices.
This make "_NEC" devices appear as "NEC" which is more corrent.
The reason is tha NEC originally screwed up on the byteorder in the
model string, so now that they have realized that they prefixed the '_'
so that not every ATA driver on the planet would call them "EN C" :)
2004-09-16 09:35:01 +00:00
julian
f1d8b58078 clean up thread runq accounting a bit.
MFC after:	3 days
2004-09-16 07:12:59 +00:00
imp
a59db38e02 default: case shouldn't set an error yet either. 2004-09-16 06:37:05 +00:00
imp
a3f3052036 Reserve the DMA memory at attach time, rather than at use. While
reserving it at use time is more miserly, low memory (< 16MB)
evaporates quickly on many systems, so there may not be any suitable
buffers available.  This specifically doesn't use the newer, fancier
isa_dma_init to ease merging to 5.

Reviewed by: tegge, phk
2004-09-16 06:34:00 +00:00
phk
aa8670164c whitespace change 2004-09-16 06:00:52 +00:00
julian
bc75e52812 e specific code to revert a partial add ot teh run queue, not
remrunqueue() which can't handle a partially added thread.

MFC after:	1 week
2004-09-16 05:37:40 +00:00
scottl
4f65f7a054 If the timeout handler runs and notices that commands are timed out, check
the firmware status register on the card to see if the firmware is still
running.  There is no way to recover from this, but at least it can give
a hint as whether the car has crashed (which happens all too often).

MFC after: 3 days
2004-09-16 02:37:40 +00:00
imp
115d3d2faf For the moment, treat failures to attach floppy drives as non-fatal
errors for the attachment process for the floppy controller.  This is
a band-aide because it doesn't try any of the fallback methods when
_FDE isn't long enough, but should be sufficient for people
experiencing the dreaded mutex not initialized panic.
2004-09-16 01:51:21 +00:00
peter
2b83bf6cfb Update path to c++ internals includes for the 3.4 location.
No longer use make -k since the libraries target should build now.
Remove hacks for gnu/lib/libregex.
2004-09-16 01:41:11 +00:00
peter
c3e3fdf9db Be explicit about which regex.h file we are including. This reduces the
need for hack workarounds in tools/lib32/build32.sh.
2004-09-16 01:39:13 +00:00
peter
44bb65fc5d Add libmagic to the explicit build-tools list. 2004-09-16 00:22:59 +00:00
sobomax
85c0bbdd71 Backout the code which tries to use undocumented way to determine if
fm801 has sound capabilities or not. Unfortunately this code doesn't
work as expected.

Submitted by:	many
MFC after:	3 days
2004-09-15 23:47:17 +00:00
julian
946be52369 Fix breakpoint handling for i386.
not sure yet about 5.x... MFC if needed.
Also fixes small problems with examining some registers and
some specific gdb transfer problems.

	As the patch says:
	This is not a pretty patch and only meant as a temporary
	fix until a better solution is committed.

PR:		i386/71715
Submitted by:	Stephan Uphoff <ups@tree.com>
MFC after:	1 week
2004-09-15 23:26:49 +00:00
peter
081a33b6dd Make libcrypto/libssh cross compile 2004-09-15 23:15:53 +00:00
peter
27d5b02271 Fix typo in rev 1.2 "-DNOINFOall" should be "-DNOINFO all" 2004-09-15 23:01:28 +00:00
phk
7a92c02486 Remove unused B_WRITEINPROG flag 2004-09-15 21:49:22 +00:00
phk
01d40dd57c Simplify initialization of va_null a little bit. 2004-09-15 21:42:03 +00:00
des
5420294f63 Comment lines may have leading whitespace.
PR:		71773
Submitted by:	Antoine Brodin <antoine.brodin@laposte.net>
2004-09-15 21:10:46 +00:00
phk
47977544b7 undent some functions a bit. 2004-09-15 21:08:58 +00:00
phk
3db6b9815f stylistic polishing. 2004-09-15 20:54:23 +00:00
andre
526fe5744f Clarify some comments for the M_FASTFWD_OURS case in ip_input(). 2004-09-15 20:17:03 +00:00
andre
c469b6febd Remove the last two global variables that are used to store packet state while
it travels through the IP stack.  This wasn't much of a problem because IP
source routing is disabled by default but when enabled together with SMP and
preemption it would have very likely cross-corrupted the IP options in transit.

The IP source route options of a packet are now stored in a mtag instead of the
global variable.
2004-09-15 20:13:26 +00:00
des
33d9a1c8a1 My fingers keep typing 'burncd data foo fixate eject' instead of 'burncd -e
data foo fixate'.  Humor them.

MFC after:	4 weeks
2004-09-15 19:03:35 +00:00
kwm
9868985847 Park my birthday truck in this free space.
Approved by:	pav (mentor)
2004-09-15 19:03:27 +00:00
des
bf6e5c8efb Mechanical whitespace cleanup. 2004-09-15 19:01:08 +00:00
alc
1c645b800b Update to reflect recent changes such as the fields for O(log n) address
space allocation.

Submitted by: Mark W. Krentel
2004-09-15 18:41:10 +00:00
julian
9781017803 Try harder to get back to being a non threaded process.
Submitted by:	DavidXu
MFC after:	3 days
2004-09-15 18:39:09 +00:00
sos
c2ffa1853d Flush the queue of minor fixes to pst. 2004-09-15 15:39:28 +00:00
phk
42efc44584 Add new a function isa_dma_init() which returns an errno when it fails
and which takes a M_WAITOK/M_NOWAIT flag argument.

Add compatibility isa_dmainit() macro which whines loudly if
isa_dma_init() fails.

Problem uncovered by:	tegge
2004-09-15 12:09:50 +00:00
phk
bd5d479633 Remove now unused #include files. 2004-09-15 12:02:35 +00:00
phk
4e51b1e069 #include <isa/isavar.h> instead of <i386/isa/isa_dma.h> 2004-09-15 11:58:34 +00:00
sos
0ec7dcc460 Distinguish between TCQ and NCQ type of tagged queing. 2004-09-15 11:22:05 +00:00
delphij
cafcadd90b Clear all "active partition" bits before we set a new one.
This adds a safebelt that prevents users to mark more than
one "active" partitions, which will lead to a unbootable
machine, especially in multi-boot configurations.

PR:		bin/71404
MFC After:	3 days
Approved by:	murray (mentor)
2004-09-15 08:19:03 +00:00
brooks
94b77633be Use "cp -f" instead of "rm" and "cp" to break the hardlink to
device.hints.

Submitted by:	ru
2004-09-15 05:14:21 +00:00
brooks
9a51cc9899 Fix a LOR where copyout was called while holding a lock.
Reported by:    rwatson
2004-09-15 04:41:56 +00:00
julian
a4a27f3bd9 Oops accidentally removed #ifdef SCHED_4BSD
as part of another commit
This function is not yet used in ULE
2004-09-15 03:51:51 +00:00
alc
7be0c93029 Fix a typo that affects !i386. 2004-09-15 03:39:18 +00:00
seanc
985d9d8738 Add a mention of the ntpd_sync_on_start tunable.
Requested by:	maxim
2004-09-15 01:39:25 +00:00
seanc
c21072f9bb Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't a
complete backout as the ntpd_sync_on_start etc/rc.conf tunable is still
present, though the default is now NO (was YES).  Since we're no longer
syncing time at startup by default when ntpd is enabled (as was the case
24hrs ago), remove UPDATING entry pointing out that ntpd(1) -g is slower
than ntpdate(1).

Hopefully ntpd_sync_on_start="YES" can be made the default for -CURRENT
after 5.3 is cut.  At the very least, this should be set to YES when a
user requests to have ntpd enabled via sysinstall(1).

Requested by:	many
2004-09-15 01:08:33 +00:00
wpaul
37192113ee Add missing NGE_LOCK_DESTROY() to nge_detach(). 2004-09-14 22:32:58 +00:00
wpaul
f4ea188925 Make two major changes to this code to address some stability/corruption
problems:

1) Add locking for SMP, code provided by Alan Cox
2) While testing Alan's patches, I observed serious problems with
   the jumbo buffer allocation code (machine crashed twice), so I gutted
   it and rewrote the receive handler to use multiple chained descriptors.
   Each RX descriptor gets a single 2K cluster, and the chip will fill in
   as many as it needs to hold the complete packet.

User reports that this corrects the data corruption issues previously
observed and discussed on -current.

Note that this driver still needs to be hit with the busdma stick.
I intend to inflict said beating in the near future.

MFC after: 1 week
2004-09-14 22:06:25 +00:00
tegge
d7c567ad1e Correct polarity of packet mode bit.
Problem discovered when 'boot0cfg -B -v -o packet -s 2 ad4' turned off
packet mode while reporting it as being enabled.
2004-09-14 21:58:30 +00:00
tegge
a6b1c0f019 boot0 defaults to packet mode. 2004-09-14 21:48:25 +00:00