199249 Commits

Author SHA1 Message Date
mrg
1500ba0717 various changes to adapt for Fire controller support, based upon the
openbsd code to do the same:

- add the tsb size into the ptsb bits
- avoid setting tsbsize in the CR
- disable IDB_INFO for now; it crashes
- add new macros for reading/writing IOMMU registers (need to use
  these more regularly across the whole file)
- add a missing membar #lookaside
- add support for flushing the pyro(4) caches
- extend struct iommureg to include everything pyro
2011-03-16 02:41:19 +00:00
mrg
6534742ba8 add some control registers found on the Fire and Jupiter busses.
from openbsd.
2011-03-16 02:35:48 +00:00
mrg
86de1d619b add struct ebus_mainbus_ranges. from openbsd. 2011-03-16 02:34:10 +00:00
riz
3b1468abed Add the SMC SMCWUSB-N2 to the list of adapters known to work. 2011-03-16 01:47:19 +00:00
erh
dba1735a6e Remove one last reference to commaize_number.3 2011-03-16 01:30:24 +00:00
christos
ab077958c3 goodbye short-live commaize_number(3), if you liked it:
#define commaize_number(s, l, n) snprintf(s, l, "%'llu", (unsigned long long)n)
2011-03-16 00:50:28 +00:00
christos
a66aa579a5 remove commaize_number. 2011-03-16 00:48:34 +00:00
riz
753af18e2c Add otus(4), Atheros AR9100U usb wireless driver. 2011-03-15 23:27:47 +00:00
christos
ca5bce8901 support grouping format. 2011-03-15 23:11:49 +00:00
christos
cde105a416 - use printf(3) "'" format to do thousands grouping instead of custom version.
- fix sign format inconsistencies.
2011-03-15 22:53:41 +00:00
plunky
053a270202 don't need to supply __myservername__ and __myxconfigfile__ as they
are generated internally from __xservername__ and __xconfigfile__
2011-03-15 19:54:14 +00:00
martin
64484e6359 German uses dot as thousands separator 2011-03-15 15:30:52 +00:00
joerg
a2e29ce418 Add SH3 and x86 for the TLS support 2011-03-15 14:37:21 +00:00
vanhu
5279815e7c directly call isakmp_ph1delete() instead of scheduling isakmp_ph1delete_stub(), as it is useless an can lead to memory access after free 2011-03-15 13:20:14 +00:00
pooka
bfbab30192 put in a proto for commaize_number()
(nb. doing this purely as the minimum work solution to get a working build)
2011-03-15 12:21:08 +00:00
mrg
a1b3c3f005 initial port of these drivers to netbsd. both pyro(4) and ebus(4) at
mainbus depend upon other as-yet uncommited changes.
2011-03-15 11:42:03 +00:00
mrg
79023f55de also attach for su16552 compatible devices. 2011-03-15 11:22:18 +00:00
mrg
5b208c27ee import the openbsd pyro and ebus_mainbus drivers for base reference. 2011-03-15 11:21:04 +00:00
pooka
754d118ee3 don't spam connection errors to stderr by default 2011-03-15 09:35:05 +00:00
wiz
77dc3c9d0c Add -M to usage. 2011-03-15 08:36:16 +00:00
wiz
0f3a9d3c9c Remove trailing whitespace. Add -M to usage. 2011-03-15 08:36:01 +00:00
wiz
f675b9e58c Shorten Nd by putting the comment there in a paragraph in the body.
Use more markup. Sort SEE ALSO. Fix typo. Capitalize NetBSD like
we all love it.
2011-03-15 08:33:35 +00:00
matt
2fac215fd3 Note recent MIPS changes 2011-03-15 07:42:36 +00:00
matt
7e7a53defe Add support for the MIPS TLS reloc types in shared libraries. 2011-03-15 07:40:52 +00:00
matt
c5d79d45e3 Properly support the MIPS TLS ABI. 2011-03-15 07:40:18 +00:00
matt
400ff9c4eb Add separate support for MIPS32R2 and MIPS64R2.
Use EHB/SSNOP and jr.hb ra as appropriate (COP0_SYNC now uses them).
Add support for COP_0_HWRENA and COP_0_USERLOCAL (use by rdhwr $3,$29
instruction for TLS support).
Add mips3+ reserved instruction handler to emulate rdhwr is many fewer
instructions.
2011-03-15 07:39:22 +00:00
matt
7bf03f836e Remove redundant lines. 2011-03-15 07:33:54 +00:00
matt
0f39e35780 Add MIPS TLS support. 2011-03-15 07:33:36 +00:00
matt
ee19fddbeb Use KDASSERT and kpreempt_disable/enable in pmap_tlb_asid_check 2011-03-15 07:32:53 +00:00
matt
f69279f986 Make sure we do proper locking if LOCKDEBUG is defined 2011-03-15 07:31:33 +00:00
erh
4aaf499c53 PR#7540, add a -M option to ls which causes sizes (and number of blocks) to be
displayed with comma separators (or a locale specific separator).
2011-03-15 03:52:37 +00:00
erh
9a5590a540 PR#7540, add a commaize_number function, which inserts comma into a string
of digits to make it more readable.  This is soon to be used in /bin/ls.
2011-03-15 03:47:04 +00:00
joerg
e2e40b270e Don't define acl_alloc and acl_free during kernel builds.
Fixes module build with clang.
2011-03-15 00:48:04 +00:00
pooka
e49693227e Record address from offer to actually send it as part of the
request.  May fix interaction with some pickier dhcp servers
(like riz's).  Thanks to Jeff for debugging assistance.
2011-03-14 23:02:16 +00:00
pooka
040c5b8d22 Use /dev/null instead of stdin for fd. Otherwise if the tests are
run with stdin as a pipe (e.g. from cron) the test fails with ESPIPE.
2011-03-14 20:41:25 +00:00
jakllsch
ec9ba6e38d Make debugging code compile. 2011-03-14 20:12:40 +00:00
pooka
bc1269c4f5 Apparently this way of triggering the msdosfs rename vnode leak
does not bite every time (most commonly observed on the amd64/qemu
runs), so add a race condition catcher.
2011-03-14 19:05:19 +00:00
tteras
4e499ee605 Explicitly compare return value of cmpsaddr() against a return value
define to make it more obvious what is the intended action. One more
return value is also added, to fix comparison of security policy
descriptors. Namely, getsp() should not allow wildcard matching (as the
comment says, it does exact matching) - otherwise we get problems when
kernel has generic policy with no ports, and a second similar policy with
ports.
2011-03-14 17:18:12 +00:00
pooka
3bc8d7931c test RUMPHIJACK fdoff=8 2011-03-14 15:56:40 +00:00
vanhu
fd67cc6416 avoid some memory leaks / free memory access when reloading conf and have inherited config. patch from Roman Hoog Antink <rha@open.ch> 2011-03-14 15:50:36 +00:00
pooka
0dc6decc72 document fdoff 2011-03-14 15:21:22 +00:00
pooka
e5eecf0660 fdoff is descriptive enough 2011-03-14 15:15:47 +00:00
pooka
c9038b2d6c Make fdoffset configurable. Also, enforce that host descriptors
are smaller than the offset.
2011-03-14 15:13:26 +00:00
vanhu
ba228a2812 removed an useless comment 2011-03-14 14:54:07 +00:00
njoly
a8fd935b9b Add krb5_{mk,rd}_priv(3) links. 2011-03-14 13:53:55 +00:00
njoly
a5664dbb36 Fix Kerberos prefix in xrefs (krb55 -> krb5). 2011-03-14 12:31:13 +00:00
pooka
8a0861f462 remove unnecessary superuser check -- bind will fail if bind fails 2011-03-14 12:03:45 +00:00
christos
50f9c0a390 OOPS has been reverted. 2011-03-14 11:44:20 +00:00
pooka
7bc641dd16 aaaand actually make the logic clause correct 2011-03-14 11:13:22 +00:00
pooka
db454f263c make the code also correctly correct, not just xxxgcc'ly correct 2011-03-14 11:10:35 +00:00