CVS commit: src/sys/dev/ic
Module Name:src Committed By: tsutsui Date: Sat Aug 29 06:05:40 UTC 2009 Modified Files: src/sys/dev/ic: ncr53c9x.c Log Message: Uncomment /*static*/ function declarations, and #ifdef'ed out an unused function. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/dev/ic/ncr53c9x.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/ic/ncr53c9x.c diff -u src/sys/dev/ic/ncr53c9x.c:1.138 src/sys/dev/ic/ncr53c9x.c:1.139 --- src/sys/dev/ic/ncr53c9x.c:1.138 Fri May 1 03:18:20 2009 +++ src/sys/dev/ic/ncr53c9x.c Sat Aug 29 06:05:39 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: ncr53c9x.c,v 1.138 2009/05/01 03:18:20 martin Exp $ */ +/* $NetBSD: ncr53c9x.c,v 1.139 2009/08/29 06:05:39 tsutsui Exp $ */ /*- * Copyright (c) 1998, 2002 The NetBSD Foundation, Inc. @@ -70,7 +70,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.138 2009/05/01 03:18:20 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.139 2009/08/29 06:05:39 tsutsui Exp $"); #include #include @@ -100,23 +100,25 @@ int ncr53c9x_notag = 0; #endif -/*static*/ void ncr53c9x_readregs(struct ncr53c9x_softc *); -/*static*/ void ncr53c9x_select(struct ncr53c9x_softc *, struct ncr53c9x_ecb *); -/*static*/ int ncr53c9x_reselect(struct ncr53c9x_softc *, int, int, int); -/*static*/ void ncr53c9x_scsi_reset(struct ncr53c9x_softc *); -/*static*/ void ncr53c9x_clear(struct ncr53c9x_softc *, scsipi_xfer_result_t); -/*static*/ int ncr53c9x_poll(struct ncr53c9x_softc *, +static void ncr53c9x_readregs(struct ncr53c9x_softc *); +static void ncr53c9x_select(struct ncr53c9x_softc *, struct ncr53c9x_ecb *); +static int ncr53c9x_reselect(struct ncr53c9x_softc *, int, int, int); +#if 0 +static void ncr53c9x_scsi_reset(struct ncr53c9x_softc *); +#endif +static void ncr53c9x_clear(struct ncr53c9x_softc *, scsipi_xfer_result_t); +static int ncr53c9x_poll(struct ncr53c9x_softc *, struct scsipi_xfer *, int); -/*static*/ void ncr53c9x_sched(struct ncr53c9x_softc *); -/*static*/ void ncr53c9x_done(struct ncr53c9x_softc *, struct ncr53c9x_ecb *); -/*static*/ void ncr53c9x_msgin(struct ncr53c9x_softc *); -/*static*/ void ncr53c9x_msgout(struct ncr53c9x_softc *); -/*static*/ void ncr53c9x_timeout(void *arg); -/*static*/ void ncr53c9x_watch(void *arg); -/*static*/ void ncr53c9x_abort(struct ncr53c9x_softc *, struct ncr53c9x_ecb *); -/*static*/ void ncr53c9x_dequeue(struct ncr53c9x_softc *, -struct ncr53c9x_ecb *); -/*static*/ int ncr53c9x_ioctl(struct scsipi_channel *, u_long, +static void ncr53c9x_sched(struct ncr53c9x_softc *); +static void ncr53c9x_done(struct ncr53c9x_softc *, struct ncr53c9x_ecb *); +static void ncr53c9x_msgin(struct ncr53c9x_softc *); +static void ncr53c9x_msgout(struct ncr53c9x_softc *); +static void ncr53c9x_timeout(void *arg); +static void ncr53c9x_watch(void *arg); +static void ncr53c9x_abort(struct ncr53c9x_softc *, struct ncr53c9x_ecb *); +static void ncr53c9x_dequeue(struct ncr53c9x_softc *, + struct ncr53c9x_ecb *); +static int ncr53c9x_ioctl(struct scsipi_channel *, u_long, void *, int, struct proc *); void ncr53c9x_sense(struct ncr53c9x_softc *, struct ncr53c9x_ecb *); @@ -422,6 +424,7 @@ #endif } +#if 0 /* * Reset the SCSI bus, but not the chip */ @@ -434,6 +437,7 @@ printf("%s: resetting SCSI bus\n", device_xname(sc->sc_dev)); NCRCMD(sc, NCRCMD_RSTSCSI); } +#endif /* * Clear all commands
CVS commit: src/sys/kern
Module Name:src Committed By: rmind Date: Sat Aug 29 00:09:02 UTC 2009 Modified Files: src/sys/kern: subr_pool.c Log Message: Make pool_head static. To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/sys/kern/subr_pool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/kern/subr_pool.c diff -u src/sys/kern/subr_pool.c:1.172 src/sys/kern/subr_pool.c:1.173 --- src/sys/kern/subr_pool.c:1.172 Wed Apr 15 11:45:18 2009 +++ src/sys/kern/subr_pool.c Sat Aug 29 00:09:02 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_pool.c,v 1.172 2009/04/15 11:45:18 yamt Exp $ */ +/* $NetBSD: subr_pool.c,v 1.173 2009/08/29 00:09:02 rmind Exp $ */ /*- * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.172 2009/04/15 11:45:18 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.173 2009/08/29 00:09:02 rmind Exp $"); #include "opt_ddb.h" #include "opt_pool.h" @@ -69,7 +69,7 @@ */ /* List of all pools */ -TAILQ_HEAD(,pool) pool_head = TAILQ_HEAD_INITIALIZER(pool_head); +static TAILQ_HEAD(, pool) pool_head = TAILQ_HEAD_INITIALIZER(pool_head); /* Private pool for page header structures */ #define PHPOOL_MAX 8
CVS commit: src/sys
Module Name:src Committed By: rmind Date: Sat Aug 29 00:06:43 UTC 2009 Modified Files: src/sys/kern: sys_pipe.c src/sys/uvm: uvm_emap.c Log Message: - Re-enable direct I/O with emap for pipe. - While not used, #ifdef KVA allocation in emap (so it wont burn the space). To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/kern/sys_pipe.c cvs rdiff -u -r1.4 -r1.5 src/sys/uvm/uvm_emap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/kern/sys_pipe.c diff -u src/sys/kern/sys_pipe.c:1.117 src/sys/kern/sys_pipe.c:1.118 --- src/sys/kern/sys_pipe.c:1.117 Wed Jul 15 21:09:41 2009 +++ src/sys/kern/sys_pipe.c Sat Aug 29 00:06:43 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: sys_pipe.c,v 1.117 2009/07/15 21:09:41 rmind Exp $ */ +/* $NetBSD: sys_pipe.c,v 1.118 2009/08/29 00:06:43 rmind Exp $ */ /*- * Copyright (c) 2003, 2007, 2008, 2009 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.117 2009/07/15 21:09:41 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.118 2009/08/29 00:06:43 rmind Exp $"); #include #include @@ -99,9 +99,6 @@ * #define PIPE_NODIRECT */ -/* XXX Disabled for now; rare hangs switching between direct/buffered */ -#define PIPE_NODIRECT - static int pipe_read(file_t *, off_t *, struct uio *, kauth_cred_t, int); static int pipe_write(file_t *, off_t *, struct uio *, kauth_cred_t, int); static int pipe_close(file_t *); Index: src/sys/uvm/uvm_emap.c diff -u src/sys/uvm/uvm_emap.c:1.4 src/sys/uvm/uvm_emap.c:1.5 --- src/sys/uvm/uvm_emap.c:1.4 Mon Jul 20 03:51:42 2009 +++ src/sys/uvm/uvm_emap.c Sat Aug 29 00:06:43 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_emap.c,v 1.4 2009/07/20 03:51:42 kiyohara Exp $ */ +/* $NetBSD: uvm_emap.c,v 1.5 2009/08/29 00:06:43 rmind Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -46,7 +46,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_emap.c,v 1.4 2009/07/20 03:51:42 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_emap.c,v 1.5 2009/08/29 00:06:43 rmind Exp $"); #include #include @@ -87,7 +87,7 @@ uvm_emap_size = roundup(uvm_emap_size, PAGE_SIZE); qmax = 16 * PAGE_SIZE; - +#if 0 uvm_emap_va = uvm_km_alloc(kernel_map, uvm_emap_size, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA); if (uvm_emap_va == 0) { @@ -99,7 +99,10 @@ if (uvm_emap_vmem == NULL) { panic("uvm_emap_init: vmem creation failed"); } - +#else + uvm_emap_va = 0; + uvm_emap_vmem = NULL; +#endif /* Initial generation value is 1. */ uvm_emap_gen = 1; for (i = 0; i < MAXCPUS; i++) {
CVS commit: src/usr.sbin/sti
Module Name:src Committed By: hubertf Date: Fri Aug 28 21:19:13 UTC 2009 Modified Files: src/usr.sbin/sti: sti.8 Log Message: improve wording a bit To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sti/sti.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/sti/sti.8 diff -u src/usr.sbin/sti/sti.8:1.5 src/usr.sbin/sti/sti.8:1.6 --- src/usr.sbin/sti/sti.8:1.5 Wed Apr 30 13:11:03 2008 +++ src/usr.sbin/sti/sti.8 Fri Aug 28 21:19:13 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: sti.8,v 1.5 2008/04/30 13:11:03 martin Exp $ +.\" $NetBSD: sti.8,v 1.6 2009/08/28 21:19:13 hubertf Exp $ .\" .\" Copyright (c) 2005 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -46,9 +46,9 @@ specified in the command line using .Xr ioctl 2 .Dv TIOCSTI , -or send the standard input if a +or send the standard input if no .Ar string -is not supplied. +is supplied. This .Xr ioctl 2 is limited to the superuser.
CVS commit: src
Module Name:src Committed By: ahoka Date: Fri Aug 28 17:20:07 UTC 2009 Modified Files: src/distrib/sets/lists/xserver: md.alpha md.amd64 md.cats md.i386 src/external/mit/xorg/server/drivers/xf86-video-s3: Makefile Log Message: Install manpage for the Xorg S3 driver. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/distrib/sets/lists/xserver/md.alpha cvs rdiff -u -r1.52 -r1.53 src/distrib/sets/lists/xserver/md.amd64 cvs rdiff -u -r1.30 -r1.31 src/distrib/sets/lists/xserver/md.cats cvs rdiff -u -r1.69 -r1.70 src/distrib/sets/lists/xserver/md.i386 cvs rdiff -u -r1.7 -r1.8 \ src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/xserver/md.alpha diff -u src/distrib/sets/lists/xserver/md.alpha:1.23 src/distrib/sets/lists/xserver/md.alpha:1.24 --- src/distrib/sets/lists/xserver/md.alpha:1.23 Thu Aug 27 04:59:15 2009 +++ src/distrib/sets/lists/xserver/md.alpha Fri Aug 28 17:20:07 2009 @@ -1,4 +1,4 @@ -# $NetBSD: md.alpha,v 1.23 2009/08/27 04:59:15 mrg Exp $ +# $NetBSD: md.alpha,v 1.24 2009/08/28 17:20:07 ahoka Exp $ ./usr/X11R6/bin/X -unknown- x11 ./usr/X11R6/bin/XalphaNetBSD-unknown- x11 ./usr/X11R6/bin/XdecNetBSD-unknown- x11 @@ -257,6 +257,7 @@ ./usr/X11R7/man/cat4/r128.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/radeon.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/radeonhd.0-unknown- .cat,xorg +./usr/X11R7/man/cat4/s3.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/s3virge.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/savage.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/siliconmotion.0 -unknown- .cat,xorg @@ -312,6 +313,7 @@ ./usr/X11R7/man/html4/r128.html-unknown- html,xorg ./usr/X11R7/man/html4/radeon.html -unknown- html,xorg ./usr/X11R7/man/html4/radeonhd.html -unknown- html,xorg +./usr/X11R7/man/html4/s3.html-unknown- html,xorg ./usr/X11R7/man/html4/s3virge.html -unknown- html,xorg ./usr/X11R7/man/html4/savage.html -unknown- html,xorg ./usr/X11R7/man/html4/siliconmotion.html -unknown- html,xorg @@ -367,6 +369,7 @@ ./usr/X11R7/man/man4/r128.4-unknown- .man,xorg ./usr/X11R7/man/man4/radeon.4-unknown- .man,xorg ./usr/X11R7/man/man4/radeonhd.4-unknown- .man,xorg +./usr/X11R7/man/man4/s3.4-unknown- .man,xorg ./usr/X11R7/man/man4/s3virge.4-unknown- .man,xorg ./usr/X11R7/man/man4/savage.4-unknown- .man,xorg ./usr/X11R7/man/man4/siliconmotion.4 -unknown- .man,xorg Index: src/distrib/sets/lists/xserver/md.amd64 diff -u src/distrib/sets/lists/xserver/md.amd64:1.52 src/distrib/sets/lists/xserver/md.amd64:1.53 --- src/distrib/sets/lists/xserver/md.amd64:1.52 Thu Aug 27 04:59:15 2009 +++ src/distrib/sets/lists/xserver/md.amd64 Fri Aug 28 17:20:07 2009 @@ -1,4 +1,4 @@ -# $NetBSD: md.amd64,v 1.52 2009/08/27 04:59:15 mrg Exp $ +# $NetBSD: md.amd64,v 1.53 2009/08/28 17:20:07 ahoka Exp $ ./usr/X11R6/bin/X -unknown- x11 ./usr/X11R6/bin/XFree86 -unknown- x11 ./usr/X11R6/bin/gtf -unknown- x11 @@ -618,6 +618,7 @@ ./usr/X11R7/man/cat4/r128.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/radeon.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/radeonhd.0-unknown- .cat,xorg +./usr/X11R7/man/cat4/s3.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/s3virge.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/savage.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/siliconmotion.0 -unknown- .cat,xorg @@ -659,6 +660,7 @@ ./usr/X11R7/man/html4/r128.html-unknown- html,xorg ./usr/X11R7/man/html4/radeon.html -unknown- html,xorg ./usr/X11R7/man/html4/radeonhd.html -unknown- html,xorg +./usr/X11R7/man/html4/s3.html-unknown- html,xorg ./usr/X11R7/man/html4/s3virge.html -unknown- html,xorg ./usr/X11R7/man/html4/savage.html -unknown- html,xorg ./usr/X11R7/man/html4/siliconmotion.html -unknown- html,xorg @@ -700,6 +702,7 @@ ./usr/X11R7/man/man4/r128.4-unknown- .man,xorg ./usr/X11R7/man/man4/radeon.4-unknown- .man,xorg ./usr/X11R7/man/man4/radeonhd.4-unknown- .man,xorg +./usr/X11R7/man/man4/s3.4-unknown- .man,xorg ./usr/X11R7/man/man4/s3virge.4-unknown- .man,xorg ./usr/X11R7/man/man4/savage.4-unknown- .man,xorg ./usr/X11R7/man/man4/siliconmotion.4 -unknown- .man,xorg Index: src/distrib/sets/lists/xserver/md.cats diff -u src/distrib/sets/lists/xserver/md.cats:1.30 src/distrib/sets/lists/xserver/md.cats:1.31 --- src/distrib/sets/lists/xserver/md.cats:1.30 Sun Aug 23 09:05:45 2009 +++ src/distrib/sets/lists/xserver/md.cats Fri Aug 28 17:20:07 2009 @@ -1,4 +1,4 @@ -# $NetBSD: md.cats,v 1.30 2009/08/23 09:05:45 mrg Exp $ +# $NetBSD: md.cats,v 1.31 2009/08/28 17:20:07 ahoka Exp $ ./usr/X11R6/bin/X -unknown- x11 ./usr/X11R6/bin/XFree86 -unknown- x11 ./usr/X11R6/bin/gtf -unknown- x11 @@ -577,6 +577,7 @@ ./usr/X11R7/man/cat4/nv.0-unknown- .cat,xorg ./usr/X11R7/man/cat4/ra
CVS commit: src/sys/dev/ic
Module Name:src Committed By: dyoung Date: Fri Aug 28 15:29:16 UTC 2009 Modified Files: src/sys/dev/ic: tulipreg.h Log Message: Use C99 types, s/u_int32_t/uint32_t/. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/dev/ic/tulipreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/ic/tulipreg.h diff -u src/sys/dev/ic/tulipreg.h:1.35 src/sys/dev/ic/tulipreg.h:1.36 --- src/sys/dev/ic/tulipreg.h:1.35 Thu Aug 27 20:23:32 2009 +++ src/sys/dev/ic/tulipreg.h Fri Aug 28 15:29:16 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: tulipreg.h,v 1.35 2009/08/27 20:23:32 dyoung Exp $ */ +/* $NetBSD: tulipreg.h,v 1.36 2009/08/28 15:29:16 dyoung Exp $ */ /*- * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. @@ -154,10 +154,10 @@ * be a multiple of 4. */ struct tulip_desc { - volatile u_int32_t td_status; /* Status */ - volatile u_int32_t td_ctl; /* Control and Byte Counts */ - volatile u_int32_t td_bufaddr1; /* Buffer Address 1 */ - volatile u_int32_t td_bufaddr2; /* Buffer Address 2 */ + volatile uint32_t td_status; /* Status */ + volatile uint32_t td_ctl; /* Control and Byte Counts */ + volatile uint32_t td_bufaddr1; /* Buffer Address 1 */ + volatile uint32_t td_bufaddr2; /* Buffer Address 2 */ } __packed __aligned(4); /*
CVS commit: src/sys/sys
Module Name:src Committed By: christos Date: Fri Aug 28 15:15:04 UTC 2009 Modified Files: src/sys/sys: unistd.h Log Message: - Bump posix version to 200112L, we should be mostly compliant now. - Add text from FreeBSD explaining the values - Add missing defines as undef'ed. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/sys/unistd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/sys/unistd.h diff -u src/sys/sys/unistd.h:1.50 src/sys/sys/unistd.h:1.51 --- src/sys/sys/unistd.h:1.50 Tue Aug 18 01:05:56 2009 +++ src/sys/sys/unistd.h Fri Aug 28 11:15:03 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: unistd.h,v 1.50 2009/08/18 05:05:56 yamt Exp $ */ +/* $NetBSD: unistd.h,v 1.51 2009/08/28 15:15:03 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -59,64 +59,103 @@ /* saved set-user-ID and set-group-ID */ #endif -#define _POSIX_VERSION 199009L -#define _POSIX2_VERSION 199212L +#define _POSIX_VERSION 200112L +#define _POSIX2_VERSION 199212L /* execution-time symbolic constants */ -/* asynchronous I/O is available */ -#define _POSIX_ASYNCHRONOUS_IO 200112L -/* chown requires appropriate privileges */ -#define _POSIX_CHOWN_RESTRICTED 1 -/* clock selection */ -#define _POSIX_CLOCK_SELECTION -1 -/* too-long path components generate errors */ -#define _POSIX_NO_TRUNC 1 -/* may disable terminal special characters */ -#define _POSIX_VDISABLE __CAST(unsigned char, '\377') -/* file synchronization is available */ -#define _POSIX_FSYNC 1 -/* synchronized I/O is available */ -#define _POSIX_SYNCHRONIZED_IO 1 -/* memory mapped files */ -#define _POSIX_MAPPED_FILES 1 -/* memory locking of whole address space */ -#define _POSIX_MEMLOCK 1 -/* memory locking address ranges */ -#define _POSIX_MEMLOCK_RANGE 1 -/* memory access protections */ -#define _POSIX_MEMORY_PROTECTION 1 -/* message passing is available */ -#define _POSIX_MESSAGE_PASSING 200112L -/* monotonic clock */ -#define _POSIX_MONOTONIC_CLOCK 200112L -/* priority scheduling */ + +/* + * POSIX options and option groups we unconditionally do or don't + * implement. Those options which are implemented (or not) entirely + * in user mode are defined in . Please keep this list in + * alphabetical order. + * + * Anything which is defined as zero below **must** have an + * implementation for the corresponding sysconf() which is able to + * determine conclusively whether or not the feature is supported. + * Anything which is defined as other than -1 below **must** have + * complete headers, types, and function declarations as specified by + * the POSIX standard; however, if the relevant sysconf() function + * returns -1, the functions may be stubbed out. + */ + /* Advisory information */ +#undef _POSIX_ADVISORY_INFO + /* asynchronous I/O is available */ +#define _POSIX_ASYNCHRONOUS_IO 200112L + /* barriers */ +#define _POSIX_BARRIERS 200112L + /* chown requires correct privileges */ +#define _POSIX_CHOWN_RESTRICTED 1 + /* clock selection */ +#define _POSIX_CLOCK_SELECTION -1 + /* CPU type */ +#undef _POSIX_CPUTYPE + /* file synchronization is available */ +#define _POSIX_FSYNC 1 + /* support IPv6 */ +#define _POSIX_IPV6 0 + /* job control is available */ +#define _POSIX_JOB_CONTROL 1 + /* memory mapped files */ +#define _POSIX_MAPPED_FILES 1 + /* memory locking whole address space */ +#define _POSIX_MEMLOCK 1 + /* memory locking address ranges */ +#define _POSIX_MEMLOCK_RANGE 1 + /* memory access protections */ +#define _POSIX_MEMORY_PROTECTION 1 + /* message passing is available */ +#define _POSIX_MESSAGE_PASSING 200112L + /* monotonic clock */ +#define _POSIX_MONOTONIC_CLOCK 200112L + /* too-long path comp generate errors */ +#define _POSIX_NO_TRUNC 1 + /* prioritized I/O */ +#define _POSIX_PRIORITIZED_IO -1 + /* priority scheduling */ #define _POSIX_PRIORITY_SCHEDULING 200112L -/* threads */ -#define _POSIX_THREADS 200112L -/* _r functions */ -#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L -/* pthread_attr functions for stack size */ + /* raw sockets */ +#define _POSIX_RAW_SOCKETS 200112L + /* read/write locks */ +#define _POSIX_READER_WRITER_LOCKS 200112L + /* realtime signals */ +#undef _POSIX_REALTIME_SIGNALS + /* regular expressions */ +#define _POSIX_REGEXP 1 + /* semaphores */ +#define _POSIX_SEMAPHORES 0 + /* shared memory */ +#undef _POSIX_SHARED_MEMORY_OBJECTS + /* shell */ +#define _POSIX_SHELL 1 + /* spin locks */ +#define _POSIX_SPIN_LOCKS 200112L + /* sporadic server */ +#undef _POSIX_SPORADIC_SERVER + /* synchronized I/O is available */ +#define _POSIX_SYNCHRONIZED_IO 1 + /* threads */ +#define _POSIX_THREADS 200112L + /* pthread_attr for stack size */ #define _POSIX_THREAD_ATTR_STACKSI
CVS commit: src/external/mit/xorg/server/drivers/xf86-video-s3
Module Name:src Committed By: ahoka Date: Fri Aug 28 14:39:39 UTC 2009 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-s3: Makefile Log Message: OK, it seems we missed the fact, that s3_video.c needs S3_NEWMMIO defined for proper compilation (its using some macros which are ended up as undefined symbols and thus crashing the server). The driver is working properly again now. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile diff -u src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile:1.6 src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile:1.7 --- src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile:1.6 Fri Aug 28 14:13:24 2009 +++ src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile Fri Aug 28 14:39:39 2009 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2009/08/28 14:13:24 ahoka Exp $ +# $NetBSD: Makefile,v 1.7 2009/08/28 14:39:39 ahoka Exp $ DRIVER= xf86-video-s3 DRIVER_NAME= s3_drv @@ -15,6 +15,7 @@ BUILDSYMLINKS= s3_accel.c s3_accel_newmmio.c CPPFLAGS.s3_accel_newmmio.c+= -DS3_NEWMMIO=1 \ -I${X11SRCDIR.xf86-video-s3}/src +CPPFLAGS.s3_video.c+= -DS3_NEWMMIO=1 \ CPPFLAGS+= -DPACKAGE_VERSION=\"${PACKAGE_VERSION}\"
CVS commit: src/usr.bin/mail
Module Name:src Committed By: christos Date: Fri Aug 28 14:26:50 UTC 2009 Modified Files: src/usr.bin/mail: mime_decode.c mime_detach.c Log Message: Don't barf on malformed mime messages (missing mime version). From Anon Ymous To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.bin/mail/mime_decode.c cvs rdiff -u -r1.4 -r1.5 src/usr.bin/mail/mime_detach.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/mail/mime_decode.c diff -u src/usr.bin/mail/mime_decode.c:1.15 src/usr.bin/mail/mime_decode.c:1.16 --- src/usr.bin/mail/mime_decode.c:1.15 Fri Apr 10 09:08:25 2009 +++ src/usr.bin/mail/mime_decode.c Fri Aug 28 10:26:50 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: mime_decode.c,v 1.15 2009/04/10 13:08:25 christos Exp $ */ +/* $NetBSD: mime_decode.c,v 1.16 2009/08/28 14:26:50 christos Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #include #ifndef __lint__ -__RCSID("$NetBSD: mime_decode.c,v 1.15 2009/04/10 13:08:25 christos Exp $"); +__RCSID("$NetBSD: mime_decode.c,v 1.16 2009/08/28 14:26:50 christos Exp $"); #endif /* not __lint__ */ #include @@ -266,8 +266,15 @@ filename = savestr(filename); /* save it! */ } mip->mi_filename = filename; -} + /* + * XXX: If we have a "Content-Type" in the header, then assume + * we also have a "MIME-Version: 1.0". This fixes some broken + * MIME headers that I have seen occasionally. + */ + if (mip->mi_version == NULL && mip->mi_type != NULL) + mip->mi_version = MIME_VERSION; +} static struct message * salloc_message(int flag, long block, short offset) Index: src/usr.bin/mail/mime_detach.c diff -u src/usr.bin/mail/mime_detach.c:1.4 src/usr.bin/mail/mime_detach.c:1.5 --- src/usr.bin/mail/mime_detach.c:1.4 Fri Apr 10 09:08:25 2009 +++ src/usr.bin/mail/mime_detach.c Fri Aug 28 10:26:50 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: mime_detach.c,v 1.4 2009/04/10 13:08:25 christos Exp $ */ +/* $NetBSD: mime_detach.c,v 1.5 2009/08/28 14:26:50 christos Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #include #ifndef __lint__ -__RCSID("$NetBSD: mime_detach.c,v 1.4 2009/04/10 13:08:25 christos Exp $"); +__RCSID("$NetBSD: mime_detach.c,v 1.5 2009/08/28 14:26:50 christos Exp $"); #endif /* not __lint__ */ #include @@ -178,26 +178,36 @@ { char *pathname; char *prompt; + const char *partstr; + const char *subtype; + + /* + * XXX: If partstr == NULL, we probably shouldn't be detaching + * anything, but let's be liberal and try to do something with + * the block anyway. + */ + partstr = mip->mi_partstr && mip->mi_partstr[0] ? mip->mi_partstr : "0"; + subtype = mip->mi_subtype ? mip->mi_subtype : "unknown"; /* * Get the suggested target pathname. */ if (mip->mi_filename != NULL) - (void)sasprintf(&pathname, "%s/%s", mip->mi_detachdir, mip->mi_filename); + (void)sasprintf(&pathname, "%s/%s", mip->mi_detachdir, + mip->mi_filename); else { if (mip->mi_detachall == 0) return NULL; (void)sasprintf(&pathname, "%s/msg-%s.part-%s.%s", mip->mi_detachdir, mip->mi_msgstr, - mip->mi_partstr[0] ? mip->mi_partstr : "0", - mip->mi_subtype ? mip->mi_subtype : "unknown"); + partstr, subtype); } /* * Make up the prompt */ - (void)sasprintf(&prompt, "%-7s filename: ", mip->mi_partstr); + (void)sasprintf(&prompt, "%-7s filename: ", partstr); /* * The main loop. @@ -218,7 +228,7 @@ return NULL; continue; } - switch (detach_open_core(fname, mip->mi_partstr)) { + switch (detach_open_core(fname, partstr)) { case DETACH_OPEN_OK: return fname; case DETACH_NEXT:
CVS commit: src/external/mit/xorg/server/drivers/xf86-video-s3
Module Name:src Committed By: ahoka Date: Fri Aug 28 14:13:24 UTC 2009 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-s3: Makefile Log Message: Bump DRIVER_VERSION for last update. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile diff -u src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile:1.5 src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile:1.6 --- src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile:1.5 Sun Jul 12 23:49:49 2009 +++ src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile Fri Aug 28 14:13:24 2009 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2009/07/12 23:49:49 ahoka Exp $ +# $NetBSD: Makefile,v 1.6 2009/08/28 14:13:24 ahoka Exp $ DRIVER= xf86-video-s3 DRIVER_NAME= s3_drv -DRIVER_VERSION= 0.6.2 +DRIVER_VERSION= 0.6.3 SRCS= s3_bios.c s3_cursor.c s3_dga.c s3_driver.c s3_IBMRGB.c \ s3_Ti.c s3_Trio64DAC.c s3_video.c s3_accel.c \