Commit Graph

215434 Commits

Author SHA1 Message Date
christos
064bbf208f kill Id RCS keyword. 2012-12-29 20:08:23 +00:00
mlelstv
b78aa16690 The sanity check prevented messages that carry only ancillary data. 2012-12-29 18:51:39 +00:00
jmcneill
733016fbe5 add missing prototype for crc32v 2012-12-29 16:18:08 +00:00
jmcneill
6412da29f7 add support for generating boot.scr scripts with -T script 2012-12-29 15:11:56 +00:00
christos
b30e7aec1f remove useless cast. 2012-12-29 14:51:41 +00:00
kiyohara
5746c50388 Update for comment of OVERO. It support Overo COMS. 2012-12-29 14:35:01 +00:00
kiyohara
871494d640 Change size of some devices. from DM37xx and OMAP 35xx datasheet.
Support Overo *STORM.  Tested only Overo EarthSTORM(Silverload).
2012-12-29 14:32:45 +00:00
kiyohara
86fb6bf972 Change order for TLB operation.
We can boot Overo EarthSTORM.
2012-12-29 14:22:55 +00:00
mlelstv
21dddfce45 - defer session cleanup to not force detachments
- use more and explicit locking
- improve connection recovery
- use larger timeouts
- handle ccb buffer underflow correctly
- simplify throttling code

Sessions can now temporarily exist without a valid
connection, you also need to update iscsid(8).
2012-12-29 11:05:29 +00:00
mlelstv
bfb6412a0b If an untraced process sleeps in recvmsg/sendmsg, the syscall does not
allocate an iov structure for ktrace. When tracing is then enabled
and the process wakes up, it crashes the kernel.

Undo the last commit which introduced this error path.

Avoid the mentioned kmem_alloc assertion by adding a sanity check analog
to similar code in sys_generic.c for I/O on file handles instead of
sockets.

This also causes the syscall to return EMSGSIZE if the msg_iovlen member
of the msg structure is less than or equal to 0, as defined in
recvmsg(2)/sendmsg(2).
2012-12-29 10:22:40 +00:00
mlelstv
4fa33b60bd Handle invalid messages more gracefully, handle sessions with no valid
connections, and be more verbose about errors.
2012-12-29 08:28:20 +00:00
matt
1316220d88 A few slight speedups (remove one instruction from the main loop). 2012-12-29 05:36:57 +00:00
riz
ac06abfdf3 Enable the watchdog driver on BeagleBone. 2012-12-29 05:00:36 +00:00
riz
6b151fea8c In kernel tickle mode, tickle once immediately upon setting the mode.
Works around a peculiarity where the first watchdog period (only) on the
BeagleBone is only half as long as expected.
2012-12-29 04:59:21 +00:00
christos
db7d489b44 merge 2012-12-20 2012-12-29 02:44:26 +00:00
christos
2616448878 from http://www.cs.princeton.edu/~bwk/btl.mirror/ 2012-12-29 02:14:50 +00:00
jmcneill
ae40238ab7 no need to print irq twice 2012-12-29 00:08:26 +00:00
jmcneill
5049e6aa84 dont set SDHC_FLAG_SINGLE_ONLY for OMAP3530 either 2012-12-29 00:05:45 +00:00
jmcneill
dd4cd5ea36 enable WDT2 (MPU) for watchdog instead of WDT3 (IVA2). remove WDT1, it doesnt exist on OMAP3530 2012-12-28 23:24:47 +00:00
martin
b5eb5f3bf0 Add acpi0 at mainbus - it is not realy optional. 2012-12-28 19:23:29 +00:00
apb
1d8e06e4e4 Rename "tappit-hen" to "tappithen" because unit names cannot contain
hyphens.  Also change the definition from "3 imperial" (a dimensionless
quantity) to "3 bottle" (2.25 litres).  Wikipedia and several other web
sites say 3 bottles or 2.25 litres, but
<http://www.christies.com/lotfinder/wine/chateau-lafite-rothschild-vintage-1811-1-tappit-hen-per-4992576-details.aspx>
says:

    There seems to be no firm definition of the bottle size referred to
    as "tappit-hen". Believed to be of Scottish origin, a tappit-hen
    can vary, according to which definition one follows, from 1 1/2
    bottles to a tregnum or 3-bottle bottle. It is safest to say that it
    approximates to a magnum.

and ends with:

    1 Tappit-Hen (2.25 liters) per lot
