cognet
64f4176c9e
Use while (*controlp != NULL) instead of do ... while (*control != NULL)
...
There are valid cases where *controlp will be NULL at this point.
Discussed with: dwmalone
2003-04-14 14:44:36 +00:00
ticso
57c77ee3ed
Use a sim for each device on it's own instead of one for all umass
...
devices.
This reduces complexity and fixes a number of small problems.
Approved by: gallatin (mentor)
Reviewed by: njl
2003-04-14 14:28:17 +00:00
simokawa
1cfbbefd6c
Panic if bus_dmamap_load() doesn't respect maxsegsz.
2003-04-14 14:17:49 +00:00
ticso
74d6d25d1a
add EHCI (USB 2.0) controller support.
...
Approved by: joe
gallatin (mentor)
Obtained from: NetBSD
2003-04-14 14:04:08 +00:00
simokawa
bdfca1b9c1
Restore delayed load support for the resource shortage case.
...
It was missed in the previous change.
Now, _bus_dmamap_load_buffer() accepts BUS_DMA_WAITOK/BUS_DMA_NOWAIT flags.
Original idea from: jake
2003-04-14 13:21:40 +00:00
tjr
bb06bbb4a0
Merge in vfprintf.c rev. 1.58.
2003-04-14 12:15:59 +00:00
das
2fd827a8bc
Add a test case for printf("%5.0f", 0.001).
2003-04-14 11:26:32 +00:00
das
c01851b648
Fix a bug where printf was erroneously printing a decimal point for
...
%f and sufficiently short %g specifiers where the precision was
explicitly zero, no '#' flag was specified, and the floating point
argument was > 0 and <= 0.5. While at it, add some comments to better
explain the relevant bits of code.
Noticed by: Christoph Kukulies <kuku@physik.rwth-aachen.de>
2003-04-14 11:24:53 +00:00
sobomax
6efce81948
Before attaching device set PCIM_CMD_PORTEN in addition to
...
PCIM_CMD_MEMEN and PCIM_CMD_BUSMASTEREN, becaise some braindead
BIOSes (such as one found in my vprmatrix notebook) forget
to initialize it properly resulting in attachment failure.
2003-04-14 09:45:25 +00:00
phk
3f6cd8397d
Avoid off_t -> integer overflow when sorting the locksector addresses.
2003-04-14 09:36:39 +00:00
phk
c10cd4d964
More correct patch: Only call biofinish if we have not already sent
...
any children down the mesh.
2003-04-14 08:49:54 +00:00
maxim
da1c42b4c0
o Skip timestamp part when checking payload.
...
PR: bin/50909
Submitted by: Barney Wolff <barney@lab.databus.com>
2003-04-14 08:34:14 +00:00
phk
e27444e997
Call biofinish() also when we get a malloc() failure.
2003-04-14 08:08:17 +00:00
tjr
1287890a35
Uncomment the description of the -f option. Add rfork() to the list of
...
system calls it displays stats about.
PR: 50924
2003-04-14 07:22:25 +00:00
tjr
ddd5b3a66d
Reimplement the vmstat -f option (display fork statistics).
...
PR: 50924
Submitted by: Ken Stailey (with a few changes)
2003-04-14 07:21:03 +00:00
simokawa
a350d6ddb9
* Use _bus_dmamap_load_buffer() and respect maxsegsz in bus_dmamap_load().
...
Ignoring maxsegsz may lead to fatal data corruption for some devices.
ex. SBP-2/FireWire
We should apply this change to other platforms except for sparc64.
MFC after: 1 week
2003-04-14 04:19:42 +00:00
alc
a05b4b3347
Update locking on the kernel_object to use the new macros.
2003-04-14 00:36:53 +00:00
alc
e241ee6007
Lock some manipulations of the vm object's flags.
2003-04-13 23:43:34 +00:00
silby
48600489e7
Update the list of devices supported to match the driver.
...
MFC after: 2 days
2003-04-13 23:31:47 +00:00
silby
41c5b55e03
Add info on how to use the MBUF_STRESS_TEST options. (Only 1 option
...
at present.)
2003-04-13 23:31:06 +00:00
phk
a9021891fc
Use symbolic constants from <sys/diskmbr.h> instead of local constants.
...
Always set the magic sequence when we write, rather than trusting the
previously read boot code to do so.
Use explicit encoding/decoding of little endian disk image.
Remove a comment which was OBE.
Change the test vector for "fdisk -I" to reflect that there is a magic
sequence in the result now.
Add test case for "fdisk" which reads the image back.
At least for the two test-cases this program now gives the same result
on sparc64 as on i386. The lack of an installed /boot/mbr on sparc64
raises an (un)interesting question.
2003-04-13 21:57:08 +00:00
jake
08ad0d0b12
- Move the routine for flushing all user mappings from the tlb from pmap to
...
the cpu dependent files. It will need to be done differently for USIII.
- Simplify the logic for detecting context rollovers. Instead of dealing
with it when the next context switch would cause the context numbers to
rollover, deal with it when they actually do rollover.
- Move some things around in cpu_switch so that we only do 1 membar #Sync
when switching address space, instead of 2.
- Detect kernel threads by comparing the new vm space to vmspace0, instead
if checking if the tlb context is 0.
- Removed some debug code.
2003-04-13 21:54:58 +00:00
phk
718ebc1291
Add definitions for location of the magic sequence and the length
...
of a partition entry.
2003-04-13 21:52:22 +00:00
phk
2ceb0a613a
Pull in the encoding/decoding functions for struct dos_partition.
...
Add a very simple regression test for "fdisk -I".
2003-04-13 21:34:16 +00:00
jake
0827d0138a
Made vmspace0 non-static. Its useful to be able to identify a vmspace as
...
the kernel vmspace.
2003-04-13 21:29:11 +00:00
alc
a921c15d0e
Lock some manipulations of the vm object's flags.
2003-04-13 20:22:02 +00:00
alc
eac23cf75a
Lock some manipulations of the vm object's flags.
2003-04-13 19:36:18 +00:00
bmah
56a4ceacb3
Add sbsh(4) entry.
2003-04-13 19:15:30 +00:00
bmah
0fabc2f778
New release notes: sbsh(4), mixer(8) relative adjustments,
...
mount_nfs(8) noinet4/noinet6, usbhidaction(1), xargs(1) -o.
2003-04-13 19:15:08 +00:00
alc
0dbe173de2
Add new macros for locking and unlocking a vm object.
2003-04-13 18:39:47 +00:00
ru
0a9a218038
yacc(1) with skeleton.c rev. 1.29 in HEAD and rev. 1.28.2.1 in RELENG_4,
...
and onwards, are believed to not require bootstrapping.
2003-04-13 16:26:31 +00:00
ru
d684a7cc03
xargs.c rev. 1.10 in HEAD and rev. 1.9.2.1 in RELENG_4,
...
and onwards, have support for the -J option we need.
2003-04-13 16:05:28 +00:00
ru
bbfe17206a
elf2aout.c,v 1.6 and onwards have no known backward compatibility issues.
2003-04-13 15:43:29 +00:00
phk
bf262ea8a8
Since dynamic allocation of device major numbers so far have not
...
resulted in any earthquakes, civil wars or early onset hair-loss,
I think we can do without the printf announcing the assigned number.
2003-04-13 15:27:49 +00:00
ru
a501663ce7
uudecode.c rev. 1.23 in HEAD and rev. 1.13.2.3 in RELENG_4,
...
and onwards, have no known backwards compatibility issues.
2003-04-13 15:09:26 +00:00
ru
0f4764dcd5
Only create directories that are really needed.
2003-04-13 14:34:17 +00:00
bde
281a16727c
Oops. Back out a style "fix" in the previous commit. SRCS must be defined
...
although there is only one file in it because the file is misnamed main.c
so the default of isdntest.c doesn't work.
2003-04-13 14:21:56 +00:00
bde
07ee1f9a02
Silence `make -s' (echo -> ${ECHO}).
...
Fixed some style bugs.
2003-04-13 14:16:06 +00:00
bde
b290b293cf
Silence `make -s' (echo -> ${ECHO}).
2003-04-13 14:13:28 +00:00
ru
5ce64464d0
Install bootstrap-tools into a separate subtree of ${WORLDTMP}.
...
This allows us to use them as early as possible while building
bootstrap-, build-, and cross-tools. Some cleanups to follow.
This change resolves the gperf(1) bootstrapping issue (missing
-E option) in gnu/usr.bin/cc/cc1plus while in the cross-tools
stage when upgrading from 4.0-RELEASE.
2003-04-13 11:42:55 +00:00
phk
8442c472ba
Remove the "run GEOM in userland harness" test stuff, it's been OBE.
2003-04-13 09:11:47 +00:00
phk
54f789d581
Give mdconfig a couple of seconds to deconfigure in case debugging is being
...
printed to a serial console.
Reverse the order of args to diff to make it more logical.
2003-04-13 09:06:39 +00:00
phk
03b1ca36ba
Time has run from the "run GEOM in userland" harness, and the new regression
...
test is built to test GEOM as running in the kernel.
This commit is basically "unifdef -D_KERNEL" to remove the mainly #include
related code to support the userland-harness.
2003-04-13 09:02:06 +00:00
bde
0f2f76bb73
Include <signal.h> instead of depending on namespace pollution in
...
<sys/param.h>. Include <sys/types.h> instead of of <sys/param.h>
so that further such dependencies don't develop.
2003-04-13 08:47:30 +00:00
bde
93c5f89d55
Fixed some style bugs in rev.1.44.
2003-04-13 08:27:35 +00:00
fjoe
be4b773002
Driver for Granch SBNI16 SHDSL modem
...
Submitted by: Denis I. Timofeev <timofeev@granch.ru>
MFC after: 1 week
2003-04-13 06:27:13 +00:00
hsu
82569e4294
No need to unlock if error detected before locking.
...
Submitted by: harti
2003-04-13 06:21:02 +00:00
fjoe
171e2e781e
manual page for Granch SBNI12-xx network interface driver
2003-04-13 06:13:47 +00:00
alc
227f7746c4
Use vm_object_pip_wait() rather than reimplementing it.
2003-04-13 05:10:44 +00:00
nyan
4aa76c4dfd
The dpt, ex and idt modules are for i386 only.
2003-04-13 01:32:03 +00:00