Commit Graph

15194 Commits

Author SHA1 Message Date
apb 613a81fe71 Merge tzdata2014e 2014-06-13 19:54:04 +00:00
apb 162e8fcbbf Import tzdata2014e from ftp://ftp.iana.org/tz/releases/tzdata2014e.tar.gz
Summary of changes in tzdata2014e (2014-06-12 21:53:52 -0700):
  * Egypt's 2014 Ramadan-based transitions are June 26 and July 31 at 24:00.
    (Thanks to Imed Chihi.)  Guess that from 2015 on Egypt will temporarily
    switch to standard time at 24:00 the last Thursday before Ramadan, and
    back to DST at 00:00 the first Friday after Ramadan.
  * Similarly, Morocco's are June 28 at 03:00 and August 2 at 02:00.  (Thanks
    to Milamber Space Network.)  Guess that from 2015 on Morocco will
    temporarily switch to standard time at 03:00 the last Saturday before
    Ramadan, and back to DST at 02:00 the first Saturday after Ramadan.
  * The abbreviation "MSM" (Moscow Midsummer Time) is now used instead of
    "MSD" for Moscow's double daylight time in summer 1921.  Also, a typo
    "VLASST" has been repaired to be "VLAST" for Vladivostok summer time
    in 1991.  (Thanks to Hank W. for reporting the problems.)
  * Changes affecting commentary.

Summary of changes in tzdata2014d (2014-05-27 21:34:40 -0700):
  * Changes affecting documentation.
2014-06-13 19:48:55 +00:00
joerg d0f3f6896c Add kern.pool for memory pool stats. 2014-06-13 19:09:07 +00:00
mrg 26f35dd6b6 remove the build support for GCC 4.1, and any hacks i found for it.
there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)
2014-06-13 01:17:45 +00:00
christos 06e92f6d05 PR/8899: Alexander Nasonov: ddb command 'show malloc' is no longer available 2014-06-12 13:47:58 +00:00
wiz e6ff3b17b8 Sort SEE ALSO, add NetBSD-specific history. 2014-06-10 07:26:19 +00:00
hikaru 73c29dd7cc Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4). 2014-06-10 01:42:38 +00:00
skrll 90a8b32c92 Switch sh3 to gcc 4.8. My landisk just survived two atf runs through
/usr/tests with

Summary for 587 test programs:
    3691 passed test cases.
    50 failed test cases.
    27 expected failed test cases.
    137 skipped test cases.
2014-06-06 21:04:02 +00:00
martin 84d9bd2e1d Switch ia64 to gcc 4.8 2014-06-06 20:24:03 +00:00
matt 96c7d9c422 Switch VAX to default to GCC 4.8 2014-06-05 21:05:42 +00:00
gdt 335863a998 Add test environment considerations from tests.atf.7.
Bump date in an attempt to avoid provoking wizd(1).
2014-06-02 19:17:08 +00:00
spz a9c93eb0a8 - match up comment and interface identifiers
- use RFC5737 documentation prefixes
- use a variable for the RFC1918 private address ranges
2014-05-31 12:33:14 +00:00
spz af8b224c4c example for port remapping added 2014-05-31 11:54:37 +00:00
joerg 4692c72dc2 If clang is requested for i386, amd64 or eARM, also build libc++. 2014-05-30 18:39:29 +00:00
joerg b983dfb658 Always use our exception handling code for eARM. 2014-05-30 18:31:58 +00:00
joerg d4f1ac8b3b Remove platform support list for libc unwinder, just keep comment about
ia64 state.
2014-05-30 18:30:32 +00:00
msaitoh 267febe644 Sync with FreeBSD:
- Add DragonFly 3.6.0 and 3.6.1
- Add FreeBSD 9.2 and 10.0
- Add Mac OS X 10.9
- Add OpenBSD 5.4
- Change the master's URL.
Add some releases:
- Add NetBSD 5.1.4 and 5.2.2
- Add OpenBSD 5.5
2014-05-30 07:26:06 +00:00
msaitoh 2851377ab9 Add 6.0.[45] and 6.1.[34] 2014-05-30 05:37:04 +00:00
christos 2e958a7003 Explain ipsec.enabled better. 2014-05-30 01:43:20 +00:00
christos 14e2adbfce mention new ipsec sysctls. 2014-05-30 01:34:32 +00:00
christos a6ec449286 need esp 2014-05-27 23:34:43 +00:00
christos 4b88b7d425 just allow l2tp not regular ipsec. 2014-05-27 23:24:42 +00:00
wiz c4b0e6bd79 Add missing word 2014-05-27 17:12:22 +00:00
christos 87d253a1f6 I like riastradh's kmem/pool explanation. 2014-05-27 17:05:44 +00:00
plunky 6fbec3793c use -Wno-traditional only for GCC rather than !CLANG 2014-05-27 16:16:01 +00:00
plunky 4eab4174d7 we use C99 syntax but with some GCC extensions, so signal that depending
on the compiler in use
2014-05-27 16:14:03 +00:00
dholland 4f72a2758b TFOA = things falling off aircraft 2014-05-25 21:49:29 +00:00
wiz c309e73942 Sort SEE ALSO. Wording improvements. Remove unnecessary Pp. 2014-05-25 15:51:26 +00:00
rmind 3da69dd68c MI IPI interface:
- Implement support for the asynchronous IPI calls.
- Rework synchronous IPI code to reuse the asynchronous mechanism.
- Add ipi(9) manual page; needs wizd(8).

