Commit Graph

217992 Commits

Author SHA1 Message Date
msaitoh 83607aa191 Add the following registers from IEEE 802.3-2009 Clause 22.
- PSE control register(0x0b)
 - PSE status register(0x0c)
 - MMD access control register(0x0d)
 - MMD access address data register(0x0e)
2013-04-15 08:09:48 +00:00
kardel 640a1e10fd reenable routing functionality by using RT_ROUNDUP for ROUNDUP when available 2013-04-15 07:58:35 +00:00
joerg a952f5938e Provide a const copy of global_locale for libc-internal use.
This will be used by *_l when a NULL pointer is given.
2013-04-14 23:44:53 +00:00
joerg 14b179f1c9 Rename struct _locale_impl_t to struct _locale, since it will end up as
locale_t later.
2013-04-14 23:30:15 +00:00
jakllsch 3106f2915c Improve support for logical sector sizes greater than 512. 2013-04-14 22:48:22 +00:00
martin e7f80397d9 Make the check in close() for a non-deflatable file mode symetric to
the one in open().
Avoids dealloc() calls on NULL.
2013-04-14 22:23:28 +00:00
khorben 184c45145a Corrected the dmesg output upon successful attachment 2013-04-14 20:18:17 +00:00
khorben d21fbac9bf Imported n900acad(4), a driver for the Nokia N900 reporting the charging
status through sysmon_envsys(9).

XXX need a better way to locate the interrupt (documented)
2013-04-14 19:17:06 +00:00
khorben f424bed324 Use a separate file to track the drivers specific to the Nokia N900, which
will likely support quite a few soon.
2013-04-14 18:57:32 +00:00
jmmv 187d47582e Add missing Kyuafile. 2013-04-14 18:00:48 +00:00
skrll 92ee01a067 Pretty sure we don't want to change instruction set here. hi matt. 2013-04-14 17:05:11 +00:00
christos ea65093059 stub out for now 2013-04-14 16:52:47 +00:00
christos 1dd1e91a24 add a stub for arm 2013-04-14 16:39:59 +00:00
christos ccb780c1aa return something reasonable for WSDISPLAYIO_GINFO 2013-04-14 16:37:32 +00:00
christos 831a981593 Use -Wl,-B{static,dynamic}, using -Bstatic does not work because all the
flags arguments are passed to collect2 in front.
2013-04-14 16:28:57 +00:00
martin 1f299de05d The sh api calls it atf_expect_fail, while the c api calls it
atf_tc_expect_fail - this is shell, so fix the names accordingly.
XXX Why do they differ?
2013-04-14 16:07:46 +00:00
martin 18d840f0c0 Backout previous - which did not include the change described in the log
message anyway but pure accidental white space changes. The whole change
was not needed any more after fixing isqemu.h.
Thanks to agc for pointing it out.
2013-04-14 16:03:06 +00:00
matt 0441393558 Fix calling of __qdivrem which the 3rd arg needs to passed on the stack. 2013-04-14 15:53:30 +00:00
skrll 8863f0f324 Trailing whitespace 2013-04-14 15:11:52 +00:00
skrll 5441b5c8c7 Match all the arm machines to get the majors.arm32 file 2013-04-14 13:47:37 +00:00
christos 18e8a81233 The common fields of the socket should be initialized in one place since
we are the socket provider. Fixes crash with "rndc status", where accepted
sockets did not have their method fields initialized!
2013-04-14 13:18:23 +00:00
martin a4fee3e85d Mark the test function as inline, so we don't get warnings if it is not
actually used.
2013-04-14 12:46:29 +00:00
martin 152c21a77c Do not include isqemu.h if we are not going to use the test 2013-04-14 12:45:50 +00:00
wiz 924b1b5820 correct spelling is "Christiaan Huygens"; from James J. Lippard
via jmc@openbsd
2013-04-14 08:03:15 +00:00
christos ca316180bc initialize the omapi subsystem early so we can allocate interfaces. 2013-04-14 01:51:39 +00:00
christos 211104fe6e How could this possibly ever have worked with threads? It forked *after*
it initialized the isc library and the parent having created the threads
exited with the worker threads?!?!? Only -d worked because it did not
fork!
2013-04-13 23:04:35 +00:00
jakllsch aff82b369b Make getdiskinfo() always return correct dkwedge_info for the raw partition.
A real disk's raw partition does not implement DIOCGWEDGEINFO, but does
implement DIOCGDINFO.  This was resulting in the returned wedge information
containing 32-bit-clamped values for size of the raw partition, with no
indication thereof.
2013-04-13 22:08:57 +00:00
jakllsch 0c2fc5cb54 Make pre-initialized partition type uuid_t symbols 'static const'.
This conserves a few hundred bytes of total program size by
allowing the linker to merge duplicates.
2013-04-13 18:32:01 +00:00
jakllsch 774af6a912 drop trailing whitespace 2013-04-13 18:25:56 +00:00
jakllsch 287267eb57 Clean up gpt(8) a bit more
uuid_create_nil(3) and uuid_is_nil(3) take a uuid_t*, not a pointer to
an array of bytes merely casted to compatible type.

