Poul-Henning Kamp
c252d16969
Link testcase 13 in.
2002-03-24 14:40:15 +00:00
Wilko Bulte
e38bec6c63
plip has produced an error during attach on Alpha as long as I care
...
to remember. Nobody in the right sense of their mind would run IP on
the parallel port on Alpha so comment this one out.
2002-03-24 14:35:20 +00:00
Poul-Henning Kamp
f72048de0e
Add a testcase for the alpha BSD label from beast.
2002-03-24 14:29:39 +00:00
Poul-Henning Kamp
7f7563188c
Make the BSD method width/endian agnostic and support alpha
...
architecture labels as well.
Sponsored by: DARPA, NAI Labs.
2002-03-24 14:27:31 +00:00
Poul-Henning Kamp
6ecdfd62c6
Add a copy of the bsd-label from beast.freebsd.org
2002-03-24 13:54:01 +00:00
Søren Schmidt
38009ef247
Add AMD 768 support.
2002-03-24 12:44:23 +00:00
Poul-Henning Kamp
116caf7cf7
Hide the ACPI counter probing printf behind bootverbose.
...
The conclusion is that this method really can tell the perfect from the
less than perfect ACPI counters.
It is in fact probably a bit more discriminative than that, but we
will rather condemn some otherwise perfect counters to the slightly
slower "-safe" version, than certify a counter as perfect which
will let us down later.
Many thanks to all the people who sent email reports!
2002-03-24 11:33:52 +00:00
David E. O'Brien
c543d983fa
Guard against redefining __gnuc_va_list.
2002-03-24 11:25:46 +00:00
Poul-Henning Kamp
06bce47d34
Update to reflect new contents of sys/geom
2002-03-24 11:22:06 +00:00
Poul-Henning Kamp
3773a65c0b
Be more systematic about conversion of on-disk formats in a endian/width
...
agnostic way.
Collapse the MBR and MBREXT methods into one file and make them endian/width
agnostic.
Sponsored by: DARPA & NAI Labs.
2002-03-24 11:21:41 +00:00
Jeff Roberson
f4af24d55d
Reset the cachefree statistics after draining the cache. This fixes a bug
...
where a sysctl within 20 seconds of a cache_drain could yield negative "USED"
counts.
Also, grab the uma_mtx while in the sysctl handler. This hadn't caused
problems yet because Giant is held all the time.
Reported by: kkenn
2002-03-24 10:56:11 +00:00
Marcel Moolenaar
9156494211
Undefine __FBSDID before defining it as it's already defined at
...
that point.
2002-03-24 10:28:04 +00:00
Alexander Leidinger
35e93d9bf9
Don't pretend to be a section 4 man page.
...
Approved by: joerg
2002-03-24 10:25:21 +00:00
Mark Murray
5ea7337834
Fix warns, ANSIfy, use __FBSDID(), sort headers.
2002-03-24 10:21:22 +00:00
Bruce Evans
c1cd65bae8
Fixed some style bugs in the removal of __P(()). Continuation lines
...
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
2002-03-24 10:19:10 +00:00
Bruce Evans
34fe62c776
Fixed some style bugs in the removal of __P(()). The main ones were
...
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses. Switch to KNF
formatting and/or rewrap the whole prototype in some cases.
2002-03-24 09:34:04 +00:00
Dima Dorfman
e10bdff354
A break after a return is useless.
2002-03-24 08:38:21 +00:00
Dima Dorfman
3afe2c7806
Fix braino.
2002-03-24 06:30:28 +00:00
Dag-Erling Smørgrav
083500e436
Remove spaces between (void) and function calls. Use TAILQ_FOREACH
...
instead of hand-rolled equivalent. Add curly braces for symmetry
around else.
2002-03-24 06:02:10 +00:00
Dag-Erling Smørgrav
91f3557e12
Parenthesize return values and pull an orphaned { back into the fold.
2002-03-24 05:52:04 +00:00
Dag-Erling Smørgrav
32b027945c
__FBSDID, ANSIfy function definitions, staticize functions and globals,
...
don't initialize globals to 0, some reindentation of declarations, some
comments added or reworded.
2002-03-24 05:48:37 +00:00
Dag-Erling Smørgrav
840f7e95d2
Un-__P().
2002-03-24 05:24:04 +00:00
Bruce Evans
70f52b4845
Fixed some style bugs in the removal of __P(()). The main ones were
...
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses. Switch to KNF
formatting and/or rewrap the whole prototype in some cases.
2002-03-24 05:09:11 +00:00
Bruce Evans
69c59d8703
Fixed some style bugs in the removal of __P(()). Continuation lines
...
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting in some cases.
2002-03-24 04:35:23 +00:00
Bruce Evans
bda2a3af25
Fixed some style bugs in the removal of __P(()). Continuation lines
...
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
2002-03-24 04:09:05 +00:00
Bruce Evans
4292735db9
Fixed some style bugs in the removal of __P(()). Tabs before "__P(("
...
were not removed.
2002-03-24 04:04:50 +00:00
Will Andrews
05f920205e
Minor changes:
...
[1] Support the Sony VAIO Jogdial in moused(8).
[2] Modify spic(4) to support additional Sony VAIO models.
Submitted by: [1] Juriy Goloveshkin <j@gu.ru>,
[2] Akira Funahashi <funa@funa.org>
Tested by: cjh, jim, Jerry A! <jerry@thehutt.org>
Approved by: nsayer
MFC after: 2 weeks
2002-03-24 03:07:07 +00:00
Thomas Moestl
e8e2c56650
Revamp the busdma implementation a bit:
...
- change the IOMMU support code so that it supports overcommittting the
available DVMA memory, while still allocating as lazily as possible.
This is achieved by limiting the preallocation, and deferring the
allocation to map load time when it fails. In the latter case, the
DVMA memory reserved for unloaded maps can be stolen to free up enough
memory for loading a map.
- allow NULL settings in the method tables, and search the parent tags
until an appropriate implementation is found. This allows to remove some
kluges in the old implementation.
2002-03-24 02:50:53 +00:00
Dima Dorfman
a52a303f5e
Correct a typo.
...
PR: 36214
Submitted by: Nagy Attila <bra@fsn.hu>
2002-03-24 02:34:59 +00:00
Thomas Moestl
494fde77c9
Fix sparc64_bus_mem_unmap() to pass the right address to kmem_free().
2002-03-24 02:33:09 +00:00
Thomas Moestl
464ae30ee6
Make the OpenFirmware interrupt mapping code more generic, to reduce
...
the bus-dependent code and to be able to support more systems. The core
of the new code is mostly obtained from NetBSD.
Kluge the interrupt routing methods of the psycho and apb drivers so
that an intline of 0 can be handled for now; real routing is still not
possible (all intline registers are preinitialized instead); this will
require a sparc64-specific adaption of the driver for generic PCI-PCI
bridges with a custom routing method to work right.
2002-03-24 02:11:06 +00:00
Thomas Moestl
1734bea4fb
Map the device memory belonging to resources of type SYS_RES_MEMORY into
...
KVA upon activation so that rman_get_virtual() works as expected.
2002-03-24 01:51:29 +00:00
Crist J. Clark
61c26786cf
Fix a style(9) error. Put the vendor version control string back in.
...
I nuked it when I added the $FreeBSD$ tag.
2002-03-24 01:41:11 +00:00
Warner Losh
f1f4666ecd
Missed a __P in a .x file, remove it anyway
2002-03-24 01:11:49 +00:00
Warner Losh
35c85fe2c8
o remove __P
2002-03-24 01:09:35 +00:00
Giorgos Keramidas
cbbc2d594e
Be a bit more verbose. "modtime" means nothing.
...
"modification time" is a lot better.
MFC after: 3 days
2002-03-24 00:56:38 +00:00
Giorgos Keramidas
4188e02521
Grammar fix: "When at least one of the fields .. matches ...".
...
MFC after: 3 days
2002-03-24 00:48:07 +00:00
Chad David
ffa2379289
Fixed bad wording/spelling in few paragraphs.
2002-03-24 00:31:38 +00:00
Hidetoshi Shimokawa
7afa4afb9c
Maxtor Personal Storage 3000XT (Firewire) hangs upon
...
serial number probing.
MFC after: 1 week
2002-03-24 00:17:39 +00:00
Warner Losh
bbf5c743d2
unifdef __STDC__
2002-03-23 23:37:07 +00:00
Warner Losh
55e031a3c8
o unifdef -D__STDC__
...
o use ansi function definitions
o remove OLDSUN
2002-03-23 23:35:42 +00:00
Warner Losh
c120448ada
o unifdef -D__STDC__
...
o remove badly bit-rotted compat file that likely won't work on the systems
it purports to support.
2002-03-23 23:30:30 +00:00
Warner Losh
7ddea7b836
unifdef -D__STDC__
2002-03-23 23:19:00 +00:00
Jens Schweikhardt
7d03b11905
Remove a duplicate with a typo.
...
MFC after: 3 days
2002-03-23 22:10:02 +00:00
Thomas Moestl
4b5504494d
Add code to print the fault virtual address for uncorrectable DMA errors
...
caused by IOMMU misses to aid debugging. This will only work on
UltraSPARC-IIi and IIe.
2002-03-23 20:42:23 +00:00
Thomas Moestl
d1e39d7347
De-__P(), de-K&R, remove superfluous comments and prototypes, some
...
style fixes. No functional changes.
2002-03-23 20:27:32 +00:00
Thomas Moestl
8d515e67fa
De-K&R.
2002-03-23 20:22:19 +00:00
Thomas Moestl
bbe4a6c452
Fix syscall ktraceing.
2002-03-23 20:11:38 +00:00
Thomas Moestl
676c54ffe6
Make this compile without options DDB; use intr_disable() instead of
...
fiddling with PSTATE_IE manually.
2002-03-23 20:09:48 +00:00
David E. O'Brien
ecaaecd7a4
Update comments. We uniformly use __FBSDID in libc now.
2002-03-23 20:08:00 +00:00