Note: MD code can now provide a low level primitive for the ipi(9) and
reuse this interface instead of open-coding.  Portmasters are encouraged
to convert.  Ride 6.99.43!
2014-05-25 15:34:19 +00:00
rmind d5f4abf709 pcu(9) man page: correct PCU_REENABLE description, add pcu_discard_all(),
improve some wording.
2014-05-25 14:56:23 +00:00
wiz 76560d9cb0 End sentence with a dot. 2014-05-24 17:14:02 +00:00
christos 02cb0c6eaf Introduce a selector function to the vfs vnode iterator so that we don't
need to vget() vnodes that we are not interested at, and optimize locking
a bit. Iterator changes reviewed by Hannken (thanks), the rest of the bugs
are mine.
2014-05-24 16:34:03 +00:00
matt acf5e54066 Since the majority of architectures uses GCC 4.8, make it the default.
Only ia64, m68k, 32-bit powerpc, and sh3 still use GCC 4.5
2014-05-23 18:51:31 +00:00
skrll 3d91f85ed1 Under "switch it" instructions from matt@ make mips use gcc 4.8 2014-05-23 18:35:36 +00:00
wiz e666757a15 Bump date for previous. Americanize a spelling. 2014-05-21 12:15:25 +00:00
wiz 6fb6b0763b Bump date for previous. 2014-05-21 12:13:18 +00:00
riastradh 3e7e395e87 Miscellaneous markup, speling and grammar fix. 2014-05-20 15:31:55 +00:00
riastradh 5416492612 Split large paragraph about uobj/uoffset into a bulleted list.
Mention that uvm_map doesn't add a reference to uobj.  Evidently this
information is important, since I just wasted countless hours over
the past months investigating kernel memory corruption arising from a
failure to notice this fact.
2014-05-20 15:23:12 +00:00
gdt 41a1d8830e Explain that tests should be run as root, and that in theory it's ok
to run them multiuser.

Discussed on current-users with in put from martin@ and gson@.
2014-05-20 14:23:43 +00:00
martin b179bc7a0f Switch powerpc64 architectures over to gcc 4.8.
OK: mrg@
2014-05-20 09:59:20 +00:00
apb 1e91429bfd Many changes to tzdata2netbsd.
This has been tested in a private repository.

* Use set -e
* Pass -d ${CVSROOT} to all cvs invocations.  cvs import needs it.
* cvs import needs to be done in the directory where the tarball
  was extracted.
* cvs import does not take a "-F messagefile" option (as cvs commit does);
  it needs "-m messagestring".
* The DOIT function now prompts for a yes/no/quit response, and quotes
  complex arguments when printing the command.
* When checking the PGP signature, require the correct key to have been used.
* Usability improvements when editing the cvs log message.
* More error checking.
2014-05-18 16:53:56 +00:00
wiz f21550261f Whitespace and punctuation. 2014-05-18 15:45:08 +00:00
wiz 331e85e813 New sentence, new line. Sort SEE ALSO. Whitespace. 2014-05-18 12:45:03 +00:00
kardel 54c2251d60 add HYT-221/271/939 humidity/temperature I2C sensor
extend envsys(4) framework by %rH (relative humidity)
2014-05-18 11:46:23 +00:00
joerg 767787d382 Use compiler-rt in libc for Clang on NetBSD/ARM as well. 2014-05-17 23:32:32 +00:00
joerg 38febcf304 Structure HAVE_LIBGCC condition similar to HAVE_LIBGCC_EH. 2014-05-17 23:31:57 +00:00
rmind 169afaf534 Rename LIST_CONCAT() to LIST_MOVE() as that is what it actually does (and
there is no point to implement LIST_CONCAT() which would iterate).  Update
the queue(3) manpage.
2014-05-17 21:22:56 +00:00
apb f8398fbdeb Add tzdata2netbsd, a script to help import new versions of tzdata. 2014-05-17 19:53:22 +00:00
wiz 4362e218b3 Consistency. 2014-05-16 08:29:18 +00:00
martin 9924ee1266 Add missing .Bl 2014-05-16 06:15:28 +00:00
rmind d67ab12c1d pcu(9):
- Remove PCU_KERNEL (hi matt!) and significantly simplify the code.
  This experimental feature was tried on ARM did not meet the expectations.
  It may be revived one day, but it should be done in a much simpler way.
- Add a message structure for xcall function, pass the LWP ower and thus
  optimise a race condition: if LWP is discarding its state on a remote CPU,
  but another LWP already did it - do not cause an unecessary re-faulting.
- Reduce the variety of flags for PCU operations (only PCU_VALID and
  PCU_REENABLE are used now), pass them only to the pcu_state_load().
- Rename pcu_used_p() to pcu_valid_p(); hopefully it is less confusing.
- pcu_save_all_on_cpu: SPL ought to be used here.
- Update and improve the pcu(9) man page; it needs wizd(8) though.
2014-05-16 00:48:41 +00:00
joerg d47b3f5c30 Mark unwinding as supported for eARM. 2014-05-16 00:19:00 +00:00
wiz 8673451f10 More markup. Better table width. Bump date for previous. 2014-05-15 23:59:05 +00:00
apb aeef212a32 Merge tzdata2014c. 2014-05-15 16:01:18 +00:00
apb 0d78f3f1ad Import tzdata2014c from ftp://ftp.iana.org/tz/releases/tzcode2014c.tar.gz
Changes from tzdata2013i to tzdata2014a:

     Turkey begins DST on 2014-03-31, not 03-30.

     Fiji ended DST on 2014-01-19 at 02:00, not 03:00.

     Ukraine switched from Moscow to Eastern European time on 1990-07-01
     (not 1992-01-01), and observed DST during the entire next winter.

     In 1988 Israel observed DST from 04-10 to 09-04, not 04-09 to
     09-03.

     Also some changes affecting commentary and documentation

Changes from tzdata2014a to tzdata2014b:

     Crimea switches to Moscow time on 2014-03-30 at 02:00 local time.

     New entry for Troll station, Antarctica.

     Also some changes affecting commentary and documentation

