183268 Commits

Author SHA1 Message Date
matt
e51839706f Use PGSHIFT + 1 instead hardcoding 13.
Don't set Page Mask to 0 when invalidating a TLB entry.
2009-08-09 05:36:22 +00:00
matt
ead615cc2a s/struct device */device_t /g 2009-08-09 04:09:55 +00:00
matt
4d59439aa7 Change TLBMiss to use values based on NBPG and PGSHIFT instead of magic
numbers.
Use REG_S instead of sw in a few more places.  Use _MFCO as well.
2009-08-09 04:08:14 +00:00
matt
05f21e1df1 Add disabled code to set K0 CCA if CCA_SPECIAL is being used. 2009-08-09 04:06:35 +00:00
matt
efe42514d3 If Loongson2 way size is <= page size, don't enable mips_virtual_alias 2009-08-09 04:05:03 +00:00
matt
c9bc7bdfee Add latent ENABLE_MIPS_16KB_PAGE option. 2009-08-09 04:04:12 +00:00
matt
cc15998b88 Beginning of large-page support. 2009-08-09 04:02:40 +00:00
matt
17fa6905db s/struct device */device_t /;g 2009-08-09 04:02:00 +00:00
dholland
40c09fbf2c Begin splitting up namei into smaller pieces. 2009-08-09 03:28:35 +00:00
christos
5fff5d2f6b make the _POSIX_VDISABLE definition match the one in termios.h 2009-08-08 22:53:16 +00:00
christos
ff2fe63754 Create and use __CAST(type, value) in headers so that modern c++ with
-Wold-style-casts does not bitch.
2009-08-08 21:23:15 +00:00
matt
065a21e041 Add the RL2561 PCI 801.11b/g 2009-08-08 20:50:44 +00:00
matt
142b72f410 Add pci_attach_hook to configure the ralink device since PMON didn't. This
avoids the over kill of PCI_NETBSD_CONFIGURE.  And given the bounded nature
of the Gdium, it's not as if someone is going to add more devices.
2009-08-08 20:49:58 +00:00
matt
c113c8b98f Don't hardcode the FB address. Read it from the PCI device.
Don't tell wasops to the clear the screen since we do it ourselves.
2009-08-08 20:48:33 +00:00
matt
4e26dd8d9d If we've had to enable MEM access, make sure our flags reflect that so that
pci_mapreg_map won't fail because it didn't know we did it.
2009-08-08 20:44:36 +00:00
mrg
71b88e73aa - stash the fbmap into the radeon dev_priv handle so we can ..
- call drm_rmmap() in radeon_do_cleanup_cp on the two maps created
- in several vblank functions, check to make sure we have mappings
  enabled before doing something that might blow up.  fixes PR#41715.
2009-08-08 17:59:25 +00:00
skrll
25f569f275 Whitespace. 2009-08-08 14:19:43 +00:00
skrll
8a8c968f1a Use device_xname. 2009-08-08 14:18:51 +00:00
skrll
8e44c4863b Sentences end with '.'. 2009-08-08 14:09:06 +00:00
macallan
f24a60f372 mention tcx being a good wscons citizen now 2009-08-08 11:50:18 +00:00
mbalmer
fa4785b09a Register with the PMF, and when detaching, just the right order. 2009-08-08 10:38:17 +00:00
pooka
2a112e499e arm32 (but not arm26) wants to be different and #define pmap_remove()
as pmap_do_remove().  Compensate.
2009-08-08 00:46:56 +00:00
matt
0c80f83e59 Clean up a bit. No reason to use 4way on icache ops (it clears all ways). 2009-08-07 23:23:58 +00:00
mrg
992e698d04 remove some netbsd specific code that does nothing. 2009-08-07 22:51:04 +00:00
haad
2a8f255ae1 Enable zfs module only for machine with at least 512Mb ram. 2009-08-07 22:47:19 +00:00
haad
82fbb9f0e8 Fix bogus comment, and remove superfluous parenthesis. 2009-08-07 22:46:04 +00:00
sborrill
acb87f0c16 NetBSD doesn't support alq(9) and hence ATHHAL_DEBUG_ALQ is unusable.
Nevertheless, remove reference to old binary HAL header file in the
ATHHAL_DEBUG_ALQ section.
2009-08-07 21:01:48 +00:00
haad
fc8ec0b896 Add NetBSD Solaris compat code and reachover Makefiles. Most of code written
by Andrew Doran some of it by me.

