CVS commit: src/sys/dev/ieee1394
Module Name:src Committed By: kiyohara Date: Mon Apr 19 07:00:58 UTC 2010 Modified Files: src/sys/dev/ieee1394: fwohci.c Log Message: Fix a bug. STAILQ is not NULL termination. To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/sys/dev/ieee1394/fwohci.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/ieee1394/fwohci.c diff -u src/sys/dev/ieee1394/fwohci.c:1.123 src/sys/dev/ieee1394/fwohci.c:1.124 --- src/sys/dev/ieee1394/fwohci.c:1.123 Mon Mar 29 07:34:02 2010 +++ src/sys/dev/ieee1394/fwohci.c Mon Apr 19 07:00:58 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: fwohci.c,v 1.123 2010/03/29 07:34:02 kiyohara Exp $ */ +/* $NetBSD: fwohci.c,v 1.124 2010/04/19 07:00:58 kiyohara Exp $ */ /*- * Copyright (c) 2003 Hidetoshi Shimokawa @@ -37,7 +37,7 @@ * */ #include -__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.123 2010/03/29 07:34:02 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.124 2010/04/19 07:00:58 kiyohara Exp $"); #include #include @@ -1689,12 +1689,12 @@ static void fwohci_db_free(struct fwohci_softc *sc, struct fwohci_dbch *dbch) { - struct fwohcidb_tr *db_tr; + struct fwohcidb_tr *db_tr, *last; if ((dbch->flags & FWOHCI_DBCH_INIT) == 0) return; - for (db_tr = STAILQ_FIRST(&dbch->db_trq); db_tr != NULL; + for (last = db_tr = STAILQ_FIRST(&dbch->db_trq); db_tr != last; db_tr = STAILQ_NEXT(db_tr, link)) { bus_dmamap_destroy(sc->fc.dmat, db_tr->dma_map); if ((dbch->xferq.flag & FWXFERQ_EXTBUF) == 0 &&
CVS commit: src/sys/dev/cardbus
Module Name:src Committed By: kiyohara Date: Mon Apr 19 07:05:15 UTC 2010 Modified Files: src/sys/dev/cardbus: fwohci_cardbus.c Log Message: Not necessary '\n'. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/cardbus/fwohci_cardbus.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/cardbus/fwohci_cardbus.c diff -u src/sys/dev/cardbus/fwohci_cardbus.c:1.32 src/sys/dev/cardbus/fwohci_cardbus.c:1.33 --- src/sys/dev/cardbus/fwohci_cardbus.c:1.32 Mon Mar 29 03:05:27 2010 +++ src/sys/dev/cardbus/fwohci_cardbus.c Mon Apr 19 07:05:15 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: fwohci_cardbus.c,v 1.32 2010/03/29 03:05:27 kiyohara Exp $ */ +/* $NetBSD: fwohci_cardbus.c,v 1.33 2010/04/19 07:05:15 kiyohara Exp $ */ /*- * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fwohci_cardbus.c,v 1.32 2010/03/29 03:05:27 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fwohci_cardbus.c,v 1.33 2010/04/19 07:05:15 kiyohara Exp $"); #include #include @@ -66,8 +66,7 @@ static int fwohci_cardbus_detach(device_t, int); CFATTACH_DECL_NEW(fwohci_cardbus, sizeof(struct fwohci_cardbus_softc), -fwohci_cardbus_match, fwohci_cardbus_attach, -fwohci_cardbus_detach, NULL); +fwohci_cardbus_match, fwohci_cardbus_attach, fwohci_cardbus_detach, NULL); static int fwohci_cardbus_match(device_t parent, cfdata_t match, void *aux)
CVS commit: src/external/bsd/iscsi/dist/src
Module Name:src Committed By: sborrill Date: Mon Apr 19 08:05:36 UTC 2010 Modified Files: src/external/bsd/iscsi/dist/src/initiator: Makefile.am src/external/bsd/iscsi/dist/src/target: Makefile.am Log Message: Put .8 man pages in man8, not man1. Add targets.5 to man5. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/external/bsd/iscsi/dist/src/initiator/Makefile.am cvs rdiff -u -r1.2 -r1.3 src/external/bsd/iscsi/dist/src/target/Makefile.am Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/iscsi/dist/src/initiator/Makefile.am diff -u src/external/bsd/iscsi/dist/src/initiator/Makefile.am:1.3 src/external/bsd/iscsi/dist/src/initiator/Makefile.am:1.4 --- src/external/bsd/iscsi/dist/src/initiator/Makefile.am:1.3 Wed Apr 14 19:52:20 2010 +++ src/external/bsd/iscsi/dist/src/initiator/Makefile.am Mon Apr 19 08:05:36 2010 @@ -1,4 +1,4 @@ -## $NetBSD: Makefile.am,v 1.3 2010/04/14 19:52:20 sborrill Exp $ +## $NetBSD: Makefile.am,v 1.4 2010/04/19 08:05:36 sborrill Exp $ AM_CFLAGS = $(WARNCFLAGS) @@ -10,6 +10,6 @@ iscsi_initiator_LDADD = ../lib/libiscsi.la -lrefuse -man1_MANS = iscsi-initiator.8 +man8_MANS = iscsi-initiator.8 dist_man_MANS = iscsi-initiator.8 Index: src/external/bsd/iscsi/dist/src/target/Makefile.am diff -u src/external/bsd/iscsi/dist/src/target/Makefile.am:1.2 src/external/bsd/iscsi/dist/src/target/Makefile.am:1.3 --- src/external/bsd/iscsi/dist/src/target/Makefile.am:1.2 Tue Jun 30 02:44:53 2009 +++ src/external/bsd/iscsi/dist/src/target/Makefile.am Mon Apr 19 08:05:36 2010 @@ -1,4 +1,4 @@ -## $NetBSD: Makefile.am,v 1.2 2009/06/30 02:44:53 agc Exp $ +## $NetBSD: Makefile.am,v 1.3 2010/04/19 08:05:36 sborrill Exp $ AM_CFLAGS = $(WARNCFLAGS) -pthread @@ -10,6 +10,7 @@ iscsi_target_LDADD = ../lib/libiscsi.la -lpthread -man1_MANS = iscsi-target.8 +man8_MANS = iscsi-target.8 +man5_MANS = targets.5 -dist_man_MANS = iscsi-target.8 +dist_man_MANS = iscsi-target.8 targets.5
CVS commit: src/sys/kern
Module Name:src Committed By: jruoho Date: Mon Apr 19 11:20:57 UTC 2010 Modified Files: src/sys/kern: kern_module.c subr_autoconf.c Log Message: Use CTLTYPE_BOOL. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/kern/kern_module.c cvs rdiff -u -r1.204 -r1.205 src/sys/kern/subr_autoconf.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/kern_module.c diff -u src/sys/kern/kern_module.c:1.63 src/sys/kern/kern_module.c:1.64 --- src/sys/kern/kern_module.c:1.63 Fri Apr 16 11:51:23 2010 +++ src/sys/kern/kern_module.c Mon Apr 19 11:20:56 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_module.c,v 1.63 2010/04/16 11:51:23 pooka Exp $ */ +/* $NetBSD: kern_module.c,v 1.64 2010/04/19 11:20:56 jruoho Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.63 2010/04/16 11:51:23 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.64 2010/04/19 11:20:56 jruoho Exp $"); #define _MODULE_INTERNAL @@ -374,13 +374,13 @@ sysctl_createv(clog, 0, &node, NULL, CTLFLAG_PERMANENT | CTLFLAG_READWRITE, - CTLTYPE_INT, "autoload", + CTLTYPE_BOOL, "autoload", SYSCTL_DESCR("Enable automatic load of modules"), NULL, 0, &module_autoload_on, 0, CTL_CREATE, CTL_EOL); sysctl_createv(clog, 0, &node, NULL, CTLFLAG_PERMANENT | CTLFLAG_READWRITE, - CTLTYPE_INT, "verbose", + CTLTYPE_BOOL, "verbose", SYSCTL_DESCR("Enable verbose output"), NULL, 0, &module_verbose_on, 0, CTL_CREATE, CTL_EOL); Index: src/sys/kern/subr_autoconf.c diff -u src/sys/kern/subr_autoconf.c:1.204 src/sys/kern/subr_autoconf.c:1.205 --- src/sys/kern/subr_autoconf.c:1.204 Thu Mar 25 19:23:18 2010 +++ src/sys/kern/subr_autoconf.c Mon Apr 19 11:20:56 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_autoconf.c,v 1.204 2010/03/25 19:23:18 pooka Exp $ */ +/* $NetBSD: subr_autoconf.c,v 1.205 2010/04/19 11:20:56 jruoho Exp $ */ /* * Copyright (c) 1996, 2000 Christopher G. Demetriou @@ -77,7 +77,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.204 2010/03/25 19:23:18 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.205 2010/04/19 11:20:56 jruoho Exp $"); #ifdef _KERNEL_OPT #include "opt_ddb.h" @@ -2752,7 +2752,7 @@ sysctl_createv(clog, 0, &node, NULL, CTLFLAG_PERMANENT | CTLFLAG_READWRITE, - CTLTYPE_INT, "detachall", + CTLTYPE_BOOL, "detachall", SYSCTL_DESCR("Detach all devices at shutdown"), NULL, 0, &detachall, 0, CTL_CREATE, CTL_EOL);
CVS commit: src/sys/rump/librump/rumpkern
Module Name:src Committed By: pooka Date: Mon Apr 19 11:26:33 UTC 2010 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: no \n in panic To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/rump/librump/rumpkern/emul.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/rump/librump/rumpkern/emul.c diff -u src/sys/rump/librump/rumpkern/emul.c:1.128 src/sys/rump/librump/rumpkern/emul.c:1.129 --- src/sys/rump/librump/rumpkern/emul.c:1.128 Sat Apr 17 16:34:29 2010 +++ src/sys/rump/librump/rumpkern/emul.c Mon Apr 19 11:26:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: emul.c,v 1.128 2010/04/17 16:34:29 pooka Exp $ */ +/* $NetBSD: emul.c,v 1.129 2010/04/19 11:26:33 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.128 2010/04/17 16:34:29 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.129 2010/04/19 11:26:33 pooka Exp $"); #include #include @@ -151,7 +151,7 @@ case SIGSYS: break; default: - panic("unhandled signal %d\n", signo); + panic("unhandled signal %d", signo); } }
CVS commit: src/share/man/man7
Module Name:src Committed By: jruoho Date: Mon Apr 19 12:28:29 UTC 2010 Modified Files: src/share/man/man7: sysctl.7 Log Message: Sort the kern-subtree. Try to correct the differences between the list and the descriptions. Mark several undocumented or unclear items with XXX. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.38 src/share/man/man7/sysctl.7:1.39 --- src/share/man/man7/sysctl.7:1.38 Sun Apr 18 19:42:51 2010 +++ src/share/man/man7/sysctl.7 Mon Apr 19 12:28:29 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.38 2010/04/18 19:42:51 jruoho Exp $ +.\" $NetBSD: sysctl.7,v 1.39 2010/04/19 12:28:29 jruoho Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 .\" -.Dd April 18, 2010 +.Dd April 19, 2010 .Dt SYSCTL 7 .Os .Sh NAME @@ -243,17 +243,20 @@ .It kern.argmax integer no .It kern.autonicetime integer yes .It kern.autoniceval integer yes +.It kern.boothowto integer no .It kern.boottime struct timeval no -.It kern.bufq node not applicable +.\".It kern.bufq node not applicable .It kern.ccpu integer no .It kern.clockrate struct clockinfo no .It kern.consdev integer no +.It kern.coredump node not applicable .It kern.cp_id struct no .It kern.cp_time uint64_t[\|] no .It kern.defcorename string yes .It kern.detachall integer yes .It kern.domainname string yes .It kern.drivers struct kinfo_drivers no +.It kern.dump_on_panic integer yes .It kern.file struct file no .It kern.forkfsleep integer yes .It kern.fscale integer no @@ -262,6 +265,7 @@ .It kern.hostid integer yes .It kern.hostname string yes .It kern.iov_max integer no +.It kern.ipc node not applicable .It kern.job_control integer no .It kern.labeloffset integer no .It kern.labelsector integer no @@ -284,12 +288,14 @@ .It kern.ngroups integer no .It kern.ntptime struct ntptimeval no .It kern.osrelease string no -.It kern.osrev integer no +.It kern.osrevision integer no .It kern.ostype string no .It kern.pipe node not applicable -.It kern.posix1 integer no +.\" .It kern.posix node not applicable +.It kern.posix1version integer no .It kern.posix_barriers integer no .It kern.posix_reader_writer_locks integer no +.\".It kern.posix_sched integer yes .It kern.posix_semaphores integer no .It kern.posix_spin_locks integer no .It kern.posix_threads integer no @@ -297,19 +303,21 @@ .It kern.proc struct kinfo_proc no .It kern.proc2 struct kinfo_proc2 no .It kern.proc_args string no -.It kern.prof node not applicable +.It kern.profiling node not applicable .It kern.rawpartition integer no .It kern.root_device string no .It kern.root_partition integer no .It kern.rtc_offset integer yes .It kern.saved_ids integer no +.It kern.sbmax integer yes .It kern.securelevel integer raise only +.It kern.somaxkva integer yes .It kern.synchronized_io integer no -.It kern.ipc node not applicable .It kern.timecounter node not applicable .It kern.timex struct no .It kern.tkstat node not applicable .It kern.urandom integer no +.It kern.veriexec node not applicable .It kern.version string no .It kern.vnode struct vnode no .El @@ -317,11 +325,13 @@ .It Li kern.argmax ( KERN_ARGMAX ) The maximum bytes of argument to .Xr execve 2 . +.\" XXX: Is kern.autonicetime still available? .It Li kern.autonicetime ( KERN_AUTONICETIME ) The number of seconds of CPU-time a non-root process may accumulate before having its priority lowered from the default to the value of KERN_AUTONICEVAL. If set to 0, automatic lowering of priority is not performed, and if set to \-1 all non-root processes are immediately lowered. +.\" XXX: Is kern.autoniceval still available? .It Li kern.autoniceval ( KERN_AUTONICEVAL ) The priority assigned for automatically niced processes. .It Li kern.boothowto @@ -333,6 +343,7 @@ .Va struct timeval structure is returned. This structure contains the time that the system was booted. +.\" XXX: Undocumented: .It Li kern.bufq .It Li kern.ccpu ( KERN_CCPU ) The scheduler exponential decay value. .It Li kern.clockrate ( KERN_CLOCKRATE ) @@ -347,6 +358,33 @@ for additional details. .It Li kern.consdev ( KERN_CONSDEV ) Console device. +.It Li kern.coredump +Settings related to set-id processes coredumps. +By default, set-id processes do not dump core in situations where +other processes would. +The settings in this node allows an administrator to change this +behavior. +.Pp +The third level name is +.Dv kern.coredump.setid +and the variables are: +.Pp +.Bl -tag -width "123456" +.It Li kern.coredump.setid.dump +If non-zero, set-id processes will dump core. +.It Li kern.coredump.setid.group +The group-id for the set-id processes' coredu
CVS commit: src/share/man/man7
Module Name:src Committed By: jruoho Date: Mon Apr 19 12:44:33 UTC 2010 Modified Files: src/share/man/man7: sysctl.7 Log Message: Add sublists for the kern.coredump and kern.veriexec trees. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.39 src/share/man/man7/sysctl.7:1.40 --- src/share/man/man7/sysctl.7:1.39 Mon Apr 19 12:28:29 2010 +++ src/share/man/man7/sysctl.7 Mon Apr 19 12:44:33 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.39 2010/04/19 12:28:29 jruoho Exp $ +.\" $NetBSD: sysctl.7,v 1.40 2010/04/19 12:44:33 jruoho Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -367,8 +367,15 @@ .Pp The third level name is .Dv kern.coredump.setid -and the variables are: -.Pp +and fourth level variables are described below. +.Bl -column "kern.coredump.setid.group" "integer" "Changeable" -offset indent +.It Sy Fourth level name Type Changeable +.It kern.coredump.setid.dump integer yes +.It kern.coredump.setid.group integer yes +.It kern.coredump.setid.mode integer yes +.It kern.coredump.setid.owner integer yes +.It kern.coredump.setid.path string yes +.El .Bl -tag -width "123456" .It Li kern.coredump.setid.dump If non-zero, set-id processes will dump core. @@ -892,7 +899,15 @@ .It Li kern.urandom ( KERN_URND ) Random integer value. .It Li kern.veriexec -Tunings for Verixec. +Runtime information for +.Xr veriexec 8 . +.Bl -column "kern.veriexec.algorithms" "integer" "Changeable" -offset indent +.It Sy Third level name Type Changeable +.It kern.veriexec.algorithms string no +.It kern.veriexec.count node not applicable +.It kern.veriexec.strict integer yes +.It kern.veriexec.verbose integer yes +.El .Bl -tag -width "123456" .It Li kern.veriexec.algorithms Returns a string with the supported algorithms in Veriexec.
CVS commit: src/share/man
Module Name:src Committed By: jruoho Date: Mon Apr 19 12:59:36 UTC 2010 Modified Files: src/share/man/man5: rc.conf.5 src/share/man/man8: security.8 Log Message: Mention security(8) in rc.conf(5) and symlink(7) in security(8). To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/share/man/man5/rc.conf.5 cvs rdiff -u -r1.19 -r1.20 src/share/man/man8/security.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man5/rc.conf.5 diff -u src/share/man/man5/rc.conf.5:1.141 src/share/man/man5/rc.conf.5:1.142 --- src/share/man/man5/rc.conf.5:1.141 Sat Mar 20 11:23:37 2010 +++ src/share/man/man5/rc.conf.5 Mon Apr 19 12:59:36 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: rc.conf.5,v 1.141 2010/03/20 11:23:37 wiz Exp $ +.\" $NetBSD: rc.conf.5,v 1.142 2010/04/19 12:59:36 jruoho Exp $ .\" .\" Copyright (c) 1996 Matthew R. Green .\" All rights reserved. @@ -55,7 +55,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 19, 2010 +.Dd April 19, 2010 .Dt RC.CONF 5 .Os .Sh NAME @@ -296,7 +296,7 @@ .Dq "OPTIONAL:/usr" , where the .Dq OPTIONAL: -prefix means that it's not an error if the file system is not +prefix means that it is not an error if the file system is not present in .Xr fstab 5 . .It Sy fsck_flags @@ -406,6 +406,9 @@ .Dq real temporary directories, .Dq Pa /private/tmp . +See +.Xr security 8 +for additional details. .It Sy quota Boolean value. Checks and enables quotas by running Index: src/share/man/man8/security.8 diff -u src/share/man/man8/security.8:1.19 src/share/man/man8/security.8:1.20 --- src/share/man/man8/security.8:1.19 Mon May 18 14:58:14 2009 +++ src/share/man/man8/security.8 Mon Apr 19 12:59:36 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: security.8,v 1.19 2009/05/18 14:58:14 wiz Exp $ +.\" $NetBSD: security.8,v 1.20 2010/04/19 12:59:36 jruoho Exp $ .\" .\" Copyright (c) 2006 Elad Efrat .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd January 26, 2009 +.Dd April 19, 2010 .Dt SECURITY 8 .Os .Sh NAME @@ -311,6 +311,11 @@ .Bd -literal -offset indent # /etc/rc.d/perusertmp start .Ed +.Pp +The per-user temporary storage is implemented by using +.Dq magic symlinks . +These are further described in +.Xr symlink 7 . .Sh INFORMATION FILTERING .Nx provides administrators the ability to restrict information passed from
CVS commit: src/sys
Module Name:src Committed By: dyoung Date: Mon Apr 19 18:24:27 UTC 2010 Modified Files: src/sys/arch/i386/isa: isapnp_machdep.c src/sys/dev/ic: com.c i82365.c pckbc.c tcic2.c vga.c src/sys/dev/isa: isadma.c pcdisplay.c src/sys/dev/pci: cy82c693.c pccbb.c src/sys/kern: kern_stub.c src/sys/sys: bus.h Log Message: Add default implementations for bus_space_is_equal(9), bus_space_tag_create(9), and bus_space_tag_destroy(9). Use bus_space_is_equal(9) throughout the kernel to compare bus_space_tag_t's. Tested on i386 and on sparc64. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/i386/isa/isapnp_machdep.c cvs rdiff -u -r1.296 -r1.297 src/sys/dev/ic/com.c cvs rdiff -u -r1.112 -r1.113 src/sys/dev/ic/i82365.c cvs rdiff -u -r1.49 -r1.50 src/sys/dev/ic/pckbc.c cvs rdiff -u -r1.34 -r1.35 src/sys/dev/ic/tcic2.c cvs rdiff -u -r1.103 -r1.104 src/sys/dev/ic/vga.c cvs rdiff -u -r1.63 -r1.64 src/sys/dev/isa/isadma.c cvs rdiff -u -r1.39 -r1.40 src/sys/dev/isa/pcdisplay.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/cy82c693.c cvs rdiff -u -r1.197 -r1.198 src/sys/dev/pci/pccbb.c cvs rdiff -u -r1.25 -r1.26 src/sys/kern/kern_stub.c cvs rdiff -u -r1.2 -r1.3 src/sys/sys/bus.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/arch/i386/isa/isapnp_machdep.c diff -u src/sys/arch/i386/isa/isapnp_machdep.c:1.13 src/sys/arch/i386/isa/isapnp_machdep.c:1.14 --- src/sys/arch/i386/isa/isapnp_machdep.c:1.13 Mon Apr 28 20:23:24 2008 +++ src/sys/arch/i386/isa/isapnp_machdep.c Mon Apr 19 18:24:26 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: isapnp_machdep.c,v 1.13 2008/04/28 20:23:24 martin Exp $ */ +/* $NetBSD: isapnp_machdep.c,v 1.14 2010/04/19 18:24:26 dyoung Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -45,7 +45,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: isapnp_machdep.c,v 1.13 2008/04/28 20:23:24 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: isapnp_machdep.c,v 1.14 2010/04/19 18:24:26 dyoung Exp $"); #include #include @@ -67,7 +67,7 @@ { #ifdef DIAGNOSTIC - if (sc->sc_iot != X86_BUS_SPACE_IO) + if (!bus_space_is_equal(sc->sc_iot, x86_bus_space_io)) panic("isapnp_map: bogus bus space tag"); #endif @@ -100,7 +100,7 @@ #endif #ifdef DIAGNOSTIC - if (sc->sc_iot != X86_BUS_SPACE_IO) + if (!bus_space_is_equal(sc->sc_iot, x86_bus_space_io)) panic("isapnp_map_readport: bogus bus space tag"); #endif Index: src/sys/dev/ic/com.c diff -u src/sys/dev/ic/com.c:1.296 src/sys/dev/ic/com.c:1.297 --- src/sys/dev/ic/com.c:1.296 Mon Mar 22 23:00:08 2010 +++ src/sys/dev/ic/com.c Mon Apr 19 18:24:26 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.296 2010/03/22 23:00:08 dyoung Exp $ */ +/* $NetBSD: com.c,v 1.297 2010/04/19 18:24:26 dyoung Exp $ */ /*- * Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.296 2010/03/22 23:00:08 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.297 2010/04/19 18:24:26 dyoung Exp $"); #include "opt_com.h" #include "opt_ddb.h" @@ -263,13 +263,6 @@ #define COM_BARRIER(r, f) \ bus_space_barrier((r)->cr_iot, (r)->cr_ioh, 0, (r)->cr_nports, (f)) -/* XXX Comparing bus_space_tag_t's is not allowed! */ -static bool -tags_are_equal(const bus_space_tag_t lt, const bus_space_tag_t rt) -{ - return true; -} - /*ARGSUSED*/ int comspeed(long speed, long frequency, int type) @@ -399,7 +392,7 @@ CSR_WRITE_1(regsp, COM_REG_IER, sc->sc_ier); - if (tags_are_equal(regsp->cr_iot, comcons_info.regs.cr_iot) && + if (bus_space_is_equal(regsp->cr_iot, comcons_info.regs.cr_iot) && regsp->cr_iobase == comcons_info.regs.cr_iobase) { comconsattached = 1; @@ -548,7 +541,7 @@ * exclusive use. If it's the console _and_ the * kgdb device, it doesn't. */ - if (tags_are_equal(regsp->cr_iot, comkgdbregs.cr_iot) && + if (bus_space_is_equal(regsp->cr_iot, comkgdbregs.cr_iot) && regsp->cr_iobase == comkgdbregs.cr_iobase) { if (!ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) { com_kgdb_attached = 1; @@ -2309,7 +2302,7 @@ { int res; - if (tags_are_equal(regsp->cr_iot, comcons_info.regs.cr_iot) && + if (bus_space_is_equal(regsp->cr_iot, comcons_info.regs.cr_iot) && regsp->cr_iobase == comcons_info.regs.cr_iobase) { #if !defined(DDB) return (EBUSY); /* cannot share with console */ @@ -2378,12 +2371,13 @@ bus_space_handle_t help; if (!comconsattached && - tags_are_equal(iot, comcons_info.regs.cr_iot) && + bus_space_is_equal(iot, comcons_info.regs.cr_iot) && iobase == comcons_info.regs.cr_iobase) help = comcons_info.regs.cr_ioh; #ifdef KGDB else if (!com_kgdb_attached && - tags_are_equal(iot, comkgdbregs.cr_iot) && iobase == comkgdbregs.cr_iobase) + bus_space_is_equal(iot, comkgdbregs.cr_iot) && + iobase == comkgdbregs.cr_iobase) help = comkgdbre
CVS commit: src/distrib/utils/sysinst
Module Name:src Committed By: martin Date: Mon Apr 19 19:16:11 UTC 2010 Modified Files: src/distrib/utils/sysinst: msg.mbr.de Log Message: Tune a message To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/distrib/utils/sysinst/msg.mbr.de Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/sysinst/msg.mbr.de diff -u src/distrib/utils/sysinst/msg.mbr.de:1.8 src/distrib/utils/sysinst/msg.mbr.de:1.9 --- src/distrib/utils/sysinst/msg.mbr.de:1.8 Thu Feb 15 12:00:15 2007 +++ src/distrib/utils/sysinst/msg.mbr.de Mon Apr 19 19:16:11 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: msg.mbr.de,v 1.8 2007/02/15 12:00:15 rillig Exp $ */ +/* $NetBSD: msg.mbr.de,v 1.9 2010/04/19 19:16:11 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -148,11 +148,11 @@ message editparttable {Die aktuelle MBR-Partition wird unten angezeigt. -Flgs: a => Aktive Startpartition, +Flag: a => (A)ktive Startpartition, .if BOOTSEL -d => 'Bootselect' (Bootauswahl) Vorgabe, +d => Stan(D)ardauswahl, .endif -I => hier installieren. +I => hier (I)nstallieren. Wählen Sie die Partition, die Sie verändern möchten: }
CVS commit: src/distrib/utils/sysinst
Module Name:src Committed By: martin Date: Mon Apr 19 19:22:41 UTC 2010 Modified Files: src/distrib/utils/sysinst: mbr.c msg.mbr.de msg.mbr.en msg.mbr.es msg.mbr.fr msg.mbr.pl Log Message: Fix a varargs argument type mismatch on 32bit archs - change format to explicitly use %lu and cast the passed value accordingly. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/distrib/utils/sysinst/mbr.c cvs rdiff -u -r1.9 -r1.10 src/distrib/utils/sysinst/msg.mbr.de cvs rdiff -u -r1.13 -r1.14 src/distrib/utils/sysinst/msg.mbr.en cvs rdiff -u -r1.4 -r1.5 src/distrib/utils/sysinst/msg.mbr.es cvs rdiff -u -r1.15 -r1.16 src/distrib/utils/sysinst/msg.mbr.fr cvs rdiff -u -r1.11 -r1.12 src/distrib/utils/sysinst/msg.mbr.pl Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/sysinst/mbr.c diff -u src/distrib/utils/sysinst/mbr.c:1.83 src/distrib/utils/sysinst/mbr.c:1.84 --- src/distrib/utils/sysinst/mbr.c:1.83 Thu Apr 15 22:55:15 2010 +++ src/distrib/utils/sysinst/mbr.c Mon Apr 19 19:22:41 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: mbr.c,v 1.83 2010/04/15 22:55:15 martin Exp $ */ +/* $NetBSD: mbr.c,v 1.84 2010/04/19 19:22:41 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -1173,8 +1173,8 @@ msg_display(MSG_editparttable); - msg_table_add(MSG_part_header, dlsize/sizemult, multname, multname, - multname, multname); + msg_table_add(MSG_part_header, (unsigned long)(dlsize/sizemult), + multname, multname, multname, multname); if (num_opts == 0) { num_opts = 6; @@ -1299,6 +1299,10 @@ return(md_mbr_use_wholedisk(mbri)); } + /* Default to MB, and use bios geometry for cylinder size */ + set_sizemultname_meg(); + current_cylsize = bhead * bsec; + mbr_menu = new_menu(NULL, NULL, 16, 0, -1, 15, 70, MC_NOBOX | MC_ALWAYS_SCROLL | MC_NOCLEAR, set_mbr_header, set_mbr_label, NULL, @@ -1306,10 +1310,6 @@ if (mbr_menu == -1) return 0; - /* Default to MB, and use bios geometry for cylinder size */ - set_sizemultname_meg(); - current_cylsize = bhead * bsec; - for (;;) { ptstart = 0; ptsize = 0; Index: src/distrib/utils/sysinst/msg.mbr.de diff -u src/distrib/utils/sysinst/msg.mbr.de:1.9 src/distrib/utils/sysinst/msg.mbr.de:1.10 --- src/distrib/utils/sysinst/msg.mbr.de:1.9 Mon Apr 19 19:16:11 2010 +++ src/distrib/utils/sysinst/msg.mbr.de Mon Apr 19 19:22:41 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: msg.mbr.de,v 1.9 2010/04/19 19:16:11 martin Exp $ */ +/* $NetBSD: msg.mbr.de,v 1.10 2010/04/19 19:22:41 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -66,7 +66,7 @@ /* the %s's will expand into three character strings */ message part_header -{ Festplattenkapazität insgesamt %d %s. +{ Festplattenkapazität insgesamt %lu %s. .if BOOTSEL Start(%3s) Größe(%3s) Flag TypBootmenü Index: src/distrib/utils/sysinst/msg.mbr.en diff -u src/distrib/utils/sysinst/msg.mbr.en:1.13 src/distrib/utils/sysinst/msg.mbr.en:1.14 --- src/distrib/utils/sysinst/msg.mbr.en:1.13 Sun Apr 23 23:09:48 2006 +++ src/distrib/utils/sysinst/msg.mbr.en Mon Apr 19 19:22:41 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: msg.mbr.en,v 1.13 2006/04/23 23:09:48 hubertf Exp $ */ +/* $NetBSD: msg.mbr.en,v 1.14 2010/04/19 19:22:41 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -67,7 +67,7 @@ /* the %s's will expand into three character strings */ message part_header -{ Total disk size %d %s. +{ Total disk size %lu %s. .if BOOTSEL Start(%3s) Size(%3s) Flg KindBootmenu Index: src/distrib/utils/sysinst/msg.mbr.es diff -u src/distrib/utils/sysinst/msg.mbr.es:1.4 src/distrib/utils/sysinst/msg.mbr.es:1.5 --- src/distrib/utils/sysinst/msg.mbr.es:1.4 Thu Dec 8 16:51:45 2005 +++ src/distrib/utils/sysinst/msg.mbr.es Mon Apr 19 19:22:41 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: msg.mbr.es,v 1.4 2005/12/08 16:51:45 xtraeme Exp $ */ +/* $NetBSD: msg.mbr.es,v 1.5 2010/04/19 19:22:41 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -66,7 +66,7 @@ /* the %s's will expand into three character strings */ message part_header -{ Tamaño total del disco %d %s. +{ Tamaño total del disco %lu %s. .if BOOTSEL Inicio(%3s) Tamaño(%3s) Opc TipoBootmenu Index: src/distrib/utils/sysinst/msg.mbr.fr diff -u src/distrib/utils/sysinst/msg.mbr.fr:1.15 src/distrib/utils/sysinst/msg.mbr.fr:1.16 --- src/distrib/utils/sysinst/msg.mbr.fr:1.15 Sun Oct 18 19:31:53 2009 +++ src/distrib/utils/sysinst/msg.mbr.fr Mon Apr 19 19:22:41 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: msg.mbr.fr,v 1.15 2009/10/18 19:31:53 stacktic Exp $ */ +/* $NetBSD: msg.mbr.fr,v 1.16 2010/04/19 19:22:41 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -63,7 +63,7 @@ /* the %s's will expand into three character strings */ message part_header -{ Ta
CVS commit: src/distrib/utils/sysinst/arch/i386
Module Name:src Committed By: martin Date: Mon Apr 19 20:35:24 UTC 2010 Modified Files: src/distrib/utils/sysinst/arch/i386: md.c Log Message: Do not ask for a "bios geometry" if we can not match the device to a bios known device - it's most certainly a don't care. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/distrib/utils/sysinst/arch/i386/md.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/sysinst/arch/i386/md.c diff -u src/distrib/utils/sysinst/arch/i386/md.c:1.124 src/distrib/utils/sysinst/arch/i386/md.c:1.125 --- src/distrib/utils/sysinst/arch/i386/md.c:1.124 Sat Jan 2 18:06:58 2010 +++ src/distrib/utils/sysinst/arch/i386/md.c Mon Apr 19 20:35:23 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.124 2010/01/02 18:06:58 dsl Exp $ */ +/* $NetBSD: md.c,v 1.125 2010/04/19 20:35:23 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -471,8 +471,10 @@ } if (nip == NULL || nip->ni_nmatches == 0) { nogeom: - msg_display(MSG_nobiosgeom, dlcyl, dlhead, dlsec); - if (guess_biosgeom_from_mbr(&mbr, &cyl, &head, &sec) >= 0) + if (nip != NULL) + msg_display(MSG_nobiosgeom, dlcyl, dlhead, dlsec); + if (guess_biosgeom_from_mbr(&mbr, &cyl, &head, &sec) >= 0 + && nip != NULL) msg_display_add(MSG_biosguess, cyl, head, sec); biosdisk = NULL; } else { @@ -507,9 +509,10 @@ nip->ni_biosmatches[i]]; } } - if (biosdisk == NULL) - set_bios_geom(cyl, head, sec); - else { + if (biosdisk == NULL) { + if (nip != NULL) + set_bios_geom(cyl, head, sec); + } else { bcyl = biosdisk->bi_cyl; bhead = biosdisk->bi_head; bsec = biosdisk->bi_sec;
CVS commit: src/distrib/utils/sysinst
Module Name:src Committed By: martin Date: Mon Apr 19 21:12:52 UTC 2010 Modified Files: src/distrib/utils/sysinst: mbr.c src/distrib/utils/sysinst/arch/i386: md.c Log Message: Oops - last change could lead to crashes - when not asking for a geometry, use the default one. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/distrib/utils/sysinst/mbr.c cvs rdiff -u -r1.125 -r1.126 src/distrib/utils/sysinst/arch/i386/md.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/utils/sysinst/mbr.c diff -u src/distrib/utils/sysinst/mbr.c:1.84 src/distrib/utils/sysinst/mbr.c:1.85 --- src/distrib/utils/sysinst/mbr.c:1.84 Mon Apr 19 19:22:41 2010 +++ src/distrib/utils/sysinst/mbr.c Mon Apr 19 21:12:51 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: mbr.c,v 1.84 2010/04/19 19:22:41 martin Exp $ */ +/* $NetBSD: mbr.c,v 1.85 2010/04/19 21:12:51 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -1299,10 +1299,6 @@ return(md_mbr_use_wholedisk(mbri)); } - /* Default to MB, and use bios geometry for cylinder size */ - set_sizemultname_meg(); - current_cylsize = bhead * bsec; - mbr_menu = new_menu(NULL, NULL, 16, 0, -1, 15, 70, MC_NOBOX | MC_ALWAYS_SCROLL | MC_NOCLEAR, set_mbr_header, set_mbr_label, NULL, @@ -1310,6 +1306,10 @@ if (mbr_menu == -1) return 0; + /* Default to MB, and use bios geometry for cylinder size */ + set_sizemultname_meg(); + current_cylsize = bhead * bsec; + for (;;) { ptstart = 0; ptsize = 0; Index: src/distrib/utils/sysinst/arch/i386/md.c diff -u src/distrib/utils/sysinst/arch/i386/md.c:1.125 src/distrib/utils/sysinst/arch/i386/md.c:1.126 --- src/distrib/utils/sysinst/arch/i386/md.c:1.125 Mon Apr 19 20:35:23 2010 +++ src/distrib/utils/sysinst/arch/i386/md.c Mon Apr 19 21:12:52 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.125 2010/04/19 20:35:23 martin Exp $ */ +/* $NetBSD: md.c,v 1.126 2010/04/19 21:12:52 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -510,8 +510,13 @@ } } if (biosdisk == NULL) { - if (nip != NULL) + if (nip != NULL) { set_bios_geom(cyl, head, sec); + } else { + bcyl = cyl; + bhead = head; + bsec = sec; + } } else { bcyl = biosdisk->bi_cyl; bhead = biosdisk->bi_head;
CVS commit: src/sys/dev/usb
Module Name:src Committed By: jmcneill Date: Mon Apr 19 21:55:20 UTC 2010 Modified Files: src/sys/dev/usb: usbdevs Log Message: SUNRISING SR9600 Fast Ethernet To generate a diff of this commit: cvs rdiff -u -r1.548 -r1.549 src/sys/dev/usb/usbdevs 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/usb/usbdevs diff -u src/sys/dev/usb/usbdevs:1.548 src/sys/dev/usb/usbdevs:1.549 --- src/sys/dev/usb/usbdevs:1.548 Sun Apr 11 13:57:22 2010 +++ src/sys/dev/usb/usbdevs Mon Apr 19 21:55:20 2010 @@ -1,4 +1,4 @@ -$NetBSD: usbdevs,v 1.548 2010/04/11 13:57:22 drochner Exp $ +$NetBSD: usbdevs,v 1.549 2010/04/19 21:55:20 jmcneill Exp $ /* * Copyright (c) 1998-2004 The NetBSD Foundation, Inc. @@ -423,6 +423,7 @@ vendor FALCOM 0x0f94 Falcom Wireless Communications GmbH vendor RIM 0x0fca Research In Motion vendor DYNASTREAM 0x0fcf Dynastream Innovations +vendor SUNRISING 0x0fe6 SUNRISING vendor QUALCOMM 0x1004 Qualcomm vendor GIGABYTE 0x1044 GIGABYTE vendor MOTOROLA 0x1063 Motorola @@ -2290,6 +2291,9 @@ /* XXX The above is a North American PC style keyboard possibly */ product SUN MOUSE 0x0100 Type 6 USB mouse +/* SUNRISING products */ +product SUNRISING SR9600 0x8101 SR9600 Ethernet + /* SuperTop products */ product SUPERTOP IDEBRIDGE 0x6600 SuperTop IDE Bridge
CVS commit: src/sys/dev/usb
Module Name:src Committed By: jmcneill Date: Mon Apr 19 21:56:00 UTC 2010 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen for SUNRISING SR9600 Fast Ethernet To generate a diff of this commit: cvs rdiff -u -r1.543 -r1.544 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.544 -r1.545 src/sys/dev/usb/usbdevs_data.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/usb/usbdevs.h diff -u src/sys/dev/usb/usbdevs.h:1.543 src/sys/dev/usb/usbdevs.h:1.544 --- src/sys/dev/usb/usbdevs.h:1.543 Sun Apr 11 13:58:30 2010 +++ src/sys/dev/usb/usbdevs.h Mon Apr 19 21:56:00 2010 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs.h,v 1.543 2010/04/11 13:58:30 drochner Exp $ */ +/* $NetBSD: usbdevs.h,v 1.544 2010/04/19 21:56:00 jmcneill Exp $ */ /* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.548 2010/04/11 13:57:22 drochner Exp + * NetBSD: usbdevs,v 1.549 2010/04/19 21:55:20 jmcneill Exp */ /* @@ -430,6 +430,7 @@ #define USB_VENDOR_FALCOM 0x0f94 /* Falcom Wireless Communications GmbH */ #define USB_VENDOR_RIM 0x0fca /* Research In Motion */ #define USB_VENDOR_DYNASTREAM 0x0fcf /* Dynastream Innovations */ +#define USB_VENDOR_SUNRISING 0x0fe6 /* SUNRISING */ #define USB_VENDOR_QUALCOMM 0x1004 /* Qualcomm */ #define USB_VENDOR_GIGABYTE 0x1044 /* GIGABYTE */ #define USB_VENDOR_MOTOROLA 0x1063 /* Motorola */ @@ -2297,6 +2298,9 @@ /* XXX The above is a North American PC style keyboard possibly */ #define USB_PRODUCT_SUN_MOUSE 0x0100 /* Type 6 USB mouse */ +/* SUNRISING products */ +#define USB_PRODUCT_SUNRISING_SR9600 0x8101 /* SR9600 Ethernet */ + /* SuperTop products */ #define USB_PRODUCT_SUPERTOP_IDEBRIDGE 0x6600 /* SuperTop IDE Bridge */ Index: src/sys/dev/usb/usbdevs_data.h diff -u src/sys/dev/usb/usbdevs_data.h:1.544 src/sys/dev/usb/usbdevs_data.h:1.545 --- src/sys/dev/usb/usbdevs_data.h:1.544 Sun Apr 11 13:58:30 2010 +++ src/sys/dev/usb/usbdevs_data.h Mon Apr 19 21:56:00 2010 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs_data.h,v 1.544 2010/04/11 13:58:30 drochner Exp $ */ +/* $NetBSD: usbdevs_data.h,v 1.545 2010/04/19 21:56:00 jmcneill Exp $ */ /* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.548 2010/04/11 13:57:22 drochner Exp + * NetBSD: usbdevs,v 1.549 2010/04/19 21:55:20 jmcneill Exp */ /* @@ -1499,6 +1499,10 @@ "Dynastream Innovations", }, { + USB_VENDOR_SUNRISING, + "SUNRISING", + }, + { USB_VENDOR_QUALCOMM, "Qualcomm", }, @@ -1899,7 +1903,7 @@ "GNU Radio USRP", }, }; -const int usb_nvendors = 465; +const int usb_nvendors = 466; const struct usb_product usb_products[] = { { @@ -6663,6 +6667,10 @@ "Type 6 USB mouse", }, { + USB_VENDOR_SUNRISING, USB_PRODUCT_SUNRISING_SR9600, + "SR9600 Ethernet", + }, + { USB_VENDOR_SUPERTOP, USB_PRODUCT_SUPERTOP_IDEBRIDGE, "SuperTop IDE Bridge", }, @@ -7155,4 +7163,4 @@ "Prestige", }, }; -const int usb_nproducts = 1313; +const int usb_nproducts = 1314;
CVS commit: src/sys/dev/usb
Module Name:src Committed By: jmcneill Date: Mon Apr 19 21:56:35 UTC 2010 Modified Files: src/sys/dev/usb: if_udav.c Log Message: match on SUNRISING SR9600 Fast Ethernet To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/dev/usb/if_udav.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/usb/if_udav.c diff -u src/sys/dev/usb/if_udav.c:1.29 src/sys/dev/usb/if_udav.c:1.30 --- src/sys/dev/usb/if_udav.c:1.29 Mon Apr 5 07:21:48 2010 +++ src/sys/dev/usb/if_udav.c Mon Apr 19 21:56:35 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: if_udav.c,v 1.29 2010/04/05 07:21:48 joerg Exp $ */ +/* $NetBSD: if_udav.c,v 1.30 2010/04/19 21:56:35 jmcneill Exp $ */ /* $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $ */ /* * Copyright (c) 2003 @@ -44,7 +44,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_udav.c,v 1.29 2010/04/05 07:21:48 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_udav.c,v 1.30 2010/04/19 21:56:35 jmcneill Exp $"); #include "opt_inet.h" #include "rnd.h" @@ -150,6 +150,8 @@ {{ USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ST268_USB_NIC }, 0}, /* ShanTou ADM8515 */ {{ USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ADM8515 }, 0}, + /* SUNRISING SR9600 */ + {{ USB_VENDOR_SUNRISING, USB_PRODUCT_SUNRISING_SR9600 }, 0 }, #if 0 /* DAVICOM DM9601 Generic? */ /* XXX: The following ids was obtained from the data sheet. */
CVS commit: src/share/man/man4
Module Name:src Committed By: jmcneill Date: Mon Apr 19 21:58:58 UTC 2010 Modified Files: src/share/man/man4: udav.4 Log Message: add ShanTou ADM8515 and SUNRISING SR9600 Ethernet to list of supported devices To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/udav.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/udav.4 diff -u src/share/man/man4/udav.4:1.3 src/share/man/man4/udav.4:1.4 --- src/share/man/man4/udav.4:1.3 Fri Jan 15 19:24:49 2010 +++ src/share/man/man4/udav.4 Mon Apr 19 21:58:58 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: udav.4,v 1.3 2010/01/15 19:24:49 joerg Exp $ +.\" $NetBSD: udav.4,v 1.4 2010/04/19 21:58:58 jmcneill Exp $ .\" .\" Copyright (c) 2003 .\" Shingo WATANABE . All rights reserved. @@ -30,7 +30,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF .\" THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd July 12, 2007 +.Dd April 19, 2010 .Dt UDAV 4 .Os .Sh NAME @@ -47,6 +47,8 @@ .Bl -tag -width Dv -offset indent -compact .It Tn Corega FEther USB-TXC .It Tn ShanTou ST268 USB NIC +.It Tn ShanTou ADM8515 +.It Tn SUNRISING SR9600 Ethernet .El .Sh DESCRIPTION The
CVS commit: src/lib/libedit
Module Name:src Committed By: christos Date: Tue Apr 20 02:01:13 UTC 2010 Modified Files: src/lib/libedit: chartype.h Log Message: Use the same hack for Solaris and MacOS/X. This is not right, we only really support UTF-8, but it will get us going until this is fixed properly. >From Jess Thrysoee To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libedit/chartype.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libedit/chartype.h diff -u src/lib/libedit/chartype.h:1.5 src/lib/libedit/chartype.h:1.6 --- src/lib/libedit/chartype.h:1.5 Wed Apr 14 20:55:57 2010 +++ src/lib/libedit/chartype.h Mon Apr 19 22:01:13 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: chartype.h,v 1.5 2010/04/15 00:55:57 christos Exp $ */ +/* $NetBSD: chartype.h,v 1.6 2010/04/20 02:01:13 christos Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -44,7 +44,7 @@ * supports non-BMP code points without requiring UTF-16, but nothing * seems to actually advertise this properly, despite Unicode 3.1 having * been around since 2001... */ -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) #ifndef __STDC_ISO_10646__ /* In many places it is assumed that the first 127 code points are ASCII * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
CVS commit: src/sys/dev/acpi
Module Name:src Committed By: jruoho Date: Tue Apr 20 04:53:22 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Instruct ACPICA to dynamically allocate the table descriptions in AcpiInitializeTables() instead of pushing 128 statically allocated descriptors. This will eliminate also the need to call AcpiReallocateRootTable(). The rationale for the statically allocated table descriptors is to allow initialization without virtual/dynamic memory. Later these should be copied to dynamic memory via AcpiReallocateRootTable(). But since in NetBSD both functions were called in the very same acpi_probe(), this dance was completely unnecessary. To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 src/sys/dev/acpi/acpi.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/acpi/acpi.c diff -u src/sys/dev/acpi/acpi.c:1.177 src/sys/dev/acpi/acpi.c:1.178 --- src/sys/dev/acpi/acpi.c:1.177 Sun Apr 18 14:07:16 2010 +++ src/sys/dev/acpi/acpi.c Tue Apr 20 04:53:22 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi.c,v 1.177 2010/04/18 14:07:16 jruoho Exp $ */ +/* $NetBSD: acpi.c,v 1.178 2010/04/20 04:53:22 jruoho Exp $ */ /*- * Copyright (c) 2003, 2007 The NetBSD Foundation, Inc. @@ -65,7 +65,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.177 2010/04/18 14:07:16 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.178 2010/04/20 04:53:22 jruoho Exp $"); #include "opt_acpi.h" #include "opt_pcifixup.h" @@ -114,8 +114,6 @@ static int acpi_dbgr = 0x00; #endif -static ACPI_TABLE_DESC acpi_initial_tables[128]; - /* * This is a flag we set when the ACPI subsystem is active. Machine * dependent code may wish to skip other steps (such as attaching @@ -244,6 +242,9 @@ acpi_osd_debugger(); #endif + CTASSERT(TRUE == true); + CTASSERT(FALSE == false); + AcpiGbl_AllMethodsSerialized = false; AcpiGbl_EnableInterpreterSlack = true; @@ -256,20 +257,17 @@ goto fail; } - rv = AcpiInitializeTables(acpi_initial_tables, 128, 0); + /* + * Allocate space for RSDT/XSDT and DSDT, + * but allow resizing if more tables exist. + */ + rv = AcpiInitializeTables(NULL, 2, true); if (ACPI_FAILURE(rv)) { func = "AcpiInitializeTables()"; goto fail; } - rv = AcpiReallocateRootTable(); - - if (ACPI_FAILURE(rv)) { - func = "AcpiReallocateRootTable()"; - goto fail; - } - #ifdef ACPI_DEBUGGER if (acpi_dbgr & ACPI_DBGR_TABLES) acpi_osd_debugger();
CVS commit: src/sys/dev/acpi
Module Name:src Committed By: jruoho Date: Tue Apr 20 04:57:05 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Remove the block where the default address space handlers were manually installed via AcpiInstallAddressSpaceHandler(). This was already commented out because ACPICA does this for us when ACPI_NO_ADDRESS_SPACE_INIT is not specified when calling AcpiEnableSubsystem(). To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/sys/dev/acpi/acpi.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/acpi/acpi.c diff -u src/sys/dev/acpi/acpi.c:1.178 src/sys/dev/acpi/acpi.c:1.179 --- src/sys/dev/acpi/acpi.c:1.178 Tue Apr 20 04:53:22 2010 +++ src/sys/dev/acpi/acpi.c Tue Apr 20 04:57:04 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi.c,v 1.178 2010/04/20 04:53:22 jruoho Exp $ */ +/* $NetBSD: acpi.c,v 1.179 2010/04/20 04:57:04 jruoho Exp $ */ /*- * Copyright (c) 2003, 2007 The NetBSD Foundation, Inc. @@ -65,7 +65,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.178 2010/04/20 04:53:22 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.179 2010/04/20 04:57:04 jruoho Exp $"); #include "opt_acpi.h" #include "opt_pcifixup.h" @@ -304,31 +304,6 @@ acpi_unmap_rsdt(rsdt); -#if notyet - /* - * Install the default address space handlers. - */ - func = "AcpiInstallAddressSpaceHandler()"; - - rv = AcpiInstallAddressSpaceHandler(ACPI_ROOT_OBJECT, - ACPI_ADR_SPACE_SYSTEM_MEMORY, ACPI_DEFAULT_HANDLER, NULL, NULL); - - if (ACPI_FAILURE(rv)) - goto fail; - - rv = AcpiInstallAddressSpaceHandler(ACPI_ROOT_OBJECT, - ACPI_ADR_SPACE_SYSTEM_IO, ACPI_DEFAULT_HANDLER, NULL, NULL); - - if (ACPI_FAILURE(rv)) - goto fail; - - rv = AcpiInstallAddressSpaceHandler(ACPI_ROOT_OBJECT, - ACPI_ADR_SPACE_PCI_CONFIG, ACPI_DEFAULT_HANDLER, NULL, NULL); - - if (ACPI_FAILURE(rv)) - goto fail; -#endif - rv = AcpiEnableSubsystem(~(ACPI_NO_HARDWARE_INIT|ACPI_NO_ACPI_ENABLE)); if (ACPI_FAILURE(rv)) {
CVS commit: src/share/man/man7
Module Name:src Committed By: jruoho Date: Tue Apr 20 06:12:06 UTC 2010 Modified Files: src/share/man/man7: sysctl.7 Log Message: Mark nine undocumented kern.x nodes/variables with XXX. The total amount of undocumented variables is well over twenty in the kern-subtree alone. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.40 src/share/man/man7/sysctl.7:1.41 --- src/share/man/man7/sysctl.7:1.40 Mon Apr 19 12:44:33 2010 +++ src/share/man/man7/sysctl.7 Tue Apr 20 06:12:06 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.40 2010/04/19 12:44:33 jruoho Exp $ +.\" $NetBSD: sysctl.7,v 1.41 2010/04/20 06:12:06 jruoho Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 .\" -.Dd April 19, 2010 +.Dd April 20, 2010 .Dt SYSCTL 7 .Os .Sh NAME @@ -240,6 +240,7 @@ information. .Bl -column "kern.posix_reader_writer_locks" "struct kinfo_drivers" "not applicable" .It Sy Second level name Type Changeable +.\".It kern.arandom integer no .It kern.argmax integer no .It kern.autonicetime integer yes .It kern.autoniceval integer yes @@ -252,6 +253,7 @@ .It kern.coredump node not applicable .It kern.cp_id struct no .It kern.cp_time uint64_t[\|] no +.\".It kern.cryptodevallowsoft integer yes .It kern.defcorename string yes .It kern.detachall integer yes .It kern.domainname string yes @@ -282,14 +284,17 @@ .It kern.memlock integer no .It kern.memlock_range integer no .It kern.memory_protection integer no +.\".It kern.module node not applicable .It kern.monotonic_clock integer no .It kern.msgbuf integer no .It kern.msgbufsize integer no .It kern.ngroups integer no +.\".It kern.no_sa_support integer yes .It kern.ntptime struct ntptimeval no .It kern.osrelease string no .It kern.osrevision integer no .It kern.ostype string no +.\".It kern.panic_now integer yes .It kern.pipe node not applicable .\" .It kern.posix node not applicable .It kern.posix1version integer no @@ -304,12 +309,14 @@ .It kern.proc2 struct kinfo_proc2 no .It kern.proc_args string no .It kern.profiling node not applicable +.\".It kern.pset node not applicable .It kern.rawpartition integer no .It kern.root_device string no .It kern.root_partition integer no .It kern.rtc_offset integer yes .It kern.saved_ids integer no .It kern.sbmax integer yes +.\".It kern.sched node not applicable .It kern.securelevel integer raise only .It kern.somaxkva integer yes .It kern.synchronized_io integer no @@ -317,11 +324,15 @@ .It kern.timex struct no .It kern.tkstat node not applicable .It kern.urandom integer no +.\".It kern.usercrypto integer yes +.\" It kern.userasymcrypto integer yes .It kern.veriexec node not applicable .It kern.version string no .It kern.vnode struct vnode no .El .Bl -tag -width "123456" +.\".It Li kern.arandom +.\" XXX: Undocumented. .It Li kern.argmax ( KERN_ARGMAX ) The maximum bytes of argument to .Xr execve 2 . @@ -343,7 +354,8 @@ .Va struct timeval structure is returned. This structure contains the time that the system was booted. -.\" XXX: Undocumented: .It Li kern.bufq +.\" .It Li kern.bufq +.\" XXX: Undocumented. .It Li kern.ccpu ( KERN_CCPU ) The scheduler exponential decay value. .It Li kern.clockrate ( KERN_CLOCKRATE ) @@ -402,6 +414,8 @@ appropriate space is given for one data set for each CPU. Data for a specific CPU can also be obtained by adding the number of the CPU at the end of the MIB, enlarging it by one. +.\".It Li kern.cryptodevallowsoft +.\" XXX: Undocumented. .It Li kern.defcorename ( KERN_DEFCORENAME ) Default template for the name of core dump files (see also .Li proc.pid.corename @@ -434,7 +448,8 @@ .Va d_bmajor field will be set to \-1 if the driver doesn't have a block device. .It Li kern.dump_on_panic ( KERN_DUMP_ON_PANIC ) -Perform a crash dump on system panic. +Perform a crash dump on system +.Xr panic 9 . .It Li kern.file ( KERN_FILE ) Return the entire file table. The returned data consists of a single @@ -653,6 +668,8 @@ Returns 1 if the POSIX 1003.1b Memory Protection Option is available on this system, otherwise 0. +.\" .It Li kern.module +.\" XXX: Undocumented. .It Li kern.monotonic_clock ( KERN_MONOTONIC_CLOCK ) Returns the standard version the implementation of the POSIX 1003.1b Monotonic Clock Option conforms to, @@ -665,6 +682,8 @@ The maximum number of characters that the kernel message buffer can hold. .It Li kern.ngroups ( KERN_NGROUPS ) The maximum number of supplemental groups. +.\" .It Li kern.no_sa_support +.\" XXX: Undocumented. .It Li kern.ntptime ( KERN_NTPTIME ) A .Va struct ntptimeval @@ -678,6 +697,8 @@ The system revision string. .It Li kern.os
CVS commit: src/share/man/man7
Module Name:src Committed By: jruoho Date: Tue Apr 20 06:22:52 UTC 2010 Modified Files: src/share/man/man7: sysctl.7 Log Message: Document the kern.module node. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/share/man/man7/sysctl.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man7/sysctl.7 diff -u src/share/man/man7/sysctl.7:1.41 src/share/man/man7/sysctl.7:1.42 --- src/share/man/man7/sysctl.7:1.41 Tue Apr 20 06:12:06 2010 +++ src/share/man/man7/sysctl.7 Tue Apr 20 06:22:52 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.41 2010/04/20 06:12:06 jruoho Exp $ +.\" $NetBSD: sysctl.7,v 1.42 2010/04/20 06:22:52 jruoho Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -284,7 +284,7 @@ .It kern.memlock integer no .It kern.memlock_range integer no .It kern.memory_protection integer no -.\".It kern.module node not applicable +.It kern.module node not applicable .It kern.monotonic_clock integer no .It kern.msgbuf integer no .It kern.msgbufsize integer no @@ -668,8 +668,26 @@ Returns 1 if the POSIX 1003.1b Memory Protection Option is available on this system, otherwise 0. -.\" .It Li kern.module -.\" XXX: Undocumented. +.It Li kern.module +Settings related to kernel modules. +The third level names for the settings are described below. +.Bl -column "kern.module.autoload" "integer" "Changeable" -offset indent +.It Sy Third level name Type Changeable +.It kern.module.autoload integer yes +.It kern.module.verbose integer yes +.El +.Pp +The variables are as follows: +.Bl -tag -width "123456" +.It Li kern.module.autoload +A boolean that controls whether kernel modules are loaded automatically. +See for example +.Xr modstat 8 +for additional details. +.It Li kern.module.verbose +A boolean that enables or disables verbose +debug messages related to kernel modules. +.El .It Li kern.monotonic_clock ( KERN_MONOTONIC_CLOCK ) Returns the standard version the implementation of the POSIX 1003.1b Monotonic Clock Option conforms to,