Changes from tzdata2014b to tzdata2014c:

     Egypt observes DST starting 2014-05-15 at 24:00.
     Guess that DST will stop during the same Ramadan dates as Morocco,
     and make some other guesses.

     Also some changes affecting commentary and documentation
2014-05-15 15:42:10 +00:00
riastradh 05d529cbfb Fix typo in uvm_km(9): there is no struct vm_map_kernel. 2014-05-14 16:16:55 +00:00
martin 256a2596c6 Belatedly adapt to changes in the code. 2014-05-12 08:47:49 +00:00
phx 3cf2564bdb Use TOOL_NCDCS to turn an ibmnws kernel automatically into a valid NCD
firmware image for netbooting. This is still a valid ELF kernel, but with
a patched CRC checksum and image size included.
2014-05-08 13:58:34 +00:00
zafer 2f78a6df7c Update Turkey. Add cities with a population greater than one million. 2014-05-06 14:31:21 +00:00
gson b92a5adc68 Add country codes for Lithuania, Latvia, and Estonia 2014-05-06 10:16:52 +00:00
martin e1ea636bac Fix firmware path - noted by Thomas Mueller on current-users. 2014-05-06 07:29:30 +00:00
martin ecad429601 As discussed on tech-toolchain, offer a new make variable MKKDEBUG - if
set to "yes", kernel builds will gain debug info and a netbsd.gdb will
be created (same as adding "makeoptions DEBUG=-g" to the config file).
2014-05-05 19:06:29 +00:00
wiz 5f9e0f41f2 Fix typo in previous. 2014-04-26 20:25:07 +00:00
joerg 380ce570fd Add initial unwind support for MIPS and MIPS64. 2014-04-26 20:15:48 +00:00
pooka d6b3d0da5a allow use with linkers that don't support --warn-shared-textrel
(Solaris, OpenBSD)
2014-04-24 00:14:59 +00:00
kardel 04f5544c2e install bcmgpio.4 for evbarm arch 2014-04-23 07:04:01 +00:00
kardel 9171ee3159 move mcp23s17gpio.4 to MI SPI drivers section 2014-04-23 06:53:14 +00:00
wiz 7363dee110 New sentence, new line. 2014-04-22 22:23:43 +00:00
kardel 511648e509 add a driver for BCM2835 obio gpio 2014-04-22 18:51:35 +00:00
joerg 61731496eb Retire USE_COMPILERCRTSTUFF=yes. 2014-04-22 13:20:58 +00:00
riastradh c3da429306 Fix note on __predict_true: predicts nonzero, not 1 specifically. 2014-04-21 15:52:27 +00:00
joerg f76ae5ef4f Basic unwind support for HPPA. 2014-04-19 21:21:24 +00:00
bad 89fef8a2c6 Add support for accelerated AES_CBC in ubsec(4) for BCM5823 and newer.
Update man-page and bump date.
Adjust OpenBSD RCS IDs to reflect roughly the version we are in sync with.
2014-04-19 12:29:24 +00:00
christos 4730dabc79 Add -g (gnu) so lint recognizes __attribute__ 2014-04-18 00:37:46 +00:00
martin 7d50c1ed2d Add missing uark and umcs attachments, bump date 2014-04-17 17:50:21 +00:00
joerg a997683cbb Add basic Alpha support to libunwind. 2014-04-15 18:40:34 +00:00
joerg 7209984597 Add initial unwind support for SPARC/SPARC64. 2014-04-15 11:44:26 +00:00
matt c5ab5d969b Back changes from 1.349 on since the -Wl,-x bug has been fixed in binutils. 2014-04-11 16:51:43 +00:00
christos 2e21bd91e3 explain what's going on, add another kludge for -g 2014-04-11 15:56:09 +00:00
plunky daae7d153c the value of HOST_MKDEP previously depended on USETOOLS;
make it do so again, and centralise the USETOOLS=no case
into bsd.host.mk
2014-04-10 19:02:18 +00:00
christos cb8da48e03 Since the objcopy -x removes debugging symbols, delay that if we are building
debugging libraries and do the stripping with the debug symbol separation
step.
2014-04-09 19:23:09 +00:00
christos eec8658016 change -x to OBJCOPYLIBFLAGS like everywhere else. 2014-04-09 16:29:08 +00:00
wiz c8c5539660 Fix Dd. New sentence, new line. Sort SEE ALSO. Fix macro usage. More markup. 2014-04-07 11:18:13 +00:00
kardel a845bf81d9 add Microchip MCP23S17 GPIO driver
(via SPI interface)
2014-04-06 17:59:39 +00:00
christos f8008b9438 convert i386 to gcc-4.8. boot blocks tested by booting netbsd/i386 multiuser on:
qemu
    dell precision t5400
    sony vaio vgn250p
2014-04-05 02:22:56 +00:00
pgoyette 6296fe9745 Fix typio 2014-04-04 17:18:46 +00:00
matt 5cb8c9ae75 Using -Wl,-x breaks build ARM BE8 shared libraries by striping the $a/$d/$t
symbols before the linker can use them.  Instead do ${OBJCOPY} -x ${.TARGET}
afterwards.
2014-04-04 05:10:15 +00:00
christos 69aa090e6b Add NOCTF 2014-04-04 01:20:12 +00:00
riastradh 52c664e0cd Elide broken exists tests for TOOL_CTFCONVERT and TOOL_CTFMERGE.
Either you set MKCTF=yes and they should exist, or you set MKCTF=no
and it doesn't matter.  If MKCTF=yes and they don't exist, something
is broken, and this should fail noisily, not silently.
2014-04-03 18:29:11 +00:00
riastradh 3938a82dfd By default define CTFCONVERT and CTFMERGE to be no-ops in sys.mk.
Don't test for /usr/bin/ctfconvert or /usr/bin/ctfmerge -- that is
completely bonkers and breaks the build if the host's ctfconvert and
ctfmerge are too old.

