Commit Graph

188397 Commits

Author SHA1 Message Date
matt
ff9115fad5 Add <powerpc/ibm4xx/spr.h> and <powerpc/oea.spr.h> 2010-02-25 23:36:31 +00:00
matt
7b012669b8 Adapt to <powerpc/spr.h> breakup. 2010-02-25 23:34:54 +00:00
matt
ec4306c95e Adapt to <spr.h> breakup. 2010-02-25 23:33:43 +00:00
matt
5a4cb80d76 Adapt to spr.h breakup. 2010-02-25 23:31:47 +00:00
matt
3cba909205 Split <powerpc/spr.h> into a common <powerpc/spr.h> and <powerpc/XXX/spr.h>
where XXX is ibm4xx or oea.
2010-02-25 23:30:04 +00:00
jym
2c546c52cc Change RSS (resident set size) limit. Instead of setting it arbitrarily
to the total free memory available to the system, use the smallest value
between VM_MAXUSER_ADDRESS and total free memory (having a RSS limit
bigger than VM_MAXUSER_ADDRESS has no real meaning).

Fix a possible int overflow when ptoa(uvmexp.free) is bigger than 4GB
with a 32 bits vaddr_t.

Reviewed by bouyer@.

See also http://mail-index.netbsd.org/tech-kern/2010/02/24/msg007395.html
2010-02-25 23:10:49 +00:00
dyoung
fb7f881ea9 Use PCI_ constants instead of CARDBUS_ constants. Use Cardbus_conf_*()
functions instead of cardbus_conf_*() functions to simplify some
code.
2010-02-25 23:01:48 +00:00
dyoung
96d11f3066 Copy values from the cardbus_attach_args and use them instead of values
from the cardbus_softc.
2010-02-25 22:40:16 +00:00
dyoung
ae121f118d Don't use the cardbus_softc. Compile-tested, only. 2010-02-25 22:31:51 +00:00
dyoung
512b7322ce Fix Xen.
XXX Almost everything in this header file, x86, amd64, and i386 should
XXX share.
2010-02-25 22:20:03 +00:00
dyoung
74013c932b Phase out some CardBus constants and types. Use the equivalent PCI
constants and types, instead:

        CARDBUS_CLASS_REG -> PCI_CLASS_REG
        CARDBUS_ID_REG -> PCI_ID_REG
        cardbus_product_id_t -> pci_product_id_t
        cardbus_vendor_id_t -> pci_vendor_id_t
2010-02-25 21:18:35 +00:00
macallan
e1099bb426 mention wcfb 2010-02-25 21:13:07 +00:00
macallan
8ffcf0035e add a comment on PCI_MAGIC_IO_RANGE 2010-02-25 21:09:00 +00:00
macallan
54b08bae4c some cleanup 2010-02-25 20:56:20 +00:00
dyoung
8687bf03ba In the x86 pci(9) implementation, test for and call a
pci_chipset_tag_t's override functions.
2010-02-25 20:51:10 +00:00
jakllsch
6fc9836341 Be sure to config_cfattach_attach() in dmattach().
Loosely based on patch from Brian Brombacher,
with other inspriation from vnd(4).

This should fix PR kern/42799.

While here, a few prototype, style and namespace pollution-related changes.
2010-02-25 20:48:58 +00:00
dyoung
6bbebe48f4 Change the pci_attach_args definition to allow machine-dependent
code to override the default pci(9) behavior by creating a non-NULL
pci_attach_args_t (on x86, pci_attach_args_t is always NULL) containing
one or more non-NULL function pointers.
2010-02-25 20:48:34 +00:00
dyoung
878053a897 Don't create the device's PCI tag with Cardbus_make_tag(9), but save and
use the tag found in the cardbus_attach_args.  Compile-tested, only.
2010-02-25 20:36:31 +00:00
joerg
8a601553bc Consistently use __printflike and __scanflike. 2010-02-25 18:37:12 +00:00
wiz
d2a81ca5b2 Uncomment crash(8) reference. 2010-02-25 17:15:55 +00:00
wiz
28980d443d Apply patch from Martin S. Weber in PR 37958 that adds/fixes references
to iic(4).
2010-02-25 17:08:01 +00:00
darran
216ff964d9 DTrace: okay *really* fix the deadman exit handling. No need for that
over-complicated handshake. Fixes a lockdebug mutex held issue.
2010-02-25 16:49:19 +00:00
reinoud
1196d96d39 First part of shrinking/growing metadata partition support:
- extending the metadata partition