This is still work in progress code. There are known issues. Zfs can panic
your system still. I will commit integration bits and needed kernel bits
later when we fix most obvious bugs. This code need some support from our
kernel which I will commit in a separate patch and therefore itnot work yet.

Issues:

1) Support for openat/fstatat syscalls.
2) getnewvnode locking against myself panic when reclaiming vnodes
3) Replace solaris taskq with our workqueue which doesn't need to alloc
   anything during work.
4) Investigate problems with NO_WAIT allocations.

Oked by core@ and ad@.
2009-08-07 20:57:55 +00:00
haad
6a125a398c Add NetBSD specific changes to OpenSolaris code. These changes were made
by Andrew Doran and me. Thank you Andrew for your great help.

Oked by core@ and ad@.
2009-08-07 20:16:44 +00:00
dyoung
fcabb0789a Describe the -N flag. 2009-08-07 20:13:12 +00:00
dyoung
ae9b1bdb85 Use getnameinfo(3) instead of inet_ntoa(3) to convert IPv4 addresses
to names.
2009-08-07 19:35:55 +00:00
dsl
4ef3fc9143 Add text to the description saying that normal applications should not
use syscall().
Add text to bugs saying that high bits of the syscall number may be masked.
Fixes bug PR/11088
2009-08-07 19:34:46 +00:00
macallan
6e1dc1f650 set device properties for genfb, now wsdisplay attaches successfully
TODO: replace hardcoded values with reality
2009-08-07 19:27:54 +00:00
dyoung
ab7c5957a9 Add option -N. -N is just the opposite of option -n in netstat(8)
or route(8): it tells ifconfig(8) to try to resolve numbers to
hosts and service names.

This default ifconfig behavior stays the same as it always was.
2009-08-07 18:53:37 +00:00
pooka
0ebb0c6cda Move genfs_io.c from rump SRCS to genfs SRCS.
Aesthetic commit, no functional change.
2009-08-07 18:52:56 +00:00
haad
f26cdf114a Remove accidentally commited tar.bz2 file. 2009-08-07 18:48:48 +00:00
snj
72cb0cefcf Update path to the atheros HAL. 2009-08-07 18:48:38 +00:00
matt
fab892c926 Add loongson2 specific cache ops 2009-08-07 18:39:10 +00:00
haad
c1cb2cd89c Import Opensolaris source code used with zfs port. Zfs code si from date
200811.
2009-08-07 18:32:11 +00:00
minskim
0997da05f2 Correct the #ifdef test for struct ifdatareq. 2009-08-07 16:37:12 +00:00
lukem
86814cdb3c Crank version to nb4 2009-08-07 16:32:43 +00:00
lukem
ddff3f7108 Rename "expandtabs" to "expandtab" to match documentation (and vim,
where I got the idea from).
Actually implement the "et" abbreviation for expandtab.
2009-08-07 16:19:53 +00:00
wiz
67bd9cb78f Remove superfluous parenthesis in #ifdef DEBUG.
From Henning Petersen in PR 41844.
2009-08-07 14:05:58 +00:00
wiz
8e6dfdad0c Remove superfluous parenthesis in #ifdef ARGO_DEBUG.
From Henning Petersen in PR 41843.
2009-08-07 14:04:34 +00:00
wiz
8b28c44203 Add missing parenthesis in #ifdef LFS_USE_B_INVAL.
From Henning Petersen in PR 41841.
2009-08-07 13:58:38 +00:00
wiz
96f565924e Fix parenthesis problem in ifdef SVR4 code.
From Henning Petersen in PR 41839.
2009-08-07 13:55:22 +00:00
wiz
ba544bf010 Add missing parenthesis in commented out code.
From Henning Petersen in PR 41838.
2009-08-07 13:53:54 +00:00
blymn
2a02a6feb9 Destroy mutex and condvar initialised in pccbbattach(). 2009-08-07 12:09:50 +00:00
blymn
c6b1721d19 Clean up extraneous white space. 2009-08-07 12:04:43 +00:00
mbalmer
61e768bf92 Don't use an identifier name that probably clashes with the C standard.
Requested by many.
2009-08-07 08:15:52 +00:00