Strip the broken conditionals in the .c.o &c. rules.

bsd.own.mk will override CTFCONVERT and CTFMERGE with TOOL_CTFCONVERT
and TOOL_CTFMERGE if MKCTF=yes.

XXX The way CTFCONVERT and CTFMERGE are integrated into the rules is
bogus -- it is not safe to interrupt them.  We need some intermediate
object to do this right.

Please let me know if I broke anything with this -- I am not an elvin
or dwarven wizard, nor a dtrace expert.  But this has been breaking
builds for ages now and nobody else seems to want to do anything
about it.
2014-04-03 18:27:37 +00:00
riastradh a4074b16f2 Correct return type of iic_release_bus. 2014-04-03 15:39:10 +00:00
joerg 8886a873b8 Support SH3 in our unwinder. 2014-04-02 22:34:29 +00:00
martin aad6ef8bb5 Bring back the playstation2 port - now that a toolchain for it is
available again.
2014-03-31 11:25:47 +00:00
mrg 40f1a24e2d make pkg-config files be cleaned by "make clean" 2014-03-31 01:59:36 +00:00
christos 1d3f7461f3 Say how big the buffer should be. 2014-03-30 23:28:14 +00:00
christos 76a09c416c fix pic_intr_string prototype 2014-03-30 00:18:09 +00:00
apb a572e5336e +ICN:Incheon, South Korea
Also fix spelling of Incheon in the entry for JCN
2014-03-28 10:16:28 +00:00
wiz bdcef05215 Bump date for previous. 2014-03-25 10:23:26 +00:00
ozaki-r 1339b2cc13 Add MKCTF
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
joerg 0378fc4757 Add m68k support to our unwinder. 2014-03-24 21:25:03 +00:00
hannken f3cf481632 - Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c.
- Make vwait() static.
- Add  vdead_check() to check a vnode for being or becoming dead.

Discussed on tech-kern.

Welcome to 6.99.38
2014-03-24 13:42:40 +00:00
mrg c4dae12d14 allow for .pc substitutions to be listed per makefile
(could maybe do per-target, as well.)  fix the remaining
substitutions for xcb-proto, fontconfig and xorg-server.