Additonally, there no need for extra casts and address-of operations when
using le_uuid_*() functions.

Furthermore, le_uuid_*() are identical to uuid_*_le functions in
libc/libuuid, so use those instead on NetBSD.
2013-04-13 18:04:33 +00:00
jakllsch fe89322e15 Use correct spelling of "secondary" in comments. 2013-04-13 16:48:03 +00:00
joerg e8fa8f4db7 Extend ctype classification table to 16bit. Based on patch by
Takehiko Nozaki, with changes to compile fail when using the old names
and to exploit __BUILD_LEGACY
2013-04-13 10:21:20 +00:00
joerg 71e4dd8871 Use more consistent naming for tolower/toupper translation table for the
C locale. From Takehiko Nozaki with changes to use __BUILD_LEGACY.
2013-04-13 10:16:27 +00:00
christos 8846758c2d remove debugging accidentally committed. 2013-04-13 02:08:59 +00:00
christos c66d06cb46 move droproot after we have dealt with input and output files. 2013-04-12 23:51:50 +00:00
christos 7816f7e5c1 missed one xkill in the rename 2013-04-12 21:49:54 +00:00
christos f46fe92653 PR/47738: connect(2) to 239.x.y.z should return error but does not. 2013-04-12 21:30:40 +00:00
christos 71b46c3cd2 undo previous, breaks differently when testing for EINPROGRESS. 2013-04-12 20:02:00 +00:00
christos 1dab78693d #if 0 more 2013-04-12 20:00:21 +00:00
christos 21bc640ddf XXX: disable the simple conditions test right now because it depends on
thread scheduling timings and we don't seem to schedule threads the way
it assumes.
2013-04-12 19:59:26 +00:00
joerg 575a4660cc Rename BUILDCOLD to BUILD_LEGACY and provide a preprocessor macro that
can be used in code files that aren't easy to split up. Add the removal
to the major bump todo list.
2013-04-12 19:58:45 +00:00
christos a79378684d connect(2) returns EINPROGRESS for "239.10.20.30" which is supposed to
be an unroutable address. getsockopt() to find the actual error returns
0. This is prolly broken, but this temporary work-around fixes the regression
test.
2013-04-12 19:41:45 +00:00
joerg 5dd13d5b75 Weak alias directly to the catchall stub and don't strong alias twice. 2013-04-12 18:14:22 +00:00
joerg 62898dbb43 Mark __libc_thr_exit_stub as dead. 2013-04-12 18:12:58 +00:00
joerg 3942a5096b yy_size_t is typically unsigned, so use a separate variable for the
return value of read(2).
2013-04-12 18:12:15 +00:00
joerg 0b4c1e12e1 Remove potentially extra consts. 2013-04-12 18:11:40 +00:00
joerg 64b3fac0e4 Work correctly with ISO C99 compiler. 2013-04-12 18:11:15 +00:00
joerg 8d7f62402c Use __dead. 2013-04-12 18:09:30 +00:00
joerg e29eeb0057 Add __printflike. 2013-04-12 18:09:19 +00:00
joerg f1ca729c04 Don't force pthread linkage. 2013-04-12 18:08:10 +00:00