Still to follow:
- sparsify metadata partition
- growing the metadata partition
- unsparsifying metadata partition
2010-02-25 16:15:57 +00:00
msaitoh
b32bc8f5ec Merge if_wm.c rev. 1.162.4.13 and if_wmvar.h rev. 1.2.46.3 into maintrunk.
Increase the timeout value to prevent timeout on 80003. The values are taken
from Intel's e1000 driver. Tested by spz and me.
2010-02-25 15:07:06 +00:00
wiz
bc3c98c2fc Convert to mdoc.
XXX: license should be added to file.
2010-02-25 13:51:44 +00:00
tsutsui
5b900f2697 Avoid line break in `Linux Ext2' strings. 2010-02-25 13:09:17 +00:00
wiz
a6f6e00106 New sentence, new line. (more to come). 2010-02-25 13:05:11 +00:00
wiz
0b21d3cb0d Avoid marking up punctuation. 2010-02-25 12:58:18 +00:00
wiz
0db48f7ae6 Bump date. 2010-02-25 12:56:37 +00:00
drochner
4faa4ba521 retire our private definitions for the scan1/3/5/7/9 DEC graphics
symbols, use the unicode definitions instead (which apparently didn't
exist when I wrote that)
2010-02-25 11:20:09 +00:00
darran
4d76bb3302 DTrace: fix a problem with the code waiting for the deadman thread to exit
- now it does actually wait for it to exit.  Thanks to Frank Kardel for
spotting this.
2010-02-25 11:12:02 +00:00
drochner
90f3894847 fix wrong widechar assignment for "up arrow" 2010-02-25 10:56:24 +00:00
agc
7aa5ca9937 add reachover logic for agrep - an approximate grep program which uses
the newly added libtre, which is "the free and portable approximate
regex matching library".

the manual page is not yet in standard format
2010-02-25 08:06:43 +00:00
agc
c71b413f8c add reachover glue, and config headers, to allow libtre to build with WARNS=4 2010-02-25 07:46:14 +00:00
agc
63d4abf06d initial import of tre-0.8.0 into the external sources framework.
with many thanks to ville laurikari for writing tre in the first place
and for changing the licensing to a 2-clause bsd license; thanks also to
matthias-christian ott for his work on the google summer of code 2009
project.

this import brings the distribution to src/external - the reachover
build files will follow
2010-02-25 07:33:17 +00:00
skrll
7b00c6209a s/cpu_fork/cpu_lwp_fork/ in comment 2010-02-25 07:21:19 +00:00
skrll
158aca4053 s/cpu_fork/cpu_lwp_fork/ in comment. 2010-02-25 07:14:48 +00:00
macallan
0320314aca a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.
2010-02-25 03:33:09 +00:00
macallan
df530d6bed regen 2010-02-25 03:20:02 +00:00
macallan
0c6f3037b6 add 3Dlabs Wildcat 5110, also known as Sun XVR-500 2010-02-25 03:18:44 +00:00
pgoyette
534b080729 Update for recent changes to data structures. 2010-02-25 03:11:25 +00:00
pgoyette
d25a895aad Update sensor list for VID sensor.
XXX I don't think this is sufficiently large change to bump the date.
2010-02-25 02:19:28 +00:00
dyoung
36a12fdb8f Don't mention cardbus_free_tag() and Cardbus_free_tag(), they are no
more.
2010-02-25 00:50:52 +00:00
dyoung
4ce33933f8 Cardbus_free_tag() and cardbus_free_tag() are no-ops, so get rid of them
to simplify the code a bit.
2010-02-25 00:47:39 +00:00
darran
bb7c1e9274 DTrace: fix CTF tools for non-toolchain build. 2010-02-25 00:18:44 +00:00
darran
84501f8fef DTrace: have DTrace build with out requiring MKZFS=yes. 2010-02-25 00:14:10 +00:00
dyoung
6f92774f38 Use device_suspensor_t. 2010-02-24 23:52:49 +00:00
dyoung
7fbd1e3f5b Update the doco, just in case somebody adds a new CardBus driver
before I've finished tucking CardBus under the PCI abstraction,
unlikely though that is.
2010-02-24 23:49:34 +00:00
dyoung
7c4be3328d Start to tuck Cardbus under the PCI abstraction. Step #1, textual
substitution: for all practical purposes, pcitag_t and cardbustag_t are
interchangeable, so just use pcitag_t.  Ditto pcireg_t and cardbusreg_t.

Poison new uses of cardbusreg_t and cardbustag_t by deleting the type
definitions.
2010-02-24 23:38:40 +00:00
pgoyette
c138fa58da Fix handling of 6bit VID register (6th bit takes place of 12VIn sensor).
Move VID out of sysctl tree - make it a separate sensor of type INTEGER.

Clean-up some of the chip-descriptors.
2010-02-24 23:37:45 +00:00