(XXX: move many per-package-specific parts out of
bsd.x11.mk itself, into the relevant Makefile.)
2014-03-23 20:40:18 +00:00
tron cb1db61165 Fix generation of pkg-config(1) files. Patch from Ryo ONODERA via
"current-users" mailing list.
2014-03-23 19:49:52 +00:00
dholland e2ddf9ecf7 Fix the heading for ext2fs options to be consistent with the others. 2014-03-23 00:50:20 +00:00
dholland 5cbf34865d Revise documentation of QUOTA and QUOTA2 options to make it clear that
these are FFS options. (QUOTA2 also works with mfs. AFAIK, traditional
quotas don't.)

Don't refer to QUOTA2 as "the new quotas format" as "new" is not a
good long-term identifier.

Also, don't xref half the quota utilities; there's no need to.
2014-03-23 00:48:08 +00:00
wiz 6b491007ea New sentence, new line; slight wording improvements. 2014-03-22 11:35:03 +00:00
skrll ddb1dc4a8e Bump date for previous 2014-03-22 11:25:54 +00:00
skrll 532f35877f Add mtsleep(9) and a description of how it, tsleep(9), and wakeup(9)
should all be replaced with condvar(9).

While here clear out the lock(9) reference(s) and the obsoleted example.

Based on misc/48671
2014-03-22 11:24:35 +00:00
skrll 05d6b677c6 Remove reference to simplelock 2014-03-22 07:49:06 +00:00
mrg 375467851c substitute several more values for .pc files:
+ 		s,@LIBXML2_CFLAGS@,,; \
+ 		s,@ICONV_CFLAGS@,,; \
+ 		s,@PACKAGE@,${PKGDIST},; \
+ 		s,@PKGCONFIG_REQUIRES@,xx,; \
+ 		s,@PKGCONFIG_REQUIRES_PRIVATELY@,xx,; \
+ 		s,@ERRORDBDIR@,${X11LIBDIR},; \
+ 		s,@EXPAT_CFLAGS@,,; \
+ 		s,@FREETYPE_CFLAGS@,-I${X11ROOTDIR}/include/freetype2 -I${X11ROOTDIR}/include,; \
+ 		s,@SDK_REQUIRED_MODULES@,xproto >= 7.0.17 randrproto >= 1.2.99.3 renderproto >= 0.11 xextproto >= 7.1.99 inputproto >= 1.9.99.902 kbproto >= 1.0.3 fontsproto," \
2014-03-20 22:24:32 +00:00
wiz 4360adca3d Fix date. 2014-03-19 17:48:34 +00:00
wiz fae7c85ffb Bump date for previous. 2014-03-19 17:48:27 +00:00
nonaka c3077021ad Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.
2014-03-19 15:26:41 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
joerg 056a4fb13e libunwind supports vax now. 2014-03-18 13:10:27 +00:00
hannken b349ee43ab Operations vmark(), vunmark() and vismarker() have been replaced by
vfs_vnode_iterator_*(), remove them.

Document vfs_vnode_iterator_*().

Make VI_MARKER private to vfs_vnode.c, vfs_mount.c and unfortunately
to ufs/lfs/lfs_segment.c.

Welcome to 6.99.37
2014-03-18 10:21:47 +00:00
mrg fba338c9bb add libpthread-stubs. 2014-03-17 07:11:40 +00:00
mrg c010f18e24 add dri2proto and presentproto. 2014-03-16 23:07:42 +00:00
joerg 6ba3d41e6f libunwind supports PowerPC. 2014-03-16 13:34:33 +00:00
wiz 3e3cf573bc Spelling, whitespace. 2014-03-16 09:37:47 +00:00
martin 8ada782766 Add umcs(4) 2014-03-16 09:28:43 +00:00
jruoho e49918d4fb Fix a prototype. 2014-03-12 16:37:01 +00:00
joerg 4ccb06d5e3 Add quotes. 2014-03-12 01:49:58 +00:00
joerg db0508b291 More readable condition. 2014-03-12 00:07:33 +00:00
christos 2aa52e016a switch amd64 to gcc-4.8 2014-03-11 23:22:36 +00:00
pooka 495782ee0e Move the "is arch capable of loading native kernel modules into
rump kernel" clauses from bsd.own.mk to Makefile.rump.  Also,
add a rump_nativeabi_p() call to determine if rump kernel is
compiled with native ABI support.
2014-03-10 22:38:53 +00:00
mbalmer a316f56a83 add a nice CVS marker 2014-03-10 18:45:44 +00:00
mbalmer acf8057fda note that kropla.com/dialcode.htm redirects to countrycode.org 2014-03-10 18:44:29 +00:00
mbalmer 68d2c426db reformat comment 2014-03-10 18:22:54 +00:00
mbalmer d70e4dd0c8 add UGT 2014-03-10 17:56:21 +00:00
nakayama 23f5183fd7 -mcmodel option is CPU specific not machine specific. 2014-03-10 12:13:14 +00:00
matt 69e3c65933 Fix inverted test MKCOMPATMODULES 2014-03-09 19:58:43 +00:00
christos e946daf13f XXX: use only thread for ctfmerge 2014-03-09 19:10:01 +00:00
christos 1242d4e5d5 Elide ctfmerge bug. 2014-03-09 18:01:06 +00:00
christos 199409cf03 let's see if the new dwarf library can handle dwarf 4 2014-03-09 18:00:51 +00:00
skrll 4aa91ecac7 Switch arm to gcc 4.8
OK matt@
2014-03-07 16:22:24 +00:00
martin 3412e5549c Switch alpha over to gcc 4.8 2014-03-07 08:31:05 +00:00
matt afc10638c6 Make MKCOMPAT default to yes for powerpc64.
Make MKCOMPATMODULES defaultt to no for evbppc && powerpc64.
2014-03-07 06:01:34 +00:00
mrg bb0ad61c84 switch sparc* to GCC 4.8. 2014-03-06 11:21:05 +00:00
skrll 02c42edde9 Switch hppa to gcc 4.8 2014-03-06 09:03:41 +00:00
hannken 72439b7dc8 Current support for iterating over mnt_vnodelist is rudimentary. Every
caller has to care about list and vnode mutexes, reference count being zero,
intermediate vnode states like VI_CLEAN, VI_XLOCK, VI_MARKER and so on.

Add an interface to iterate over a vnode list:

void vfs_vnode_iterator_init(struct mount *mp, struct vnode_iterator **marker)
void vfs_vnode_iterator_destroy(struct vnode_iterator *marker)
bool vfs_vnode_iterator_next(struct vnode_iterator *marker, struct vnode **vpp)

vfs_vnode_iterator_next() returns either "false / *vpp == NULL" when done
or "true / *vpp != NULL" to return the next referenced vnode from the list.

To make vrecycle() work in this environment change it to

bool vrecycle(struct vnode *vp)

where "vp" is a referenced vnode to be destroyed if this is the last reference.

Discussed on tech-kern.

Welcome to 6.99.34
2014-03-05 09:37:29 +00:00
ginsbach 0b92ede691 Add yet another TLA. 2014-03-05 03:51:25 +00:00
joerg 3dfb7837bb When using Clang, disable integrated assembler for genassym. It creates
syntactically invalid assembler, which is normally not a problem as it
is also using -S.
2014-03-04 21:06:02 +00:00
wiz bbb72bf83b Prefix link to cpsw with 'evbarm'. 2014-03-03 09:10:46 +00:00
wiz 4fc55b00e4 New sentence, new line. 2014-03-03 09:10:00 +00:00
ozaki-r aaaf6db810 Add micphy.4 2014-03-03 02:03:31 +00:00
ozaki-r 8ef5b2745a Mention micphy(4) 2014-03-03 01:36:21 +00:00
ozaki-r bd237efb46 Add micphy(4) manpage 2014-03-03 01:35:08 +00:00
christos aca5beab65 If we are compiling with -g and using gcc4.8 and dtrace downgrade
dwarf generation to version 2 for now.
2014-03-02 22:22:05 +00:00
matt f5f79614ed Add OBJECT_FMTS which is a list of object formats supported by the MACHINE_ARCH 2014-03-02 03:33:29 +00:00
tsutsui e9a418e5e7 Switch x68k to X11FLAVOUR=Xorg, including a working monolithic X68k server.
Confirmed that "build.sh -m x68k -x release" gets no error.
2014-03-01 20:34:17 +00:00
martin 49c0570cfc Make powerpc64 use Matt's new csu stuff 2014-02-28 09:42:33 +00:00
mrg 93fdebb1e5 remove the GCC 4 EXTERNAL_GCC_SUBDIR, and switch GCC 4.8 to use gcc.old. 2014-02-27 20:43:33 +00:00
hannken 2b6ec89863 The current implementation of vn_lock() is racy. Modification of
the vnode operations vector for active vnodes is unsafe because it
is not known whether deadfs or the original file system will be
called.

- Pass down LK_RETRY to the lock operation (hint for deadfs only).

- Change deadfs lock operation to return ENOENT if LK_RETRY is unset.

- Change all other lock operations to check for dead vnode once
  the vnode is locked and unlock and return ENOENT in this case.

With these changes in place vnode lock operations will never succeed
after vclean() has marked the vnode as VI_XLOCK and before vclean()
has changed the operations vector.

Adresses PR kern/37706 (Forced unmount of file systems is unsafe)

Discussed on tech-kern.

Welcome to 6.99.33
2014-02-27 16:51:37 +00:00
martin 6d0f155ac4 For now, provide a path to the gcc 4.1 distribution as well 2014-02-27 10:42:30 +00:00
mrg dc63ee27d6 put the new EXTERNAL_GCC_SUBDIR under MKGCC. 2014-02-26 05:51:11 +00:00
christos f7ecbf3884 powerpc64 needs USE_COMPILERCRTSTUFF=yes 2014-02-26 03:09:42 +00:00
mrg e849bbac94 define EXTERNAL_GCC_SUBDIR based upon HAVE_GCC, for GCC >= 4.5,
and use it in the one place (bsd.lib.mk) it's used in share/mk.
2014-02-26 02:51:02 +00:00
skrll 6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
dholland c48557ca9a Fix examples, from Henning Petersen in PR misc/48612. 2014-02-22 17:29:13 +00:00
wiz e917ca9ede Use more markup. Add "flag" in a sentence. 2014-02-22 11:28:18 +00:00
wiz be49b9a869 Mark up NULL with Dv. 2014-02-22 11:08:05 +00:00
hannken 6935b8d9a0 Update arguments of vrecycle(), description of getnewvnode() and
the vnode flags.
2014-02-22 10:08:12 +00:00
hannken 8a81f374a4 Update the description of vfs_busy() and vfs_unbusy(). 2014-02-22 10:05:54 +00:00
joerg a8d5e9bfd0 Use small code model for LLVM on SPARC64, it should be equivalent to
GCC's medlow.
2014-02-21 20:44:03 +00:00
jdc 679f6e9d0e Add manual page for tsciic and cross reference it from related pages. 2014-02-21 12:26:00 +00:00
christos 161079ca45 put more info about the sierra modem 2014-02-15 18:17:59 +00:00
wiz 2db2e12a03 Fix typo in Dd. 2014-02-14 07:29:06 +00:00
christos d46692d173 mention ibss and hostap support 2014-02-14 04:24:41 +00:00
rmind c5b92e4a87 Sync some NPF config examples with the reality. 2014-02-08 01:32:19 +00:00
wiz 0ccfefc58a Mark up author name with An. 2014-02-07 16:57:05 +00:00
hannken 97834f7ba0 Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31
2014-02-07 15:29:20 +00:00
wiz 01b245946f Wording. New sentence, new line. filesystem -> file system. 2014-02-02 08:34:39 +00:00
manu 70aead41ff Add EMUL_NATIVEROOT so that native binaries can be told to search an
"emulation" directory before the real root. This makes easier to test
an amd64 kernel on the top of an i386 root filesystem prior a full
migration.
2014-02-02 04:28:42 +00:00
tsutsui dfc90f22bb Switch ews4800mips and newsmips to Xorg server.
There is ~no user of X11R6 Xservers except a few developers on these ports
and Xorg wsfb server should work with manual keymap settings.
2014-01-31 18:17:27 +00:00
martin fe2c82ab03 As discussed on tech-toolchain: untill gcc is fixed (or our ABI changed, ...)
make stack protection warnings non-fatal if using gcc 4.8 on sh3/m68k/vax.
2014-01-28 19:41:52 +00:00
pgoyette 50bc862539 Update CIOGFSESSION argument spec to match reality 2014-01-27 21:23:59 +00:00
apb 23e368546c Document TOOL_GZIP. 2014-01-27 07:57:28 +00:00
skrll 3468e012de Fix eraseo from yesterday 2014-01-23 16:35:20 +00:00
wiz 5a90ecf827 New sentence, new line. Sort sections. Remove superfluous Pp.
Add missing .El.
2014-01-23 15:17:59 +00:00
wiz acfab9e197 Spell out month name. 2014-01-23 14:12:38 +00:00
ryoon eb9e4d7489 Add urndis(4), bump date, and copyright year 2014-01-23 13:05:04 +00:00
hannken 04c776e5c8 Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Welcome to 6.99.30
2014-01-23 10:13:55 +00:00
spz 8797028bc7 - make etc/rc.d/wpa_supplicant create directory /var/run/wpa_supplicant
on startup
- create share/examples/wpa_supplicant/wpa_supplicant.conf and make it
  known in the relevant places. Improvements welcome, my point was
  ctrl_interface and "you seriously want this"
2014-01-23 07:26:50 +00:00
skrll deae578450 Update a little (don't trust myself to update anymore). Fix a macro
problem while I'm here.
2014-01-22 23:43:13 +00:00
christos af73cd2b49 For now, ignore errors from creating klinks. This is racy and you can get
it to trigger in 1/4 of the builds with -j 40 on a 24 processor box. Typical
error is:

    ln: machine/include: File exists
    *** Failed target:  .BEGIN
    *** Failed command: rm -f machine && ln -s /p/netbsd/cvsroot/src/sys/arch/vax/include machine
    *** Error code 1
    Stop.

Another approach to fixing this is to create a lockfile or adding other flags
to ln to change its behavior.
2014-01-22 15:19:05 +00:00
matt 5be5871ebb Add MKGCCCMDS to _MKVARS.yes after the loop. 2014-01-22 15:04:19 +00:00
matt aab0ce25e7 Make MKGCCCMDS default mirror MKGCC. (if MKGCC is no, MKGCCCMDS must be no). 2014-01-21 16:40:24 +00:00
mlelstv 45ab26459f Add igmafb man page. 2014-01-21 16:12:56 +00:00
joerg 527d1fa144 Use a separate variable for the use of GCC's unwind code. 2014-01-18 01:08:56 +00:00
hannken 1139274440 Change vnode operations create, mknod, mkdir and symlink to keep the
directory node dvp locked on return.

Discussed on tech-kern@

Welcome to 6.99.29
2014-01-17 10:55:01 +00:00
christos 5344ef6679 - Add a new bsd.host.mk that contains all the HOST_ variables extracted from
bsd.sys.mk and bsd.own.mk
- Add protection requiring that:
	1. bsd.sys.mk is not include from other Makefiles directly
	2. bsd.own.mk must be included before bsd.sys.mk since it
	   sets variables that bsd.sys.mk uses as conditionals.

This is step 1 of removing all variable settings from bsd.sys.mk and
leaving behind only rules. This way, the structure of a standard Makefile
is:
	variable overrides

	optionally include bsd.own.mk
	optionally include bsd.endian.mk

	variable settings that use variables defined in bsd.own.mk

	include a one or more rule .mk files (such as bsd.prog.mk etc)
2014-01-16 01:19:46 +00:00
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
joerg 55c499f97a -shared-libgcc is a GCC option, so only use it for gcc. 2014-01-15 14:00:09 +00:00
joerg 937a61eb8d -Wl,-pie and -r don't agree with each other, so filter the former out. 2014-01-15 13:59:38 +00:00
apb 07c206b653 Document random_seed and random_file. 2014-01-15 11:42:43 +00:00
christos 97d4e30936 use bsd.syscall.mk 2014-01-14 18:51:45 +00:00
apb adecfa9d02 Document new default for MKARZERO. 2014-01-14 11:32:35 +00:00
apb 33295e8a08 Let MKARZERO default to the same value as MKREPRO, so callers
can set MKREPRO=yes and automatically get MKARZERO=yes.
2014-01-14 11:31:01 +00:00
apb e50114d2aa Use parentheses in .if A && ( B || C || D || ... ) 2014-01-14 11:14:27 +00:00
christos fca2a7349b not so fast, let's fix the tree first. 2014-01-10 16:20:14 +00:00
christos b393459455 Add protection against direct inclusion of this file from other Makefiles.
This file is only intended to be included from the other rules files like
bsd.lib.mk or bsd.prog.mk. If you need things to be defined early, use
bsd.own.mk.
2014-01-10 16:16:57 +00:00
wiz 252a57e3a8 whitespace. 2014-01-10 09:43:15 +00:00
dholland b510fd7487 Clarify the behavior of the @machine and @machine_arch magic links
relative to uname output when running in emulations: the magic links
are *not* affected even though uname output changes.

(This means @machine magic links can be used for e.g. amd64 vs. i386
device nodes. There's also an @emul magic link for emulation.)

Noted by apb.
2014-01-09 18:55:41 +00:00
mbalmer 8905acc60a Use 5.2 usage pattern in the synopsis. 2014-01-07 21:54:17 +00:00
joerg 715627650d Non-literal format strings should be an error by default for clang. 2014-01-07 02:16:41 +00:00
njoly 32806908ee Kill one more trailing space in function argument. 2014-01-06 14:57:10 +00:00
njoly fa8cf4e111 Remove extra trailing spaces in functions arguments. 2014-01-06 13:59:00 +00:00
wiz 079d5678c6 Remove core.9lua, now called systm.9lua. 2014-01-06 13:05:47 +00:00
wiz 3181678dad Use more markup. Fix a typo. 2014-01-06 13:03:33 +00:00
wiz a760028eaf Add xrefs to pmf(9lua) and systm(9lua) 2014-01-06 13:03:01 +00:00
wiz 465d58a2d8 Use Fn for functions and Dv for null. 2014-01-06 09:30:26 +00:00
wiz 7da1f424ab Fix article. 2014-01-06 09:25:08 +00:00
wiz f5b7cc347b Use Nx. Remove superfluous Pp. Increase column width to widest entry. 2014-01-06 09:23:18 +00:00
wiz d778b71bd0 New sentence, new line. 2014-01-04 15:41:59 +00:00
wiz 2903717cc7 Sort sections. 2014-01-04 15:40:25 +00:00
christos 15db747847 disable ctf handling for the shuttle .c -> '' rule since we don't create
an object file to work on.
2014-01-02 19:25:08 +00:00
christos d2c532bec7 redo the ctf stuff to handle the USETOOLS=never case correctly and explain
how.
2013-12-31 18:46:09 +00:00
pgoyette 2a3b433915 Clear up documentation for crypto_unregister() vs crypto_unregister_all()
since there is no definition of CRYPTO_ALGORITHM_ALL!

XXX The description of the arguments for crypto_register() needs further
updates, too, but that will be left for another day.
2013-12-31 01:55:05 +00:00
dholland 9b72241e07 Add cross reference to mount_fdesc(8), as noted a while back in PR 45694.
Also add a note that the floppy driver is documented in fdc(4). Bump date.
2013-12-30 08:42:00 +00:00
msaitoh bcf70d1755 Add support For I354(C2000 interna Ethernet controller):
- Add I354 support.
 - Fix SGMII+MDIO case. SGMII+I2C is not supported yet.
 - Not tested well.
 - Sprinkle "XXX" to check later.
2013-12-29 21:28:41 +00:00
christos 1c9c725051 remove dup file 2013-12-28 17:35:01 +00:00
pgoyette a6570d4710 Update description to include Realtek 8211, to match contents of
sys/dev/mii/miidevs
2013-12-28 13:57:19 +00:00
apb 0b88554d45 Change comments and variables to reduce differences with upstream.
No change in the installed files.
2013-12-26 20:19:17 +00:00
apb 3528e952ca Merge tzdata2013i. We previously has tzdata2013d plus part of
tzdata2013e.
2013-12-26 17:09:39 +00:00
apb 33cc90c49b Import tzdata2013i from ftp://ftp.iana.org/tz/releases/tzdata2013i.tar.gz.
Major changes from tzdata2013d to tzdata2013e:

  Fiji (Pacific/Fiji) DST in 2013 starts on October 27, not October 20.

  Several zones have been turned into links, either to correct errors,
  or where the differences were in older data (before 1943) that was
  thought to be unreliable.

  Some time zone abbreviations have been changed.

Major changes from tzdata2013e to tzdata2013f:

  Tocantins, Brazil (America/Araguaina) DST will not start in September
  2013.

  Jordan (Asia/Amman) moves to permanent UTC+3 (instead of UTC+2 with
  permanent DST since 2012).

  Palestine (Asia/Hebron and Asia/Gaza) will end DST at 00:00, not
  01:00, as from September 2013.

Major changes from tzdata2013f to tzdata2013g:

  Morocco (Africa/Casablanca) now observes DST from the last Sunday
  in March to the last Sunday in October, not April to September.
  respectively.

Major changes from tzdata2013g to tzdata2013h:

  Libya (Africa/Tripoli) has switched its time zone back to UTC+2
  without DST, instead of UTC+1 with DST.

  Western Sahara (Africa/El_Aaiun) uses Morocco's DST rules.

  Acre, Brazil (America/Rio_Branco) and (we guess) western Amazonas,
  Brazil (America/Eirunepe), will switch from UTC-4 to UTC-5 on
  2013-11-10.

  Add entries for DST transitions in Morocco in the year 2038.  This
  avoids some year-2038 glitches introduced in 2013g.

Major changes from tzdata2013h to tzdata2013i:

  Jordan (Asia/Amman) switches back to UTC+2 standard time at 00:00 on
  December 20, 2013.  The 2006-2011 DST transition schedule is planned
  to resume in 2014.  The switch to permanent UTC+3 is cancelled.

  In 2004, Cuba (America/Havana) began DST on March 28, not April 4.

  The files solar87, solar88, and solar89 are no longer distributed.
  The zones built from those files (Asia/Riyadh{87,88,89}) and
  Mideast/Riyadh{87,88,89}) are no longer installed.  They were a
  negative experiment -- that is, a demonstration that tz data can
  represent solar time only with some difficulty and error.  Their
  presence in the distribution caused confusion, as Riyadh civil time
  was generally not solar time in those years.
2013-12-26 16:40:53 +00:00
njoly 5548fe6341 Remove a few unneeded paragraph macros. No output change. 2013-12-26 11:11:53 +00:00
wiz b8996e2617 Use Mt. Remove trailing whitespace. 2013-12-24 12:20:50 +00:00
rkujawa 7e4c7bd0fb Add acafh(4) page for the recently addded acafh driver.
Be more precise in clockport(4).
2013-12-24 12:07:16 +00:00
wiz 0824426c83 Bump date for previous. 2013-12-24 01:42:32 +00:00
dholland 89cdc2771e Note the existence of /libdata. PR 48471 from David H. Gutteridge,
with a couple minor adjustments.
2013-12-23 17:44:05 +00:00
njoly 12eade2235 Assorted fixes. Kill a few uneeded paragraph macros, unbreak xref, and
numerous typos.
2013-12-23 12:50:56 +00:00
lneto 1c57b8e8aa renamed luacore to luasystm 2013-12-16 23:54:26 +00:00
matt e3a958c021 Back out change for bsd.lib.mk which skips objcopy -x for BE ARM.
Change OBJCOPYLIBFLAGS to keep $a/$d/$t symbols on BE ARM.
2013-12-16 21:34:16 +00:00
skrll 84c03d543e Provide ARM_APCS_FLAGS on arm and earm. 2013-12-16 19:06:41 +00:00
wiz 449f893950 New sentence, new line. 2013-12-16 00:59:37 +00:00
pgoyette 84f27a786b Mention the new kern.module.autotime variable. 2013-12-15 21:10:32 +00:00
joerg 69fd5d473d Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
2013-12-15 18:08:37 +00:00
christos 6d47ec32bb centralize the rpcgen flags and set for BSD output 2013-12-15 00:28:45 +00:00
matt a49b15d8d8 Don't strip local symbols for earmv7*eb images since that will break linking. 2013-12-13 02:47:45 +00:00
wiz d860f590d4 Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
matt 732b0a7b58 Describe MACHINES.${MACHINE_CPU}. <fixme>
Add sparc64 to MACHINES.sparc since sparc64 can be build as sparc.
2013-12-06 23:14:15 +00:00
matt 70922e5c64 Add MACHINES.${MACHINE_CPU} values. 2013-12-05 22:51:08 +00:00
matt 1b730ee018 add ${MKTARGET_CREATE} for tags 2013-12-05 22:49:33 +00:00
christos 3bd4fc7233 These don't need count anymore. 2013-12-01 00:17:14 +00:00
wiz 0246bab015 Very slightly more consistency in ordering in SYNOPSIS.
Fix a few typos. Remove superfluous Pp.
2013-11-28 16:45:36 +00:00
christos d4738dae6e fix typo 2013-11-27 16:30:12 +00:00
christos ac488d2d4d and a few more. 2013-11-27 16:27:48 +00:00
christos 418193b6ab forgot one 2013-11-27 16:24:31 +00:00
christos 82164e4678 Sync queue man pages with queue.h. 2013-11-27 16:23:00 +00:00