2012-12-28 17:57:46 +00:00
apb
fd02783e45 Allow a number and a unit to be juxtaposed without an intervening space.
Now "litres/100km" works as desired, instead of silently being
treated as "litres/100".
2012-12-28 17:07:03 +00:00
wiz
695c00c96b Add "wide" to description. From OpenBSD via Ingo Schwarze. 2012-12-28 13:53:12 +00:00
apb
dd9b8fe876 Fix references to undefined units:
* "southamericarand" should be "southafricarand";
* "sidereal day" should be "siderealday";
* "perusol" should be "perunewsol".
2012-12-28 13:45:53 +00:00
apb
5cd73ddec1 Improve the description of the [count] from-unit to-unit arguments. 2012-12-28 13:25:25 +00:00
msaitoh
c73456fec2 Fix a bug that a multicast filter entry is incorrectly overrode
on some cases.
2012-12-28 08:16:53 +00:00
hannken
d845821cd8 Move the initialization of n to after the error branch.
From Taylor R Campbell <riastradh@netbsd.org>
2012-12-28 08:03:59 +00:00
matt
51f99baf1e strlen implementation for armv6 and later. Uses clz and uqadd8 to really
speed the search for NUL.  as fast as normal strlen at about a length of
6 or 7 and 2-3 times faster starting around 10.
2012-12-28 07:10:41 +00:00
cherry
ceab76fbae Simplify the xen event handler callback by:
- moving the interrupt handler callback traversal into a separate
   function.
 - using evt_iterate_bits() to scan through the pending bitfield
 - removing cross-cpu pending actions - events recieved on the wrong
   vcpu are re-routed via hypervisor_send_event().
 - simplifying nested while() loops by encapsulating them in
   equivalent functions.

Many thanks for multiple reviews by bouyer@ and jym@
2012-12-28 06:29:56 +00:00
matt
780493cbdc Debug. This becomes faster than the normal strlen at about 80 characters. 2012-12-28 05:15:08 +00:00
msaitoh
d378899cf3 Enable DCache Streaming Switch and Write Allocate for Sheeva CPU.
This change improve system performance significantly.
2012-12-28 03:48:00 +00:00
wiz
aea943bc0e Convert to mdoc and fix stuff while here. 2012-12-27 21:34:09 +00:00
christos
55853dd5e1 sprinkle const, no functional change intended. 2012-12-27 21:19:20 +00:00
christos
7c894664c7 Instead of changing the code to match the documentation, change the documentation
to match the code. NOCHECK is used only by csh(1) and csh(1) is too broken for
words (histchars quoting is "special").
2012-12-27 21:17:47 +00:00
martin
5e4c896995 ia64 mknative results for gcc and binutils 2012-12-27 20:32:41 +00:00
martin
a01d771b17 Make it all compile 2012-12-27 20:21:50 +00:00
skrll
897388ea60 Consistent/Correct error message from failing usbd_set_config.
Use aprint_error_dev.
2012-12-27 16:42:32 +00:00
jmcneill
e60ee66c05 - reset the chip if the tx engine gets stuck after a link state change,
from OpenBSD
- no need to do a full reset of the chip when enabling or disabling
  promiscuous mode
2012-12-27 16:23:48 +00:00
martin
3e2b1af588 Hide inline functions from userland 2012-12-27 15:58:55 +00:00
pooka
0d0544e941 Since cvs does not provide a version number for the entire tree, provide
identifiers which can be used by external parties to check if the NetBSD
source tree is of required vintage.

inspired by a buildrump.sh bug report due to an out-of-date src
2012-12-27 15:17:01 +00:00
christos
6735428cb0 better patch (no functional change); centralize freeing in one place. 2012-12-27 14:47:27 +00:00
christos
293c577b3d - hit me with your parenthesis stick
- remove extra void *
2012-12-27 14:41:10 +00:00
skrll
e1c783a7a6 Add some usb devices. 2012-12-27 14:39:39 +00:00
martin
f4f90e1267 Note another ia64 compiler workaround 2012-12-27 14:16:57 +00:00
martin
1c77afcb0e Compile bignum.c with -O1 only on ia64 to avoid a gcc bug 2012-12-27 14:16:16 +00:00
martin
96ee7c5e41 Add fpclassify{,d} 2012-12-27 10:41:18 +00:00
martin
56d4f5e327 Provide sig_atomic_t. 2012-12-27 08:22:36 +00:00
martin
4d5b0461e5 Note libelf ia64 hack 2012-12-27 08:07:36 +00:00
martin
1a11e4f1b1 ia64 compiler bug workaround: reduce -O to 1 for one file 2012-12-27 08:06:28 +00:00
martin
4ec32c022e Add WCHAR_MIN and WCHAR_MAX.
Why don't we use the compiler supplied __WCHAR_MIN__ and __WCHAR_MAX__ for
this?
2012-12-27 07:14:24 +00:00