Commit Graph

14932 Commits

Author SHA1 Message Date
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