Juli Mallett
d196a10856
Note that scbus is required for SCSI, not just "required" in general.
...
Submitted by: Edward Kaplan (tmbg37 on IRC)
Reviewed by: rwatson (in principle)
2003-06-08 02:03:02 +00:00
Jeff Roberson
b90816f188
- When a new thread is added to a kseq the load is incremented prior to
...
adding it to the nice tables. Therefore, in kseq_add_nice, we should
keep in mind that the load will be 1 if we are the only thread, and not
0.
- Assert that the sched lock is held in all the appropriate places.
- Increase the scope of the sched lock in sched_pctcpu_update().
- Hold the sched lock in sched_runnable(). It is not held by the caller.
2003-06-08 00:47:33 +00:00
Alan Cox
984a95d563
Lock the kernel object in kmem_alloc().
2003-06-07 23:24:10 +00:00
Alan Cox
36d1fdf5a2
Teach vm_page_grab() how to handle the vm object's lock.
2003-06-07 23:22:04 +00:00
Poul-Henning Kamp
9ef521ec86
Augh! Fix the sparc64 build:
...
If we don't have a default label location for the compiled architecture,
insist that a -m <architecture> option is specified.
2003-06-07 22:02:01 +00:00
David E. O'Brien
1021f44ab9
This commit was generated by cvs2svn to compensate for changes in r115990,
...
which included commits to RCS files with non-trunk default branches.
2003-06-07 20:54:30 +00:00
David E. O'Brien
dfbebb8f61
Vendor import emu10k1.h from version 0.9.4 of the ALSA driver (which
...
includes some needed Audigy support). This can be found at
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.9.4.tar.bz2
and http://www.alsa-project.org/alsa/cvs/alsa-kernel/include/emu10k1.h
2003-06-07 20:54:30 +00:00
Warner Losh
e08a16f0df
MFp4:
...
Migrate some common pccard code into exca.
2003-06-07 20:47:35 +00:00
Warner Losh
090555da5b
MFP4:
...
Merge some common code from cbb into exca.
2003-06-07 20:46:39 +00:00
Alan Cox
19ba4c8e49
Assert that the vm object is locked on entry to swap_pager_freespace().
2003-06-07 20:43:16 +00:00
Warner Losh
bb22b14154
Simplify the power code somewhat (this makes the module about 100
...
bytes smaller).
2003-06-07 20:18:45 +00:00
Ruslan Ermilov
5942defa41
This commit was generated by cvs2svn to compensate for changes in r115984,
...
which included commits to RCS files with non-trunk default branches.
2003-06-07 20:18:23 +00:00
Ruslan Ermilov
cc60c35de4
2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
...
* tmac/groff_mdoc.man: Slight improvements.
2003-06-07 20:18:23 +00:00
Ruslan Ermilov
c29e78e78f
This commit was generated by cvs2svn to compensate for changes in r115982,
...
which included commits to RCS files with non-trunk default branches.
2003-06-07 20:17:38 +00:00
Ruslan Ermilov
48466d8c42
2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
...
* tmac/X.tmac: Fix definition of `em'.
2003-06-07 20:17:38 +00:00
Scott Long
4e89f2d88f
Sanity check the list obtained from the kern.disks sysctl so that Disk_Names()
...
doesn't get fooled into returning a bogus list. This should fix sysinstall
from segfaulting when no disk devices are present.
2003-06-07 20:02:56 +00:00
Hajimu UMEMOTO
f9b96756eb
follow dhcp_* changes.
2003-06-07 19:40:54 +00:00
Warner Losh
05674b755f
Use stdlib.h for getopt interface.
2003-06-07 19:13:57 +00:00
Warner Losh
09f4f53b9c
remove unnecessary '?' from getopt string
2003-06-07 18:46:30 +00:00
Warner Losh
5cd1bcb2a9
MAXPATHLEN includes trailing NUL
2003-06-07 18:45:45 +00:00
Warner Losh
df001cb7b8
Use safer strlcpy and snprintf interfaces
2003-06-07 18:44:04 +00:00
Warner Losh
cabaa3ba21
Get getopt interface from unistd.h
2003-06-07 18:43:09 +00:00
Warner Losh
723a65e8f7
Get getopt interface from unistd.h
2003-06-07 18:35:45 +00:00
Jake Burkholder
2c7df6a555
Implement OF_interpret.
...
Obtained from: netbsd
2003-06-07 18:34:04 +00:00
Warner Losh
498c24eea5
Don't need to redundantly redeclare optreset.
2003-06-07 18:33:18 +00:00
Jake Burkholder
3e7f1990ff
- Declare sparc64_memreg and sparc64_nmemreg in machine/ofw_mem.h.
...
- On startup print the total physical memory, instead of what we're told is
free by the firmware, to avoid astonishing users.
2003-06-07 18:29:29 +00:00
Jake Burkholder
9fabb18288
BKPT_INST is supposed to be a breakpoint, not 0.
2003-06-07 18:24:37 +00:00
Jake Burkholder
1030d2ba0b
Use the same SEARCH_DIR as other platforms.
2003-06-07 18:23:50 +00:00
Warner Losh
59d855a0fe
When boot strapping from older systems, don't specify a C standard in
...
the bootstrap process. This allows one to more completely build from
a -stable box.
Reviewed by: ru@ (briefly)
2003-06-07 18:16:12 +00:00
David E. O'Brien
d104f0300a
Consistently use __inline for pure c89 compilers.
...
Submitted by: Tim Kientzle <kientzle@acm.org>
2003-06-07 18:12:30 +00:00
Bruce A. Mah
e3d7552bed
MFP4: First release notes for 5.1-CURRENT.
2003-06-07 17:46:28 +00:00
Bruce A. Mah
889a2bef63
MFP4: First errata items for 5.1-RELEASE.
2003-06-07 17:46:09 +00:00
David E. O'Brien
9b8d527fef
Add ${AFLAGS} to 'as' invocation.
2003-06-07 17:42:26 +00:00
Bruce A. Mah
0d7d990649
Update release documentation version numbers for 5.1-CURRENT.
...
Trim release documentation and errata. While here, put back
some conditional text in the errata that was removed during
5.0-RELEASE and never put back.
2003-06-07 17:38:18 +00:00
Poul-Henning Kamp
84c080a85e
Improve the root-dev prompt facility for printing devices which could
...
possibly be a root filesystem.
2003-06-07 15:46:53 +00:00
Poul-Henning Kamp
ac2ba9e3d5
Wait for everything to settle before we try to print the list of
...
geom devices.
2003-06-07 15:32:09 +00:00
Poul-Henning Kamp
b61e8fed30
Make sure we return an error message if the geom parameter is not
...
located.
2003-06-07 15:31:44 +00:00
Søren Schmidt
c283397793
Fix the setup of old Promise controllers, clocks was not setup right
...
causing way too low transfer rates.
Enable interrupts on old CMD64[89] chips, apparently some bogus BIOS's
doesn't get this right.
2003-06-07 15:19:16 +00:00
John Baldwin
1beb381637
- Adjust the comment about re-routing PCI interrupts to be less
...
ia64-specific.
- When trying to re-route interrupts, don't change cfg->intline if the
re-route fails by returning an invalid vector. This fixes machines
without any way of routing interrupts such as older PC's without a
$PIR table.
We do not currently write the new intline value back to the hardware, but
we should. That will likely be added in a later commit.
2003-06-07 15:00:19 +00:00
Maxime Henrion
ae94787d6d
Finish the implementation of the -p switch so that it
...
actually works. I have no idea why this wasn't finished
and happened to try to use it.
2003-06-07 14:36:49 +00:00
John Baldwin
9dc9d63d01
Reinstate the bug fix in revision 1.2 as it is correct. The errors I saw
...
on my laptop after this change were the result of a bug in the ACPICA code.
2003-06-07 14:34:18 +00:00
Poul-Henning Kamp
c44c213f24
Polishing and nitpicking.
2003-06-07 11:06:44 +00:00
Mike Makonnen
4fb3a3060c
Allow the optional setting of a user, primary group, or grouplist
...
when chrooting.
Obtained from: NetBSD
MFC after: 4 weeks
2003-06-07 10:56:12 +00:00
Poul-Henning Kamp
df2c3922e9
Drop a memory-corruption debugging test-tool.
2003-06-07 10:55:48 +00:00
Mike Makonnen
d679c13014
The dhcp_program and dhcp_flags variables have to be renamed to
...
take advantage of the rc.subr(8) glue. They are renamed dhclient_program
and dhclient_flags.
o Rename them in rc.conf(5)
o Rename them in /etc/defaults/rc.conf
o Add the deprecated variables to /etc/rc.subr
o Isolate the use of the 'command' variable to the
NetBSD specific parts in /etc/rc.d/dhclient.
o Now that dhcp_flags has also been renamed it will
be applied properly by rc.subr(8) glue code.
Reported by: John Nielsen <john@jnielsen.net>
2003-06-07 10:31:17 +00:00
Poul-Henning Kamp
a1a9b44569
Add missing va_end() calls.
...
Noticed by: tmm
2003-06-07 10:16:53 +00:00
Poul-Henning Kamp
246300f212
Sanitize setting of labeloffset and labelsector.
2003-06-07 09:09:39 +00:00
Poul-Henning Kamp
2d20f433ed
Sanitize the LABELSECTOR & LABELOFFSET definitions:
...
Remove sparc64 definitions.
Remove fallback definitions.
2003-06-07 09:06:39 +00:00
Yoshihiro Takahashi
d83e355c40
MFi386: revisions 1.13 and 1.14.
2003-06-07 08:36:41 +00:00
Yoshihiro Takahashi
9dc6f42671
Merged from RELENG_5_1: Don't use MUTEX_NOINLINE.
2003-06-07 08:26:19 +00:00