CVS commit: src/external/bsd/file/dist/magic/magdir
Module Name:src Committed By: matt Date: Fri Sep 19 08:59:38 UTC 2014 Modified Files: src/external/bsd/file/dist/magic/magdir: elf Log Message: Add UCB RISC-V EM value To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/bsd/file/dist/magic/magdir/elf 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/file/dist/magic/magdir/elf diff -u src/external/bsd/file/dist/magic/magdir/elf:1.9 src/external/bsd/file/dist/magic/magdir/elf:1.10 --- src/external/bsd/file/dist/magic/magdir/elf:1.9 Fri Jun 13 02:08:06 2014 +++ src/external/bsd/file/dist/magic/magdir/elf Fri Sep 19 08:59:38 2014 @@ -257,6 +257,7 @@ 18 leshort 216 Cognitive Smart Memory, 18 leshort 217 iCelero CoolEngine, 18 leshort 218 Nanoradio Optimized RISC, +18 leshort 243 UCB RISC-V 18 leshort 0x1057 AVR (unofficial), 18 leshort 0x1059 MSP430 (unofficial), 18 leshort 0x1223 Adapteva Epiphany (unofficial),
CVS commit: src/etc
Module Name:src Committed By: matt Date: Fri Sep 19 09:00:23 UTC 2014 Modified Files: src/etc: MAKEDEV.tmpl Log Message: add random/urandom to MAKEDEV std To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/etc/MAKEDEV.tmpl Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/MAKEDEV.tmpl diff -u src/etc/MAKEDEV.tmpl:1.172 src/etc/MAKEDEV.tmpl:1.173 --- src/etc/MAKEDEV.tmpl:1.172 Mon Oct 28 18:33:20 2013 +++ src/etc/MAKEDEV.tmpl Fri Sep 19 09:00:23 2014 @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV.tmpl,v 1.172 2013/10/28 18:33:20 mbalmer Exp $ +# $NetBSD: MAKEDEV.tmpl,v 1.173 2014/09/19 09:00:23 matt Exp $ # # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -924,6 +924,8 @@ std) mkdev zero c %mem_chr% 12 666 mkdev klog c %log_chr% 0 600 mkdev ksyms c %ksyms_chr% 0 444 + mkdev random c %rnd_chr% 0 444 + mkdev urandom c %rnd_chr% 1 644 if ! $fdesc_mounted; then mkdev tty c %ctty_chr% 0 666 mkdev stdin c %filedesc_chr% 0 666
CVS commit: src/etc
Module Name:src Committed By: matt Date: Fri Sep 19 09:01:05 UTC 2014 Modified Files: src/etc: MAKEDEV.awk Log Message: Teach this to deal with the use of include in majors files. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/etc/MAKEDEV.awk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/MAKEDEV.awk diff -u src/etc/MAKEDEV.awk:1.24 src/etc/MAKEDEV.awk:1.25 --- src/etc/MAKEDEV.awk:1.24 Mon May 20 11:37:02 2013 +++ src/etc/MAKEDEV.awk Fri Sep 19 09:01:05 2014 @@ -1,6 +1,6 @@ #!/usr/bin/awk - # -# $NetBSD: MAKEDEV.awk,v 1.24 2013/05/20 11:37:02 mbalmer Exp $ +# $NetBSD: MAKEDEV.awk,v 1.25 2014/09/19 09:01:05 matt Exp $ # # Copyright (c) 2003 The NetBSD Foundation, Inc. # All rights reserved. @@ -63,17 +63,20 @@ BEGIN { majors[1] = arch/powerpc/conf/majors.powerpc; else majors[1] = arch/ machine /conf/majors. machine; + nm = 2; # process all files with majors and fill the chr[] and blk[] # arrays, used in template processing - for (m in majors) { + for (m = 0; m nm; m++) { file = top majors[m] if (system(test -f ' file ') != 0) { print ERROR: can't find majors file ' file ' /dev/stderr exit 1 } while (getline file) { - if ($1 == device-major) { + if ($1 == include) { +majors[nm++] = substr($2, 2, length($2)-2); + } else if ($1 == device-major) { if ($3 == char) { chr[$2] = $4 if ($5 == block) @@ -211,7 +214,7 @@ BEGIN { print # Generated from: # MAKEDEV.awk (this script) RCS Id - ARCSID = $NetBSD: MAKEDEV.awk,v 1.24 2013/05/20 11:37:02 mbalmer Exp $ + ARCSID = $NetBSD: MAKEDEV.awk,v 1.25 2014/09/19 09:01:05 matt Exp $ gsub(/\$/, , ARCSID) print # ARCSID
CVS commit: src/sys/sys
Module Name:src Committed By: matt Date: Fri Sep 19 09:04:35 UTC 2014 Modified Files: src/sys/sys: exec_elf.h Log Message: Add EM_RISCV To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/sys/sys/exec_elf.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/exec_elf.h diff -u src/sys/sys/exec_elf.h:1.143 src/sys/sys/exec_elf.h:1.144 --- src/sys/sys/exec_elf.h:1.143 Mon Aug 25 20:40:52 2014 +++ src/sys/sys/exec_elf.h Fri Sep 19 09:04:35 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: exec_elf.h,v 1.143 2014/08/25 20:40:52 joerg Exp $ */ +/* $NetBSD: exec_elf.h,v 1.144 2014/09/19 09:04:35 matt Exp $ */ /*- * Copyright (c) 1994 The NetBSD Foundation, Inc. @@ -301,6 +301,7 @@ typedef struct { #define EM_ARCA 109 /* Arca RISC microprocessor */ #define EM_UNICORE 110 /* UNICORE from PKU-Unity Ltd. and MPRC Peking University */ #define EM_AARCH64 183 /* AArch64 64-bit ARM microprocessor */ +#define EM_RISCV 243 /* RISCV */ /* Unofficial machine types follow */ #define EM_AVR32 6317 /* used by NetBSD/avr32 */
CVS commit: src/sys/conf
Module Name:src Committed By: matt Date: Fri Sep 19 09:05:23 UTC 2014 Added Files: src/sys/conf: filesystems.config Log Message: include for configs which includes all file-systems and any dependent pseudo-devices To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/conf/filesystems.config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/sys/conf/filesystems.config diff -u /dev/null src/sys/conf/filesystems.config:1.1 --- /dev/null Fri Sep 19 09:05:23 2014 +++ src/sys/conf/filesystems.config Fri Sep 19 09:05:23 2014 @@ -0,0 +1,28 @@ +# $NetBSD: filesystems.config,v 1.1 2014/09/19 09:05:23 matt Exp $ +file-system FFS # UFS +file-system MFS # memory file system +file-system NFS # Network File System client +file-system TMPFS # Efficient memory file-system +file-system EXT2FS # second extended file system (linux) +file-system LFS # log-structured file system +file-system NTFS # Windows/NT file system (experimental) +file-system CD9660 # ISO 9660 + Rock Ridge file system +file-system MSDOSFS # MS-DOS file system +file-system FDESC # /dev/fd +file-system KERNFS # /kern +file-system NULLFS # loopback file system +file-system OVERLAY # overlay file system +file-system PROCFS # /proc +file-system PUFFS # Userspace file systems (e.g. ntfs-3g sshfs) +pseudo-device putter +file-system SMBFS # experimental - CIFS; also needs nsmb (below) +pseudo-device nsmb +file-system UMAPFS # NULLFS + uid and gid remapping +file-system UNION # union file system +file-system CODA # Coda File System; also needs vcoda (below) +pseudo-device vcoda +file-system PTYFS # /dev/ptm support +#file-system UDF # experimental - OSTA UDF CD/DVD file-system +#file-system HFS # experimental - Apple HFS+ (read-only) +#file-system NILFS # experimental - NTT's NiLFS(2) +
CVS commit: src/share/man/man4
Module Name:src Committed By: wiz Date: Fri Sep 19 13:34:25 UTC 2014 Modified Files: src/share/man/man4: igmafb.4 Log Message: Add missing closing quote. From Henning Petersen in PR 49223. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/igmafb.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/igmafb.4 diff -u src/share/man/man4/igmafb.4:1.2 src/share/man/man4/igmafb.4:1.3 --- src/share/man/man4/igmafb.4:1.2 Thu Jan 23 15:17:59 2014 +++ src/share/man/man4/igmafb.4 Fri Sep 19 13:34:25 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: igmafb.4,v 1.2 2014/01/23 15:17:59 wiz Exp $ +.\ $NetBSD: igmafb.4,v 1.3 2014/09/19 13:34:25 wiz Exp $ .\ .\ Copyright (c) 2014 Michael van Elst .\ @@ -21,14 +21,14 @@ .Nm igmafb .Nd Intel Graphics Media Accelerator framebuffer driver .Sh SYNOPSIS -.Cd options VGA_RASTERCONSOLE -.Cd no options VGA_POST -.Cd no agp -.Cd no device at drm -.Cd no genfb -.Cd igma0 at pci0 dev ? function ? -.Cd igmafb* at igma0 -.Cd iic* at igma0 +.Cd options VGA_RASTERCONSOLE +.Cd no options VGA_POST +.Cd no agp +.Cd no device at drm +.Cd no genfb +.Cd igma0 at pci0 dev ? function ? +.Cd igmafb* at igma0 +.Cd iic* at igma0 .Sh DESCRIPTION The .Nm
CVS commit: src/sys/arch/arm/samsung
Module Name:src Committed By: reinoud Date: Fri Sep 19 14:32:20 UTC 2014 Modified Files: src/sys/arch/arm/samsung: exynos5_reg.h Log Message: Naming convention To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/samsung/exynos5_reg.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/arm/samsung/exynos5_reg.h diff -u src/sys/arch/arm/samsung/exynos5_reg.h:1.15 src/sys/arch/arm/samsung/exynos5_reg.h:1.16 --- src/sys/arch/arm/samsung/exynos5_reg.h:1.15 Tue Sep 9 21:22:48 2014 +++ src/sys/arch/arm/samsung/exynos5_reg.h Fri Sep 19 14:32:20 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: exynos5_reg.h,v 1.15 2014/09/09 21:22:48 reinoud Exp $ */ +/* $NetBSD: exynos5_reg.h,v 1.16 2014/09/19 14:32:20 reinoud Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -376,7 +376,7 @@ #define HOST_CTRL0_REFCLKSEL_XTAL __SHIFTIN(HOST_CRTL0_REFCLK_MASK, 0) #define HOST_CTRL0_REFCLKSEL_EXTL __SHIFTIN(HOST_CRTL0_REFCLK_MASK, 1) #define HOST_CTRL0_REFCLKSEL_CLKCORE __SHIFTIN(HOST_CRTL0_REFCLK_MASK, 2) -#define HOST_CTRL0_PHYSWRSTALL __BIT(31) +#define HOST_CTRL0_PHY_SWRST_ALL __BIT(31) #define USB_PHY_HSIC_CTRL1 0x10 #define USB_PHY_HSIC_TUNE1 0x14
CVS commit: src/sys/arch/evbarm/conf
Module Name:src Committed By: reinoud Date: Fri Sep 19 14:39:34 UTC 2014 Modified Files: src/sys/arch/evbarm/conf: ODROID-U Log Message: Cleanup ODROID-U config To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/conf/ODROID-U 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/evbarm/conf/ODROID-U diff -u src/sys/arch/evbarm/conf/ODROID-U:1.13 src/sys/arch/evbarm/conf/ODROID-U:1.14 --- src/sys/arch/evbarm/conf/ODROID-U:1.13 Sat Aug 23 20:26:57 2014 +++ src/sys/arch/evbarm/conf/ODROID-U Fri Sep 19 14:39:34 2014 @@ -1,5 +1,5 @@ # -# $NetBSD: ODROID-U,v 1.13 2014/08/23 20:26:57 dholland Exp $ +# $NetBSD: ODROID-U,v 1.14 2014/09/19 14:39:34 reinoud Exp $ # # ODROID-U -- ODROID-U series Exynos Kernel # @@ -26,8 +26,10 @@ options EXYNOS4412P options PMAPCOUNTERS options BUSDMA_COUNTERS options EXYNOS_CONSOLE_EARLY -options UVMHIST +#options UVMHIST #options UVMHIST_PRINT,KERNHIST_DELAY=0 +#options KERNHIST +#options USBHIST options __HAVE_MM_MD_DIRECT_MAPPED_PHYS options PMAP_NEED_ALLOC_POOLPAGE @@ -143,7 +145,7 @@ options DEBUG options LOCKDEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging -#options VERBOSE_INIT_ARM # verbose bootstraping messages +options VERBOSE_INIT_ARM # verbose bootstraping messages options DDB # in-kernel debugger options DDB_ONPANIC=1 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB @@ -165,7 +167,7 @@ options USBVERBOSE # memorydisk=n Set memorydisk size to n KB # quiet Show aprint_naive output # verbose Show aprint_normal and aprint_verbose output -#options BOOT_ARGS=\\ +options BOOT_ARGS=\verbose\ config netbsd root on ? type ? @@ -192,7 +194,7 @@ sscom0 at exyo0 port 0 # UART0, expan sscom1 at exyo0 port 1 # UART1, console # Exynos Watchdog Timer -exyowdt0 at exyo0 flags 1 # watchdog +exyowdt0 at exyo0 flags 0 # watchdog # GPIO exyogpio0 at exyo0
CVS commit: src/sys/arch/evbarm/conf
Module Name:src Committed By: reinoud Date: Fri Sep 19 14:48:42 UTC 2014 Modified Files: src/sys/arch/evbarm/conf: ODROID Log Message: Update ODROID config, disabling ohci for now since it won't attach To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/conf/ODROID 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/evbarm/conf/ODROID diff -u src/sys/arch/evbarm/conf/ODROID:1.9 src/sys/arch/evbarm/conf/ODROID:1.10 --- src/sys/arch/evbarm/conf/ODROID:1.9 Sat Aug 23 20:26:57 2014 +++ src/sys/arch/evbarm/conf/ODROID Fri Sep 19 14:48:42 2014 @@ -1,5 +1,5 @@ # -# $NetBSD: ODROID,v 1.9 2014/08/23 20:26:57 dholland Exp $ +# $NetBSD: ODROID,v 1.10 2014/09/19 14:48:42 reinoud Exp $ # # ODROID -- ODROID series Exynos Kernel # @@ -33,7 +33,8 @@ options EXYNOS5422 options PMAPCOUNTERS options BUSDMA_COUNTERS options EXYNOS_CONSOLE_EARLY -options UVMHIST +#options UVMHIST +options USBHIST #options UVMHIST_PRINT,KERNHIST_DELAY=0 options __HAVE_MM_MD_DIRECT_MAPPED_PHYS options PMAP_NEED_ALLOC_POOLPAGE @@ -147,9 +148,10 @@ options KTRACE # system call tracing, #options PERFCTRS # performance counters options DIAGNOSTIC # internal consistency checks options DEBUG +#options LOCKDEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging -#options VERBOSE_INIT_ARM # verbose bootstraping messages +options VERBOSE_INIT_ARM # verbose bootstraping messages options DDB # in-kernel debugger options DDB_ONPANIC=1 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB @@ -173,6 +175,7 @@ options USBVERBOSE # quiet Show aprint_naive output # verbose Show aprint_normal and aprint_verbose output #options BOOT_ARGS=\\ +options BOOT_ARGS=\verbose\ config netbsd root on ? type ? @@ -214,9 +217,9 @@ gpio* at exyogpio? # On-board USB exyousb* at exyo0 -ohci* at exyousb? +#ohci* at exyousb? ehci* at exyousb? -usb* at ohci? +#usb* at ohci? usb* at ehci? # Network phy for the LAN9730
CVS commit: src/sys/arch
Module Name:src Committed By: christos Date: Fri Sep 19 15:24:24 UTC 2014 Modified Files: src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0 XEN3_DOMU src/sys/arch/i386/conf: ALL GENERIC XEN3_DOM0 XEN3_DOMU src/sys/arch/macppc/conf: GENERIC GENERIC_601 src/sys/arch/ofppc/conf: GENERIC src/sys/arch/sandpoint/conf: GENERIC src/sys/arch/zaurus/conf: GENERIC Log Message: Disable BSDLABEL and MBR DKWEDGE methods again since sysinst does not work with wedges. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/amd64/conf/ALL cvs rdiff -u -r1.397 -r1.398 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.106 -r1.107 src/sys/arch/amd64/conf/XEN3_DOM0 cvs rdiff -u -r1.57 -r1.58 src/sys/arch/amd64/conf/XEN3_DOMU cvs rdiff -u -r1.384 -r1.385 src/sys/arch/i386/conf/ALL cvs rdiff -u -r1.1112 -r1.1113 src/sys/arch/i386/conf/GENERIC cvs rdiff -u -r1.88 -r1.89 src/sys/arch/i386/conf/XEN3_DOM0 cvs rdiff -u -r1.62 -r1.63 src/sys/arch/i386/conf/XEN3_DOMU cvs rdiff -u -r1.316 -r1.317 src/sys/arch/macppc/conf/GENERIC cvs rdiff -u -r1.5 -r1.6 src/sys/arch/macppc/conf/GENERIC_601 cvs rdiff -u -r1.154 -r1.155 src/sys/arch/ofppc/conf/GENERIC cvs rdiff -u -r1.85 -r1.86 src/sys/arch/sandpoint/conf/GENERIC cvs rdiff -u -r1.62 -r1.63 src/sys/arch/zaurus/conf/GENERIC 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/amd64/conf/ALL diff -u src/sys/arch/amd64/conf/ALL:1.18 src/sys/arch/amd64/conf/ALL:1.19 --- src/sys/arch/amd64/conf/ALL:1.18 Sun Aug 24 03:59:22 2014 +++ src/sys/arch/amd64/conf/ALL Fri Sep 19 11:24:24 2014 @@ -1,4 +1,4 @@ -# $NetBSD: ALL,v 1.18 2014/08/24 07:59:22 jnemeth Exp $ +# $NetBSD: ALL,v 1.19 2014/09/19 15:24:24 christos Exp $ # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp # # ALL machine description file @@ -17,7 +17,7 @@ include arch/amd64/conf/std.amd64 options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident ALL-$Revision: 1.18 $ +#ident ALL-$Revision: 1.19 $ maxusers 64 # estimated number of users @@ -160,8 +160,8 @@ options COMPAT_BSDPTY # /dev/[pt]ty?? p # Wedge support options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges -options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges -options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges +#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges +#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges options DKWEDGE_METHOD_APPLE# Support Apple partitions as wedges # File systems Index: src/sys/arch/amd64/conf/GENERIC diff -u src/sys/arch/amd64/conf/GENERIC:1.397 src/sys/arch/amd64/conf/GENERIC:1.398 --- src/sys/arch/amd64/conf/GENERIC:1.397 Thu Sep 18 10:58:22 2014 +++ src/sys/arch/amd64/conf/GENERIC Fri Sep 19 11:24:24 2014 @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.397 2014/09/18 14:58:22 wiz Exp $ +# $NetBSD: GENERIC,v 1.398 2014/09/19 15:24:24 christos Exp $ # # GENERIC machine description file # @@ -22,7 +22,7 @@ include arch/amd64/conf/std.amd64 options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident GENERIC-$Revision: 1.397 $ +#ident GENERIC-$Revision: 1.398 $ maxusers 64 # estimated number of users @@ -132,8 +132,8 @@ options COMPAT_BSDPTY # /dev/[pt]ty?? p # Wedge support options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges -options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges -options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges +#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges +#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges options DKWEDGE_METHOD_APPLE# Support Apple partitions as wedges # File systems Index: src/sys/arch/amd64/conf/XEN3_DOM0 diff -u src/sys/arch/amd64/conf/XEN3_DOM0:1.106 src/sys/arch/amd64/conf/XEN3_DOM0:1.107 --- src/sys/arch/amd64/conf/XEN3_DOM0:1.106 Sat Aug 23 16:26:56 2014 +++ src/sys/arch/amd64/conf/XEN3_DOM0 Fri Sep 19 11:24:24 2014 @@ -1,4 +1,4 @@ -# $NetBSD: XEN3_DOM0,v 1.106 2014/08/23 20:26:56 dholland Exp $ +# $NetBSD: XEN3_DOM0,v 1.107 2014/09/19 15:24:24 christos Exp $ include arch/amd64/conf/std.xen @@ -81,8 +81,8 @@ options COMPAT_BSDPTY # /dev/[pt]ty?? p # Wedge support options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges -options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges -options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges +#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges +#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges options DKWEDGE_METHOD_APPLE# Support Apple partitions as wedges # File
CVS commit: src
Module Name:src Committed By: wiz Date: Fri Sep 19 16:02:59 UTC 2014 Modified Files: src/games/hals_end: hals_end.6 src/lib/libc/stdlib: qsort.3 src/lib/libc/sys: getpgrp.2 setpgid.2 src/lib/libm/man: acosh.3 asinh.3 atanh.3 src/share/man/man5: ar.5 hosts.equiv.5 netgroup.5 src/usr.bin/bthset: bthset.1 src/usr.bin/btkey: btkey.1 src/usr.bin/btpin: btpin.1 src/usr.bin/su: su.1 src/usr.bin/vgrind: vgrindefs.5 src/usr.bin/wc: wc.1 src/usr.bin/whereis: whereis.1 src/usr.sbin/lptctl: lptctl.8 src/usr.sbin/mailwrapper: mailwrapper.8 src/usr.sbin/sa: sa.8 src/usr.sbin/user: groupinfo.8 user.8 useradd.8 userdel.8 usermod.8 Log Message: Sort sections. From Henning Petersen in PR 49222. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/games/hals_end/hals_end.6 cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdlib/qsort.3 cvs rdiff -u -r1.23 -r1.24 src/lib/libc/sys/getpgrp.2 cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/setpgid.2 cvs rdiff -u -r1.16 -r1.17 src/lib/libm/man/acosh.3 src/lib/libm/man/asinh.3 \ src/lib/libm/man/atanh.3 cvs rdiff -u -r1.7 -r1.8 src/share/man/man5/ar.5 cvs rdiff -u -r1.8 -r1.9 src/share/man/man5/hosts.equiv.5 \ src/share/man/man5/netgroup.5 cvs rdiff -u -r1.4 -r1.5 src/usr.bin/bthset/bthset.1 cvs rdiff -u -r1.4 -r1.5 src/usr.bin/btkey/btkey.1 cvs rdiff -u -r1.9 -r1.10 src/usr.bin/btpin/btpin.1 cvs rdiff -u -r1.50 -r1.51 src/usr.bin/su/su.1 cvs rdiff -u -r1.11 -r1.12 src/usr.bin/vgrind/vgrindefs.5 cvs rdiff -u -r1.15 -r1.16 src/usr.bin/wc/wc.1 cvs rdiff -u -r1.14 -r1.15 src/usr.bin/whereis/whereis.1 cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/lptctl/lptctl.8 cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/mailwrapper/mailwrapper.8 cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sa/sa.8 cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/user/groupinfo.8 cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/user/user.8 cvs rdiff -u -r1.42 -r1.43 src/usr.sbin/user/useradd.8 cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/user/userdel.8 \ src/usr.sbin/user/usermod.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/hals_end/hals_end.6 diff -u src/games/hals_end/hals_end.6:1.1 src/games/hals_end/hals_end.6:1.2 --- src/games/hals_end/hals_end.6:1.1 Tue Nov 12 17:46:21 2013 +++ src/games/hals_end/hals_end.6 Fri Sep 19 16:02:58 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: hals_end.6,v 1.1 2013/11/12 17:46:21 mbalmer Exp $ +.\ $NetBSD: hals_end.6,v 1.2 2014/09/19 16:02:58 wiz Exp $ .\ .\ Copyright (c) 2003 - 2013 Marc Balmer m...@msys.ch. .\ All rights reserved. @@ -46,11 +46,6 @@ Fast forward. Every movie can be played back with fast forward. This option will double the speed of the output. .El -.Sh BUGS -Unlike the real HAL, this program can be repeately run. -There should be functionality in the program to destroy itself after one run. -The rationale for not doing this right now is that the movie itself can be -watched several times as well. .Sh HISTORY .Nm first appeared in the book Total Interaction (ISBN 978-3-7643-7076-3) where @@ -64,3 +59,8 @@ this article. .Nm was written by .An Marc Balmer Aq Mt m...@msys.ch . +.Sh BUGS +Unlike the real HAL, this program can be repeately run. +There should be functionality in the program to destroy itself after one run. +The rationale for not doing this right now is that the movie itself can be +watched several times as well. Index: src/lib/libc/stdlib/qsort.3 diff -u src/lib/libc/stdlib/qsort.3:1.13 src/lib/libc/stdlib/qsort.3:1.14 --- src/lib/libc/stdlib/qsort.3:1.13 Thu Aug 7 16:43:42 2003 +++ src/lib/libc/stdlib/qsort.3 Fri Sep 19 16:02:58 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: qsort.3,v 1.13 2003/08/07 16:43:42 agc Exp $ +.\ $NetBSD: qsort.3,v 1.14 2014/09/19 16:02:58 wiz Exp $ .\ .\ Copyright (c) 1990, 1991, 1993 .\ The Regents of the University of California. All rights reserved. @@ -161,6 +161,12 @@ return 0. Otherwise, they return \-1 and the global variable .Va errno is set to indicate the error. +.Sh COMPATIBILITY +Previous versions of +.Fn qsort +did not permit the comparison routine itself to call +.Fn qsort . +This is no longer true. .Sh ERRORS The .Fn heapsort @@ -182,12 +188,6 @@ or .Fn mergesort were unable to allocate memory. .El -.Sh COMPATIBILITY -Previous versions of -.Fn qsort -did not permit the comparison routine itself to call -.Fn qsort . -This is no longer true. .Sh SEE ALSO .Xr sort 1 , .Xr radixsort 3 Index: src/lib/libc/sys/getpgrp.2 diff -u src/lib/libc/sys/getpgrp.2:1.23 src/lib/libc/sys/getpgrp.2:1.24 --- src/lib/libc/sys/getpgrp.2:1.23 Mon Mar 23 14:11:27 2009 +++ src/lib/libc/sys/getpgrp.2 Fri Sep 19 16:02:58 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: getpgrp.2,v 1.23 2009/03/23 14:11:27 joerg Exp $ +.\ $NetBSD: getpgrp.2,v 1.24 2014/09/19 16:02:58 wiz Exp $ .\ .\ Copyright (c) 1983, 1991, 1993 .\ The
CVS commit: src/usr.sbin/user
Module Name:src Committed By: wiz Date: Fri Sep 19 16:04:29 UTC 2014 Modified Files: src/usr.sbin/user: usermod.8 Log Message: Fix section name. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/user/usermod.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/user/usermod.8 diff -u src/usr.sbin/user/usermod.8:1.33 src/usr.sbin/user/usermod.8:1.34 --- src/usr.sbin/user/usermod.8:1.33 Fri Sep 19 16:02:59 2014 +++ src/usr.sbin/user/usermod.8 Fri Sep 19 16:04:29 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: usermod.8,v 1.33 2014/09/19 16:02:59 wiz Exp $ */ +.\ $NetBSD: usermod.8,v 1.34 2014/09/19 16:04:29 wiz Exp $ */ .\ .\ Copyright (c) 1999 Alistair G. Crooks. All rights reserved. .\ @@ -228,7 +228,7 @@ At very large sites this can take severa Until this update is completed, the password file is unavailable for other updates and the new information is not available to programs. -.Sh EXIT STATUS +.Sh FILES .Bl -tag -width /etc/usermgmt.conf -compact .It Pa /etc/usermgmt.conf .El
CVS commit: src/usr.sbin
Module Name:src Committed By: wiz Date: Fri Sep 19 16:05:55 UTC 2014 Modified Files: src/usr.sbin/mailwrapper: mailwrapper.8 src/usr.sbin/sa: sa.8 Log Message: New sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/mailwrapper/mailwrapper.8 cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/sa/sa.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/mailwrapper/mailwrapper.8 diff -u src/usr.sbin/mailwrapper/mailwrapper.8:1.15 src/usr.sbin/mailwrapper/mailwrapper.8:1.16 --- src/usr.sbin/mailwrapper/mailwrapper.8:1.15 Fri Sep 19 16:02:59 2014 +++ src/usr.sbin/mailwrapper/mailwrapper.8 Fri Sep 19 16:05:55 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: mailwrapper.8,v 1.15 2014/09/19 16:02:59 wiz Exp $ +.\ $NetBSD: mailwrapper.8,v 1.16 2014/09/19 16:05:55 wiz Exp $ .\ .\ Copyright (c) 1998 .\ Perry E. Metzger. All rights reserved. @@ -39,7 +39,8 @@ .Tn MTA software based on configuration file .Sh SYNOPSIS -Special. See below. +Special. +See below. .Sh DESCRIPTION Once upon time, the only Mail Transfer Agent .Pq Tn MTA Index: src/usr.sbin/sa/sa.8 diff -u src/usr.sbin/sa/sa.8:1.17 src/usr.sbin/sa/sa.8:1.18 --- src/usr.sbin/sa/sa.8:1.17 Fri Sep 19 16:02:59 2014 +++ src/usr.sbin/sa/sa.8 Fri Sep 19 16:05:55 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: sa.8,v 1.17 2014/09/19 16:02:59 wiz Exp $ +.\ $NetBSD: sa.8,v 1.18 2014/09/19 16:05:55 wiz Exp $ .\ .\ Copyright (c) 1994 Christopher G. Demetriou .\ All rights reserved. @@ -71,7 +71,8 @@ If file names are supplied, they are rea .Pa /var/account/acct . After each file is read, if the summary files are being updated, an updated summary will -be saved to disk. Only one report is printed, +be saved to disk. +Only one report is printed, after the last file is processed. .Pp The labels used in the output indicate the following, except @@ -104,7 +105,8 @@ are: .Bl -tag -width Ds .It Fl a List all command names, including those containing unprintable -characters and those used only once. By default, +characters and those used only once. +By default, .Nm places all names containing unprintable characters and those used only once under the name ``***other''. @@ -116,7 +118,8 @@ In addition to the number of calls and t for each command, print their percentage of the total over all commands. .It Fl d If printing command statistics, sort by the average number of disk -I/O operations. If printing user statistics, print the average number of +I/O operations. +If printing user statistics, print the average number of disk I/O operations per user. .It Fl D If printing command statistics, sort and print by the total number @@ -131,7 +134,8 @@ Do not read in the summary files. Instead of the total minutes per category, give seconds per call. .It Fl k If printing command statistics, sort by the CPU-time average memory -usage. If printing user statistics, print the CPU-time average +usage. +If printing user statistics, print the CPU-time average memory usage. .It Fl K If printing command statistics, print and sort by the CPU-storage integral. @@ -162,20 +166,25 @@ command name. For each command used .Ar cutoff times or fewer, print the command name and await a reply -from the terminal. If the reply begins with ``y'', add -the command to the category ``**junk**''. This flag is +from the terminal. +If the reply begins with ``y'', add +the command to the category ``**junk**''. +This flag is used to strip garbage from the report. .El .Pp -By default, per-command statistics will be printed. The number of +By default, per-command statistics will be printed. +The number of calls, the total elapsed time in minutes, total CPU and user time in minutes, average number of I/O operations, and CPU-time -averaged core usage will be printed. If the +averaged core usage will be printed. +If the .Fl m option is specified, per-user statistics will be printed, including the user name, the number of commands invoked, total CPU time used (in minutes), total number of I/O operations, and CPU storage integral -for each user. If the +for each user. +If the .Fl u option is specified, the uid, user and system time (in seconds), CPU storage integral, I/O usage, and command name will be printed @@ -185,7 +194,8 @@ If the .Fl u flag is specified, all flags other than .Fl q -are ignored. If the +are ignored. +If the .Fl m flag is specified, only the .Fl b , @@ -227,8 +237,8 @@ Its date of origin is unknown to the aut While the behavior of the options in this version of .Nm was modeled after the original version, there are some intentional -differences and undoubtedly some unintentional ones as well. In -particular, the +differences and undoubtedly some unintentional ones as well. +In particular, the .Fl q option has been added, and the .Fl m
CVS commit: src/usr.sbin/lptctl
Module Name:src Committed By: wiz Date: Fri Sep 19 16:06:16 UTC 2014 Modified Files: src/usr.sbin/lptctl: lptctl.8 Log Message: Mark up author with .An. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/lptctl/lptctl.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/lptctl/lptctl.8 diff -u src/usr.sbin/lptctl/lptctl.8:1.11 src/usr.sbin/lptctl/lptctl.8:1.12 --- src/usr.sbin/lptctl/lptctl.8:1.11 Fri Sep 19 16:02:59 2014 +++ src/usr.sbin/lptctl/lptctl.8 Fri Sep 19 16:06:16 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: lptctl.8,v 1.11 2014/09/19 16:02:59 wiz Exp $ +.\ $NetBSD: lptctl.8,v 1.12 2014/09/19 16:06:16 wiz Exp $ .\ .\ Copyright (c) 2004 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -120,4 +120,5 @@ was added in .Sh AUTHORS This man page and the .Nm -utility were written by Gary Thorpe. +utility were written by +.An Gary Thorpe .
CVS commit: src/sys/dev/pci/hdaudio
Module Name:src Committed By: christos Date: Fri Sep 19 17:23:35 UTC 2014 Modified Files: src/sys/dev/pci/hdaudio: files.hdaudio hdafg.c hdaudio.c Added Files: src/sys/dev/pci/hdaudio: Makefile.hdaudiodevs hdaudio_verbose.c hdaudio_verbose.h hdaudiodevs Removed Files: src/sys/dev/pci/hdaudio: hdaudio_ids.c hdaudio_ids.h Log Message: Pull out the device list and auto-generate it. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/Makefile.hdaudiodevs \ src/sys/dev/pci/hdaudio/hdaudio_verbose.c \ src/sys/dev/pci/hdaudio/hdaudio_verbose.h \ src/sys/dev/pci/hdaudio/hdaudiodevs cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio/files.hdaudio cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/hdaudio/hdafg.c cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/hdaudio/hdaudio.c cvs rdiff -u -r1.8 -r0 src/sys/dev/pci/hdaudio/hdaudio_ids.c cvs rdiff -u -r1.3 -r0 src/sys/dev/pci/hdaudio/hdaudio_ids.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/pci/hdaudio/files.hdaudio diff -u src/sys/dev/pci/hdaudio/files.hdaudio:1.5 src/sys/dev/pci/hdaudio/files.hdaudio:1.6 --- src/sys/dev/pci/hdaudio/files.hdaudio:1.5 Sat Feb 12 10:15:34 2011 +++ src/sys/dev/pci/hdaudio/files.hdaudio Fri Sep 19 13:23:35 2014 @@ -1,12 +1,12 @@ -# $NetBSD: files.hdaudio,v 1.5 2011/02/12 15:15:34 jmcneill Exp $ +# $NetBSD: files.hdaudio,v 1.6 2014/09/19 17:23:35 christos Exp $ # # Intel High Definition Audio (Revision 1.0) # define hdaudiobus {[nid = -1]} device hdaudio: hdaudiobus -file dev/pci/hdaudio/hdaudio.c hdaudio -file dev/pci/hdaudio/hdaudio_ids.c hdaudio +file dev/pci/hdaudio/hdaudio.c hdaudio +file dev/pci/hdaudio/hdaudio_verbose.c hdaudio hdaudioverbose device hdafg: audiobus, auconv, aurateconv, mulaw attach hdafg at hdaudiobus Index: src/sys/dev/pci/hdaudio/hdafg.c diff -u src/sys/dev/pci/hdaudio/hdafg.c:1.21 src/sys/dev/pci/hdaudio/hdafg.c:1.22 --- src/sys/dev/pci/hdaudio/hdafg.c:1.21 Fri May 23 09:57:04 2014 +++ src/sys/dev/pci/hdaudio/hdafg.c Fri Sep 19 13:23:35 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: hdafg.c,v 1.21 2014/05/23 13:57:04 msaitoh Exp $ */ +/* $NetBSD: hdafg.c,v 1.22 2014/09/19 17:23:35 christos Exp $ */ /* * Copyright (c) 2009 Precedence Technologies Ltd supp...@precedence.co.uk @@ -60,7 +60,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: hdafg.c,v 1.21 2014/05/23 13:57:04 msaitoh Exp $); +__KERNEL_RCSID(0, $NetBSD: hdafg.c,v 1.22 2014/09/19 17:23:35 christos Exp $); #include sys/types.h #include sys/param.h @@ -82,7 +82,8 @@ __KERNEL_RCSID(0, $NetBSD: hdafg.c,v 1. #include hdaudioreg.h #include hdaudio_mixer.h #include hdaudioio.h -#include hdaudio_ids.h +#include hdaudio_verbose.h +#include hdaudiodevs.h #include hdafg_dd.h #include hdmireg.h @@ -685,7 +686,7 @@ hdafg_widget_getcaps(struct hdaudio_widg w-w_waspin = false; switch (sc-sc_vendor) { - case HDA_VENDOR_ANALOG_DEVICES: + case HDAUDIO_VENDOR_ANALOG: /* * help the parser by marking the analog * beeper as a beep generator @@ -3612,10 +3613,9 @@ hdafg_attach(device_t parent, device_t s prop_dictionary_get_uint16(args, vendor-id, sc-sc_vendor); prop_dictionary_get_uint16(args, product-id, sc-sc_product); - hdaudio_id2name(sc-sc_vendor, HDA_PRODUCT_ANY, - vendor, sizeof(vendor)); - hdaudio_id2name(sc-sc_vendor, sc-sc_product, - product, sizeof(product)); + get_hdaudio_vendor(vendor, sizeof(vendor), sc-sc_vendor); + get_hdaudio_product(product, sizeof(product), sc-sc_vendor, + sc-sc_product); hda_print1(sc, : %s %s%s\n, vendor, product, sc-sc_config ? (custom configuration) : ); @@ -3965,10 +3965,10 @@ hdafg_getdev(void *opaque, struct audio_ struct hdaudio_audiodev *ad = opaque; struct hdafg_softc *sc = ad-ad_sc; - hdaudio_id2name(sc-sc_vendor, HDA_PRODUCT_ANY, - audiodev-name, sizeof(audiodev-name)); - hdaudio_id2name(sc-sc_vendor, sc-sc_product, - audiodev-version, sizeof(audiodev-version)); + get_hdaudio_vendor(audiodev-name, sizeof(audiodev-name), + sc-sc_vendor); + get_hdaudio_product(audiodev-version, sizeof(audiodev-version), + sc-sc_vendor, sc-sc_product); snprintf(audiodev-config, sizeof(audiodev-config) - 1, %02Xh, sc-sc_nid); Index: src/sys/dev/pci/hdaudio/hdaudio.c diff -u src/sys/dev/pci/hdaudio/hdaudio.c:1.22 src/sys/dev/pci/hdaudio/hdaudio.c:1.23 --- src/sys/dev/pci/hdaudio/hdaudio.c:1.22 Fri Jul 25 04:10:38 2014 +++ src/sys/dev/pci/hdaudio/hdaudio.c Fri Sep 19 13:23:35 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: hdaudio.c,v 1.22 2014/07/25 08:10:38 dholland Exp $ */ +/* $NetBSD: hdaudio.c,v 1.23 2014/09/19 17:23:35 christos Exp $ */ /* * Copyright (c) 2009 Precedence Technologies Ltd supp...@precedence.co.uk @@ -30,7 +30,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: hdaudio.c,v 1.22 2014/07/25 08:10:38 dholland Exp $); +__KERNEL_RCSID(0,
CVS commit: src/sys/dev/pci/hdaudio
Module Name:src Committed By: christos Date: Fri Sep 19 17:24:23 UTC 2014 Added Files: src/sys/dev/pci/hdaudio: devlist2h.awk Log Message: another devlist2h.awk, someone should merge them all so that they can generate efficient ids and not dup the code 10 times! To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/devlist2h.awk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/sys/dev/pci/hdaudio/devlist2h.awk diff -u /dev/null src/sys/dev/pci/hdaudio/devlist2h.awk:1.1 --- /dev/null Fri Sep 19 13:24:23 2014 +++ src/sys/dev/pci/hdaudio/devlist2h.awk Fri Sep 19 13:24:23 2014 @@ -0,0 +1,227 @@ +#! /usr/bin/awk -f +# $NetBSD: devlist2h.awk,v 1.1 2014/09/19 17:24:23 christos Exp $ +# +# Copyright (c) 1995, 1996 Christopher G. Demetriou +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +#notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +#notice, this list of conditions and the following disclaimer in the +#documentation and/or other materials provided with the distribution. +# 3. All advertising materials mentioning features or use of this software +#must display the following acknowledgement: +# This product includes software developed by Christopher G. Demetriou. +# 4. The name of the author may not be used to endorse or promote products +#derived from this software without specific prior written permission +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +BEGIN { + nproducts = nvendors = blanklines = 0 + dfile=hdaudiodevs_data.h + hfile=hdaudiodevs.h +} +NR == 1 { + VERSION = $0 + gsub(\\$, , VERSION) + gsub(/ $/, , VERSION) + + if (os == NetBSD) + printf(/*\t$NetBSD $\t*/\n\n) dfile + else if (os == FreeBSD) + printf(/*\t$FreeBSD $\t*/\n\n) dfile + else if (os == OpenBSD) + printf(/*\t$OpenBSD $\t*/\n\n) dfile + else + printf(/* ??? */\n\n) dfile + printf(/*\n) dfile + printf( * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.\n) \ + dfile + printf( *\n) dfile + printf( * generated from:\n) dfile + printf( *\t%s\n, VERSION) dfile + printf( */\n) dfile + + if (os == NetBSD) + printf(/*\t$NetBSD $\t*/\n\n) hfile + else if (os == FreeBSD) + printf(/*\t$FreeBSD $\t*/\n\n) hfile + else if (os == OpenBSD) + printf(/*\t$OpenBSD $\t*/\n\n) hfile + else + printf(/* ??? */\n\n) hfile + printf(/*\n) hfile + printf( * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.\n) \ + hfile + printf( *\n) hfile + printf( * generated from:\n) hfile + printf( *\t%s\n, VERSION) hfile + printf( */\n) hfile + + next +} +NF 0 $1 == vendor { + nvendors++ + + vendorindex[$2] = nvendors; # record index for this name, for later. + vendors[nvendors, 1] = $2; # name + vendors[nvendors, 2] = $3; # id + printf(#define\tHDAUDIO_VENDOR_%s\t%s\t, vendors[nvendors, 1], + vendors[nvendors, 2]) hfile + + i = 3; f = 4; + + # comments + ocomment = oparen = 0 + if (f = NF) { + printf(\t/* ) hfile + ocomment = 1; + } + while (f = NF) { + if ($f == #) { + printf(() hfile + oparen = 1 + f++ + continue + } + if (oparen) { + printf(%s, $f) hfile + if (f NF) +printf( ) hfile + f++ + continue + } + vendors[nvendors, i] = $f + printf(%s, vendors[nvendors, i]) hfile + if (f NF) + printf( ) hfile + i++; f++; + } + if (oparen) + printf()) hfile + if (ocomment) + printf( */) hfile + printf(\n) hfile + + next +} +NF 0 $1 == product { + nproducts++ + + products[nproducts, 1] = $2; # vendor name + products[nproducts, 2] = $3; # product id + products[nproducts, 3] = $4; # id + printf(#define\tHDAUDIO_PRODUCT_%s_%s\t%s\t, products[nproducts, 1], + products[nproducts, 2], products[nproducts, 3]) hfile + + i=4; f = 5; + + # comments + ocomment = oparen = 0 + if (f = NF) { + printf(\t/* ) hfile + ocomment = 1; + } + while (f = NF) { + if ($f == #) { + printf(() hfile + oparen = 1 + f++ + continue + } + if (oparen) { + printf(%s,
CVS commit: src/sys/dev/pci/hdaudio
Module Name:src Committed By: christos Date: Fri Sep 19 17:24:55 UTC 2014 Added Files: src/sys/dev/pci/hdaudio: hdaudiodevs.h hdaudiodevs_data.h Log Message: gen To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/hdaudiodevs.h \ src/sys/dev/pci/hdaudio/hdaudiodevs_data.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/sys/dev/pci/hdaudio/hdaudiodevs.h diff -u /dev/null src/sys/dev/pci/hdaudio/hdaudiodevs.h:1.1 --- /dev/null Fri Sep 19 13:24:55 2014 +++ src/sys/dev/pci/hdaudio/hdaudiodevs.h Fri Sep 19 13:24:55 2014 @@ -0,0 +1,252 @@ +/* $NetBSD: hdaudiodevs.h,v 1.1 2014/09/19 17:24:55 christos Exp $ */ + +/* + * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. + * + * generated from: + * NetBSD: hdaudiodevs,v 1.1 2014/09/19 17:23:35 christos Exp + */ + +/* + * Copyright (c) 2010 Jared D. McNeill jmcne...@invisible.ca + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Precedence TeCHnologies Ltd + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of conditions and the following disclaimer. + * 2. The name of the author may not be used to endorse or promote products + *derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +/* The following is duplicated from pci except SIGMATEL* and CMEDIA */ +#define HDAUDIO_VENDOR_ATI 0x1002 /* ATI Technologies */ +#define HDAUDIO_VENDOR_NVIDIA 0x10de /* NVIDIA */ +#define HDAUDIO_VENDOR_REALTEK 0x10ec /* Realtek Semiconductor */ +#define HDAUDIO_VENDOR_VIATECH 0x1106 /* VIA TeCHnologies */ +#define HDAUDIO_VENDOR_SIGMATEL2 0x111d /* Sigmatel */ +#define HDAUDIO_VENDOR_ANALOG 0x11d4 /* Analog Devices */ +#define HDAUDIO_VENDOR_CONEXANT 0x14f1 /* Conexant Systems */ +#define HDAUDIO_VENDOR_VMWARE 0x15ad /* VMware */ +#define HDAUDIO_VENDOR_CMEDIA 0x434d /* C-Media Electronics */ +#define HDAUDIO_VENDOR_INTEL 0x8086 /* Intel */ +#define HDAUDIO_VENDOR_SIGMATEL 0x8384 /* Sigmatel */ + +/* ATI */ +#define HDAUDIO_PRODUCT_ATI_RS600_HDMI_1 0x7919 /* RS600 HDMI */ +#define HDAUDIO_PRODUCT_ATI_RS600_HDMI_2 0x793c /* RS600 HDMI */ +#define HDAUDIO_PRODUCT_ATI_RS690_780_HDMI 0x791a /* RS690/780 HDMI */ +#define HDAUDIO_PRODUCT_ATI_R6xx_HDMI 0xaa01 /* R6xx HDMI */ + +/* NVIDIA */ +#define HDAUDIO_PRODUCT_NVIDIA_MCP77_78_HDMI_2 0x0002 /* MCP77/78 HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_MCP77_78_HDMI_3 0x0003 /* MCP77/78 HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_MCP77_78_HDMI_5 0x0005 /* MCP77/78 HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_MCP77_78_HDMI_6 0x0006 /* MCP77/78 HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_MCP79_7A_HDMI_7 0x0007 /* MCP79/7A HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_GT220_HDMI 0x000a /* GT220 HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_GT21x_HDMI 0x000b /* GT21x HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_MCP89_HDMI 0x000c /* MCP89 HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_GT240_HDMI 0x000d /* GT240 HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_GT5xx_HDMI_DP 0x0015 /* GT5xx HDMI/DP */ +#define HDAUDIO_PRODUCT_NVIDIA_MCP67_HDMI 0x0067 /* MCP67 HDMI */ +#define HDAUDIO_PRODUCT_NVIDIA_MCP73_HDMI 0x8001 /* MCP73 HDMI */ + +/* Realtek */ +#define HDAUDIO_PRODUCT_REALTEK_ALC260 0x0260 /* ALC260 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC262 0x0262 /* ALC262 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC267 0x0267 /* ALC267 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC268 0x0268 /* ALC268 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC269 0x0269 /* ALC269 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC270 0x0270 /* ALC270 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC272 0x0272 /* ALC272 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC275 0x0275 /* ALC275 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC660_VD 0x0660 /* ALC660-VD */ +#define HDAUDIO_PRODUCT_REALTEK_ALC662 0x0662 /* ALC662 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC663 0x0663 /* ALC663 */ +#define HDAUDIO_PRODUCT_REALTEK_ALC670 0x0670 /* ALC670 */ +#define
CVS commit: src/sys/modules
Module Name:src Committed By: christos Date: Fri Sep 19 17:25:47 UTC 2014 Modified Files: src/sys/modules: Makefile Added Files: src/sys/modules/hdaudioverbose: Makefile Log Message: new module To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/modules/Makefile cvs rdiff -u -r0 -r1.1 src/sys/modules/hdaudioverbose/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/modules/Makefile diff -u src/sys/modules/Makefile:1.140 src/sys/modules/Makefile:1.141 --- src/sys/modules/Makefile:1.140 Sun Aug 10 07:50:15 2014 +++ src/sys/modules/Makefile Fri Sep 19 13:25:47 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.140 2014/08/10 11:50:15 bad Exp $ +# $NetBSD: Makefile,v 1.141 2014/09/19 17:25:47 christos Exp $ .include bsd.own.mk @@ -135,6 +135,7 @@ SUBDIR+= coretemp SUBDIR+= est SUBDIR+= hdafg SUBDIR+= hdaudio +SUBDIR+= hdaudioverbose SUBDIR+= hpet SUBDIR+= odcm SUBDIR+= powernow Added files: Index: src/sys/modules/hdaudioverbose/Makefile diff -u /dev/null src/sys/modules/hdaudioverbose/Makefile:1.1 --- /dev/null Fri Sep 19 13:25:47 2014 +++ src/sys/modules/hdaudioverbose/Makefile Fri Sep 19 13:25:47 2014 @@ -0,0 +1,10 @@ +# $NetBSD: Makefile,v 1.1 2014/09/19 17:25:47 christos Exp $ + +.include ../Makefile.inc + +KMOD= hdaudioverbose + +.PATH: ${S}/dev/pci/hdaudio +SRCS= hdaudio_verbose.c + +.include bsd.kmodule.mk
CVS commit: src/share/man/man4
Module Name:src Committed By: christos Date: Fri Sep 19 17:27:12 UTC 2014 Modified Files: src/share/man/man4: hdaudio.4 Log Message: document verbose To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/share/man/man4/hdaudio.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/hdaudio.4 diff -u src/share/man/man4/hdaudio.4:1.13 src/share/man/man4/hdaudio.4:1.14 --- src/share/man/man4/hdaudio.4:1.13 Tue Aug 6 12:54:46 2013 +++ src/share/man/man4/hdaudio.4 Fri Sep 19 13:27:12 2014 @@ -1,4 +1,4 @@ -.\ $NetBSD: hdaudio.4,v 1.13 2013/08/06 16:54:46 snj Exp $ +.\ $NetBSD: hdaudio.4,v 1.14 2014/09/19 17:27:12 christos Exp $ .\ .\ Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -27,7 +27,7 @@ .\ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\ POSSIBILITY OF SUCH DAMAGE. .\ -.Dd May 10, 2013 +.Dd September 19, 2014 .Dt HDAUDIO 4 .Os .Sh NAME @@ -38,6 +38,7 @@ .Cd hdafg* at hdaudiobus? .Cd audio* at audiobus? .Pp +.Cd options HDAUDIOVERBOSE .Cd options HDAUDIO_DEBUG .Cd options HDAFG_DEBUG .Sh DESCRIPTION
CVS commit: src/sys/compat/netbsd32
Module Name:src Committed By: matt Date: Fri Sep 19 17:25:33 UTC 2014 Modified Files: src/sys/compat/netbsd32: netbsd32_sem.c Log Message: #include sys/condvar.h To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/compat/netbsd32/netbsd32_sem.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/compat/netbsd32/netbsd32_sem.c diff -u src/sys/compat/netbsd32/netbsd32_sem.c:1.10 src/sys/compat/netbsd32/netbsd32_sem.c:1.11 --- src/sys/compat/netbsd32/netbsd32_sem.c:1.10 Sat Mar 10 21:51:58 2012 +++ src/sys/compat/netbsd32/netbsd32_sem.c Fri Sep 19 17:25:33 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_sem.c,v 1.10 2012/03/10 21:51:58 joerg Exp $ */ +/* $NetBSD: netbsd32_sem.c,v 1.11 2014/09/19 17:25:33 matt Exp $ */ /* * Copyright (c) 2006 The NetBSD Foundation. @@ -27,13 +27,14 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: netbsd32_sem.c,v 1.10 2012/03/10 21:51:58 joerg Exp $); +__KERNEL_RCSID(0, $NetBSD: netbsd32_sem.c,v 1.11 2014/09/19 17:25:33 matt Exp $); #include sys/types.h #include sys/param.h #include sys/systm.h #include sys/kernel.h #include sys/dirent.h +#include sys/condvar.h #include sys/ksem.h #include sys/mount.h #include sys/proc.h
CVS commit: src/sys/sys
Module Name:src Committed By: matt Date: Fri Sep 19 17:27:55 UTC 2014 Modified Files: src/sys/sys: param.h Log Message: Move MIN/MAX forward to that headers included by sys/param.h can use them. To generate a diff of this commit: cvs rdiff -u -r1.460 -r1.461 src/sys/sys/param.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/param.h diff -u src/sys/sys/param.h:1.460 src/sys/sys/param.h:1.461 --- src/sys/sys/param.h:1.460 Mon Aug 11 09:10:52 2014 +++ src/sys/sys/param.h Fri Sep 19 17:27:55 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.460 2014/08/11 09:10:52 riz Exp $ */ +/* $NetBSD: param.h,v 1.461 2014/09/19 17:27:55 matt Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -130,8 +130,13 @@ #endif /* (MAXUPRC - 0) CHILD_MAX */ #endif /* !defined(MAXUPRC) */ +#define MIN(a,b) ((/*CONSTCOND*/(a)(b))?(a):(b)) +#define MAX(a,b) ((/*CONSTCOND*/(a)(b))?(a):(b)) + /* More types and definitions used throughout the kernel. */ #ifdef _KERNEL +/* Macros for min/max. */ + #include sys/cdefs.h #include sys/errno.h #include sys/time.h @@ -373,10 +378,6 @@ #define roundup2(x, m) (((x) + (m) - 1) ~((m) - 1)) #define powerof2(x) x)-1)(x))==0) -/* Macros for min/max. */ -#define MIN(a,b) ((/*CONSTCOND*/(a)(b))?(a):(b)) -#define MAX(a,b) ((/*CONSTCOND*/(a)(b))?(a):(b)) - /* * Constants for setting the parameters of the kernel memory allocator. *
CVS commit: src/sys/ddb
Module Name:src Committed By: matt Date: Fri Sep 19 17:29:01 UTC 2014 Modified Files: src/sys/ddb: db_run.c Log Message: Add description of inst_return To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/ddb/db_run.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/ddb/db_run.c diff -u src/sys/ddb/db_run.c:1.32 src/sys/ddb/db_run.c:1.33 --- src/sys/ddb/db_run.c:1.32 Sat Oct 19 14:33:07 2013 +++ src/sys/ddb/db_run.c Fri Sep 19 17:29:01 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: db_run.c,v 1.32 2013/10/19 14:33:07 martin Exp $ */ +/* $NetBSD: db_run.c,v 1.33 2014/09/19 17:29:01 matt Exp $ */ /* * Mach Operating System @@ -34,7 +34,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: db_run.c,v 1.32 2013/10/19 14:33:07 martin Exp $); +__KERNEL_RCSID(0, $NetBSD: db_run.c,v 1.33 2014/09/19 17:29:01 matt Exp $); #include opt_ddb.h @@ -345,6 +345,9 @@ db_continue_cmd(db_expr_t addr, bool hav * bool inst_call(int inst) * returns true if the instruction might branch * + * bool inst_return(int inst) + * returns true is the instruction will return to its caller + * * bool inst_unconditional_flow_transfer(int inst) * returns true if the instruction is an unconditional * transter of flow (i.e. unconditional branch)
CVS commit: src/sys/arch
Module Name:src Committed By: christos Date: Fri Sep 19 17:30:03 UTC 2014 Modified Files: src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0 src/sys/arch/i386/conf: ALL GENERIC XEN3_DOM0 Log Message: Add HDAUDIOVERBOSE To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/amd64/conf/ALL cvs rdiff -u -r1.398 -r1.399 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.107 -r1.108 src/sys/arch/amd64/conf/XEN3_DOM0 cvs rdiff -u -r1.385 -r1.386 src/sys/arch/i386/conf/ALL cvs rdiff -u -r1.1113 -r1.1114 src/sys/arch/i386/conf/GENERIC cvs rdiff -u -r1.89 -r1.90 src/sys/arch/i386/conf/XEN3_DOM0 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/amd64/conf/ALL diff -u src/sys/arch/amd64/conf/ALL:1.19 src/sys/arch/amd64/conf/ALL:1.20 --- src/sys/arch/amd64/conf/ALL:1.19 Fri Sep 19 11:24:24 2014 +++ src/sys/arch/amd64/conf/ALL Fri Sep 19 13:30:03 2014 @@ -1,4 +1,4 @@ -# $NetBSD: ALL,v 1.19 2014/09/19 15:24:24 christos Exp $ +# $NetBSD: ALL,v 1.20 2014/09/19 17:30:03 christos Exp $ # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp # # ALL machine description file @@ -17,7 +17,7 @@ include arch/amd64/conf/std.amd64 options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident ALL-$Revision: 1.19 $ +#ident ALL-$Revision: 1.20 $ maxusers 64 # estimated number of users @@ -262,6 +262,7 @@ options USBVERBOSE # verbose USB device options PNPBIOSVERBOSE # verbose PnP BIOS messages #options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages options MCAVERBOSE # verbose MCA device autoconfig messages +options HDAUDIOVERBOSE # verbose HDAUDIO driver messages options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM Index: src/sys/arch/amd64/conf/GENERIC diff -u src/sys/arch/amd64/conf/GENERIC:1.398 src/sys/arch/amd64/conf/GENERIC:1.399 --- src/sys/arch/amd64/conf/GENERIC:1.398 Fri Sep 19 11:24:24 2014 +++ src/sys/arch/amd64/conf/GENERIC Fri Sep 19 13:30:03 2014 @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.398 2014/09/19 15:24:24 christos Exp $ +# $NetBSD: GENERIC,v 1.399 2014/09/19 17:30:03 christos Exp $ # # GENERIC machine description file # @@ -22,7 +22,7 @@ include arch/amd64/conf/std.amd64 options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident GENERIC-$Revision: 1.398 $ +#ident GENERIC-$Revision: 1.399 $ maxusers 64 # estimated number of users @@ -215,6 +215,7 @@ options IPFILTER_COMPAT # Compat for IP #options PCMCIAVERBOSE # verbose PCMCIA configuration messages options SCSIVERBOSE # human readable SCSI error messages #options USBVERBOSE # verbose USB device autoconfig messages +#options HDAUDIOVERBOSE # verbose HDAUDIO driver messages options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM Index: src/sys/arch/amd64/conf/XEN3_DOM0 diff -u src/sys/arch/amd64/conf/XEN3_DOM0:1.107 src/sys/arch/amd64/conf/XEN3_DOM0:1.108 --- src/sys/arch/amd64/conf/XEN3_DOM0:1.107 Fri Sep 19 11:24:24 2014 +++ src/sys/arch/amd64/conf/XEN3_DOM0 Fri Sep 19 13:30:03 2014 @@ -1,4 +1,4 @@ -# $NetBSD: XEN3_DOM0,v 1.107 2014/09/19 15:24:24 christos Exp $ +# $NetBSD: XEN3_DOM0,v 1.108 2014/09/19 17:30:03 christos Exp $ include arch/amd64/conf/std.xen @@ -219,6 +219,7 @@ options MPBIOS_SCANPCI # MPBIOS config #options PCI_INTR_FIXUP # fixup PCI interrupt routing #options PCIVERBOSE # verbose PCI device autoconfig messages #options USBVERBOSE # verbose USB device autoconfig messages +#options HDAUDIOVERBOSE # verbose HDAUDIO driver messages ioapic* at mainbus? apid ? Index: src/sys/arch/i386/conf/ALL diff -u src/sys/arch/i386/conf/ALL:1.385 src/sys/arch/i386/conf/ALL:1.386 --- src/sys/arch/i386/conf/ALL:1.385 Fri Sep 19 11:24:24 2014 +++ src/sys/arch/i386/conf/ALL Fri Sep 19 13:30:03 2014 @@ -1,4 +1,4 @@ -# $NetBSD: ALL,v 1.385 2014/09/19 15:24:24 christos Exp $ +# $NetBSD: ALL,v 1.386 2014/09/19 17:30:03 christos Exp $ # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp # # ALL machine description file @@ -17,7 +17,7 @@ include arch/i386/conf/std.i386 options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident ALL-$Revision: 1.385 $ +#ident ALL-$Revision: 1.386 $ maxusers 64 # estimated number of users @@ -261,6 +261,7 @@ options USBVERBOSE # verbose USB device options PNPBIOSVERBOSE # verbose PnP BIOS messages #options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages options MCAVERBOSE # verbose MCA device autoconfig messages +options HDAUDIOVERBOSE # verbose HDAUDIO driver messages options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM Index: src/sys/arch/i386/conf/GENERIC diff -u src/sys/arch/i386/conf/GENERIC:1.1113 src/sys/arch/i386/conf/GENERIC:1.1114 --- src/sys/arch/i386/conf/GENERIC:1.1113 Fri Sep 19 11:24:24 2014 +++ src/sys/arch/i386/conf/GENERIC Fri Sep 19 13:30:03 2014 @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.1113 2014/09/19 15:24:24
CVS commit: src/tools
Module Name:src Committed By: matt Date: Fri Sep 19 17:30:13 UTC 2014 Modified Files: src/tools: headerlist Log Message: Add sys/arch/riscv. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tools/headerlist Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tools/headerlist diff -u src/tools/headerlist:1.12 src/tools/headerlist:1.13 --- src/tools/headerlist:1.12 Wed Sep 3 19:24:52 2014 +++ src/tools/headerlist Fri Sep 19 17:30:13 2014 @@ -1,4 +1,4 @@ -# $NetBSD: headerlist,v 1.12 2014/09/03 19:24:52 matt Exp $ +# $NetBSD: headerlist,v 1.13 2014/09/19 17:30:13 matt Exp $ # # do not edit; this file was automatically generated by: # NetBSD: mkheaderlist.sh,v 1.1 2007/08/07 12:38:23 yamt Exp @@ -116,6 +116,8 @@ ./powerpc/include/elf_machdep.h ./prep/include/disklabel.h ./prep/include/elf_machdep.h +./riscv/include/disklabel.h +./riscv/include/elf_machdep.h ./rs6000/include/disklabel.h ./rs6000/include/elf_machdep.h ./sandpoint/include/disklabel.h
CVS commit: src/sys/conf
Module Name:src Committed By: matt Date: Fri Sep 19 17:32:34 UTC 2014 Added Files: src/sys/conf: majors.std majors.storage majors.tty majors.usb majors.ws Log Message: Add some file to define MI major for various classes of stuff. These are for new ports to use. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/conf/majors.std src/sys/conf/majors.storage \ src/sys/conf/majors.tty src/sys/conf/majors.usb src/sys/conf/majors.ws Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/sys/conf/majors.std diff -u /dev/null src/sys/conf/majors.std:1.1 --- /dev/null Fri Sep 19 17:32:34 2014 +++ src/sys/conf/majors.std Fri Sep 19 17:32:34 2014 @@ -0,0 +1,16 @@ +# $NetBSD: majors.std,v 1.1 2014/09/19 17:32:34 matt Exp $ +# +# MI major assignments for standard devices +# +device-major cons char 240 +device-major ctty char 241 +device-major mem char 242 +device-major swap char 243 block 1 vmswap +device-major pts char 244 pty +device-major ptc char 245 pty +device-major log char 246 +device-major filedesc char 247 +device-major rnd char 248 rnd +device-major clockctl char 249 clockctl +device-major sysmon char 250 sysmon_envsys | sysmon_wdog +device-major ksyms char 251 ksyms Index: src/sys/conf/majors.storage diff -u /dev/null src/sys/conf/majors.storage:1.1 --- /dev/null Fri Sep 19 17:32:34 2014 +++ src/sys/conf/majors.storage Fri Sep 19 17:32:34 2014 @@ -0,0 +1,28 @@ +# $NetBSD: majors.storage,v 1.1 2014/09/19 17:32:34 matt Exp $ +# +# MI major assignments for storage (and their children) devices +# +device-major ccd char 300 block 300 ccd +device-major vnd char 301 block 301 vnd +device-major md char 302 block 302 md +device-major ld char 303 block 303 ld +device-major raid char 304 block 304 raid +device-major cgd char 305 block 305 cgd + +# scsibus and its children +device-major scsibus char 310 scsibus +device-major sd char 311 block 311 sd +device-major st char 312 block 312 st +device-major cd char 313 block 313 cd +device-major ch char 314 ch +device-major ss char 315 ss +device-major uk char 316 uk +device-major ses char 317 ses +device-major se char 318 se + +device-major fd char 320 block 320 fdc +device-major wd char 321 block 321 wd + +device-major mlx char 330 mlx +device-major mly char 331 mly +device-major twe char 332 twe Index: src/sys/conf/majors.tty diff -u /dev/null src/sys/conf/majors.tty:1.1 --- /dev/null Fri Sep 19 17:32:34 2014 +++ src/sys/conf/majors.tty Fri Sep 19 17:32:34 2014 @@ -0,0 +1,9 @@ +# $NetBSD: majors.tty,v 1.1 2014/09/19 17:32:34 matt Exp $ +# +# MI major assignments for tty(*) devices +# + +device-major com char 260 com +device-major lpt char 261 lpt +device-major cy char 262 cy +device-major cz char 263 cz Index: src/sys/conf/majors.usb diff -u /dev/null src/sys/conf/majors.usb:1.1 --- /dev/null Fri Sep 19 17:32:34 2014 +++ src/sys/conf/majors.usb Fri Sep 19 17:32:34 2014 @@ -0,0 +1,11 @@ +# $NetBSD: majors.usb,v 1.1 2014/09/19 17:32:34 matt Exp $ +# +# MI major assignments for USB devices +# +device-major usb char 220 usb +device-major uhid char 221 uhid +device-major ulpt char 222 ulpt +device-major ugen char 223 ugen +device-major ucom char 224 ucom +device-major urio char 225 urio +device-major uscanner char 226 uscanner Index: src/sys/conf/majors.ws diff -u /dev/null src/sys/conf/majors.ws:1.1 --- /dev/null Fri Sep 19 17:32:34 2014 +++ src/sys/conf/majors.ws Fri Sep 19 17:32:34 2014 @@ -0,0 +1,8 @@ +# $NetBSD: majors.ws,v 1.1 2014/09/19 17:32:34 matt Exp $ +# +# MI major assignments for ws type devices +device-major wsdisplay char 210 wsdisplay +device-major wskbd char 211 wskbd +device-major wsmouse char 212 wsmouse +device-major wsmux char 213 wsmux +device-major wsfont char 214 wsfont
CVS commit: src/distrib/sets/lists/modules
Module Name:src Committed By: christos Date: Fri Sep 19 17:33:47 UTC 2014 Modified Files: src/distrib/sets/lists/modules: md.amd64 md.i386 Log Message: Add hdaudioverbose To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/modules/md.amd64 cvs rdiff -u -r1.46 -r1.47 src/distrib/sets/lists/modules/md.i386 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/modules/md.amd64 diff -u src/distrib/sets/lists/modules/md.amd64:1.44 src/distrib/sets/lists/modules/md.amd64:1.45 --- src/distrib/sets/lists/modules/md.amd64:1.44 Thu Sep 18 15:45:24 2014 +++ src/distrib/sets/lists/modules/md.amd64 Fri Sep 19 13:33:47 2014 @@ -1,4 +1,4 @@ -# $NetBSD: md.amd64,v 1.44 2014/09/18 19:45:24 wiz Exp $ +# $NetBSD: md.amd64,v 1.45 2014/09/19 17:33:47 christos Exp $ # # NOTE that there are two sets of files here: # @MODULEDIR@ and amd64-xen @@ -79,6 +79,8 @@ ./@MODULEDIR@/hdafg/hdafg.kmod base-kernel-modules kmod ./@MODULEDIR@/hdaudiobase-kernel-modules kmod ./@MODULEDIR@/hdaudio/hdaudio.kmod base-kernel-modules kmod +./@MODULEDIR@/hdaudioverbose base-kernel-modules kmod +./@MODULEDIR@/hdaudioverbose/hdaudioverbose.kmod base-kernel-modules kmod ./@MODULEDIR@/hpacelbase-kernel-modules kmod ./@MODULEDIR@/hpacel/hpacel.kmod base-kernel-modules kmod ./@MODULEDIR@/hpetbase-kernel-modules kmod @@ -308,6 +310,8 @@ ./stand/amd64-xen/@OSRELEASE@/modules/hdafg/hdafg.kmod base-kernel-modules kmod,compatmodules ./stand/amd64-xen/@OSRELEASE@/modules/hdaudiobase-kernel-modules kmod,compatmodules ./stand/amd64-xen/@OSRELEASE@/modules/hdaudio/hdaudio.kmod base-kernel-modules kmod,compatmodules +./stand/amd64-xen/@OSRELEASE@/modules/hdaudioverbose base-kernel-modules kmod,compatmodules +./stand/amd64-xen/@OSRELEASE@/modules/hdaudioverbose/hdaudioverbose.kmod base-kernel-modules kmod,compatmodules ./stand/amd64-xen/@OSRELEASE@/modules/hfsbase-kernel-modules kmod,compatmodules ./stand/amd64-xen/@OSRELEASE@/modules/hfs/hfs.kmod base-kernel-modules kmod,compatmodules ./stand/amd64-xen/@OSRELEASE@/modules/hpacelbase-kernel-modules kmod,compatmodules Index: src/distrib/sets/lists/modules/md.i386 diff -u src/distrib/sets/lists/modules/md.i386:1.46 src/distrib/sets/lists/modules/md.i386:1.47 --- src/distrib/sets/lists/modules/md.i386:1.46 Mon Aug 11 01:19:16 2014 +++ src/distrib/sets/lists/modules/md.i386 Fri Sep 19 13:33:47 2014 @@ -1,4 +1,4 @@ -# $NetBSD: md.i386,v 1.46 2014/08/11 05:19:16 jnemeth Exp $ +# $NetBSD: md.i386,v 1.47 2014/09/19 17:33:47 christos Exp $ # # NOTE that there are three sets of files here: # @MODULEDIR@, i386-xen, and i386pae-xen @@ -83,6 +83,8 @@ ./@MODULEDIR@/hdafg/hdafg.kmod base-kernel-modules kmod ./@MODULEDIR@/hdaudiobase-kernel-modules kmod ./@MODULEDIR@/hdaudio/hdaudio.kmod base-kernel-modules kmod +./@MODULEDIR@/hdaudioverbose base-kernel-modules kmod +./@MODULEDIR@/hdaudioverbose/hdaudioverbose.kmod base-kernel-modules kmod ./@MODULEDIR@/hpacelbase-kernel-modules kmod ./@MODULEDIR@/hpacel/hpacel.kmod base-kernel-modules kmod ./@MODULEDIR@/hpetbase-kernel-modules kmod @@ -326,6 +328,8 @@ ./stand/i386-xen/@OSRELEASE@/modules/hdafg/hdafg.kmod base-kernel-modules kmod,compatmodules ./stand/i386-xen/@OSRELEASE@/modules/hdaudiobase-kernel-modules kmod,compatmodules ./stand/i386-xen/@OSRELEASE@/modules/hdaudio/hdaudio.kmod base-kernel-modules kmod,compatmodules +./stand/i386-xen/@OSRELEASE@/modules/hdaudioverbose base-kernel-modules kmod,compatmodules +./stand/i386-xen/@OSRELEASE@/modules/hdaudioverbose/hdaudioverbose.kmod base-kernel-modules kmod,compatmodules ./stand/i386-xen/@OSRELEASE@/modules/hfsbase-kernel-modules kmod,compatmodules ./stand/i386-xen/@OSRELEASE@/modules/hfs/hfs.kmod base-kernel-modules kmod,compatmodules ./stand/i386-xen/@OSRELEASE@/modules/hpacelbase-kernel-modules kmod,compatmodules @@ -705,6 +709,8 @@ ./stand/i386pae-xen/@OSRELEASE@/modules/hdafg/hdafg.kmod base-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hdaudiobase-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hdaudio/hdaudio.kmod base-kernel-modules kmod,compatmodules +./stand/i386pae-xen/@OSRELEASE@/modules/hdaudioverbose base-kernel-modules kmod,compatmodules +./stand/i386pae-xen/@OSRELEASE@/modules/hdaudioverbose/hdaudio.kmod base-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hfsbase-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hfs/hfs.kmod base-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hpacelbase-kernel-modules kmod,compatmodules
CVS commit: src/include
Module Name:src Committed By: matt Date: Fri Sep 19 17:39:15 UTC 2014 Modified Files: src/include: fenv.h Log Message: RISC-V support fenv.h To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/include/fenv.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/include/fenv.h diff -u src/include/fenv.h:1.11 src/include/fenv.h:1.12 --- src/include/fenv.h:1.11 Wed Sep 3 19:28:20 2014 +++ src/include/fenv.h Fri Sep 19 17:39:15 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: fenv.h,v 1.11 2014/09/03 19:28:20 matt Exp $ */ +/* $NetBSD: fenv.h,v 1.12 2014/09/19 17:39:15 matt Exp $ */ /* * Copyright (c) 2010 The NetBSD Foundation, Inc. * All rights reserved. @@ -26,7 +26,8 @@ */ #if !defined(__aarch64__) !defined(__arm__) !defined(__i386__) \ - !defined(__or1k__) !defined(__sparc__) !defined(__x86_64__) + !defined(__or1k__) !defined(__riscv__) !defined(__sparc__) \ + !defined(__x86_64__) #error fenv.h is currently not supported for this architecture #endif
CVS commit: src/compat
Module Name:src Committed By: matt Date: Fri Sep 19 17:38:46 UTC 2014 Modified Files: src/compat: archdirs.mk Log Message: Add RISC-V support To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/compat/archdirs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/compat/archdirs.mk diff -u src/compat/archdirs.mk:1.7 src/compat/archdirs.mk:1.8 --- src/compat/archdirs.mk:1.7 Wed Sep 10 22:43:36 2014 +++ src/compat/archdirs.mk Fri Sep 19 17:38:46 2014 @@ -1,4 +1,4 @@ -# $NetBSD: archdirs.mk,v 1.7 2014/09/10 22:43:36 matt Exp $ +# $NetBSD: archdirs.mk,v 1.8 2014/09/19 17:38:46 matt Exp $ # list of subdirs used per-platform @@ -30,6 +30,10 @@ ARCHDIR_SUBDIR= mips64/64 mips64/o32 ARCHDIR_SUBDIR= powerpc64/powerpc .endif +.if ${MACHINE_ARCH} == riscv64 +ARCHDIR_SUBDIR= riscv64/rv32 +.endif + .if (${MACHINE_ARCH} == aarch64) ARCHDIR_SUBDIR+= arm/eabi ARCHDIR_SUBDIR+= arm/eabihf
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: matt Date: Fri Sep 19 17:42:19 UTC 2014 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Tell it about riscv. Fix mips64 case so that SIZEOF_PTR_2POW is 3. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libc/stdlib/jemalloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/stdlib/jemalloc.c diff -u src/lib/libc/stdlib/jemalloc.c:1.35 src/lib/libc/stdlib/jemalloc.c:1.36 --- src/lib/libc/stdlib/jemalloc.c:1.35 Wed Sep 3 19:29:40 2014 +++ src/lib/libc/stdlib/jemalloc.c Fri Sep 19 17:42:19 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: jemalloc.c,v 1.35 2014/09/03 19:29:40 matt Exp $ */ +/* $NetBSD: jemalloc.c,v 1.36 2014/09/19 17:42:19 matt Exp $ */ /*- * Copyright (C) 2006,2007 Jason Evans jas...@freebsd.org. @@ -118,7 +118,7 @@ #include sys/cdefs.h /* __FBSDID($FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $); */ -__RCSID($NetBSD: jemalloc.c,v 1.35 2014/09/03 19:29:40 matt Exp $); +__RCSID($NetBSD: jemalloc.c,v 1.36 2014/09/19 17:42:19 matt Exp $); #ifdef __FreeBSD__ #include libc_private.h @@ -295,10 +295,15 @@ __strerror_r(int e, char *s, size_t l) # define SIZEOF_PTR_2POW 2 # define USE_BRK #endif -#ifdef __mips__ -# define QUANTUM_2POW_MIN 4 +#if defined(__mips__) || defined(__riscv__) +# ifdef _LP64 +# define SIZEOF_PTR_2POW 3 +# define TINY_MIN_2POW 3 +# else # define SIZEOF_PTR_2POW 2 -# define USE_BRK +# endif +# define QUANTUM_2POW_MIN 4 +# define USE_BRK #endif #ifdef __hppa__ # define QUANTUM_2POW_MIN 4
CVS commit: src/lib/libm
Module Name:src Committed By: matt Date: Fri Sep 19 17:42:44 UTC 2014 Modified Files: src/lib/libm: Makefile Log Message: Add RISC-V MD bits. To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 src/lib/libm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libm/Makefile diff -u src/lib/libm/Makefile:1.165 src/lib/libm/Makefile:1.166 --- src/lib/libm/Makefile:1.165 Tue Aug 26 11:48:20 2014 +++ src/lib/libm/Makefile Fri Sep 19 17:42:44 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.165 2014/08/26 11:48:20 christos Exp $ +# $NetBSD: Makefile,v 1.166 2014/09/19 17:42:44 matt Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -147,6 +147,19 @@ ARCH_SRCS = e_acos.S e_asin.S e_atanh.S # and emulation code isn't written yet. ARCH_SRCS = n_scalbn.S WARNS?=5 +.elif (${LIBC_MACHINE_CPU} == riscv) +.PATH: ${.CURDIR}/arch/riscv + +COMMON_SRCS += fenv.c + +.if ${MKSOFTFLOAT} == no +ARCH_SRCS = e_sqrt.S e_sqrtf.S +ARCH_SRCS += s_copysign.S s_copysignf.S +ARCH_SRCS += s_fabs.S s_fabsf.S +ARCH_SRCS += s_fma.S s_fmaf.S +ARCH_SRCS += s_fmax.S s_fmaxf.S +ARCH_SRCS += s_fmin.S s_fminf.S +.endif .endif WARNS?=5
CVS commit: src/sbin/disklabel
Module Name:src Committed By: matt Date: Fri Sep 19 17:45:04 UTC 2014 Modified Files: src/sbin/disklabel: main.c Log Message: Add OpenRISC 1000 UCB RISC-V platform support. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sbin/disklabel/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/disklabel/main.c diff -u src/sbin/disklabel/main.c:1.41 src/sbin/disklabel/main.c:1.42 --- src/sbin/disklabel/main.c:1.41 Sun Aug 10 06:48:51 2014 +++ src/sbin/disklabel/main.c Fri Sep 19 17:45:03 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.41 2014/08/10 06:48:51 apb Exp $ */ +/* $NetBSD: main.c,v 1.42 2014/09/19 17:45:03 matt Exp $ */ /* * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -76,7 +76,7 @@ __COPYRIGHT(@(#) Copyright (c) 1987, 19 static char sccsid[] = @(#)disklabel.c 8.4 (Berkeley) 5/4/95; /* from static char sccsid[] = @(#)disklabel.c 1.2 (Symmetric) 11/28/85; */ #else -__RCSID($NetBSD: main.c,v 1.41 2014/08/10 06:48:51 apb Exp $); +__RCSID($NetBSD: main.c,v 1.42 2014/09/19 17:45:03 matt Exp $); #endif #endif /* not lint */ @@ -246,7 +246,7 @@ static const struct disklabel_params { { sandpoint, 0, 1, 0, 16, 2, 0, BIG_ENDIAN }, /* powerpc */ { sgimips, 0, 1, 0, 16, 2, 0, BIG_ENDIAN }, /* mips */ - { sbmips, 0, 1, 0, 16, 3, 0, 0 }, /* mips */ + { sbmips, 0, 1, 0, 16, 3, 0, 0 }, /* mips */ { cesfic, 0, 2, 0, 8, 2, 0, BIG_ENDIAN }, /* m68k */ { hp300, 0, 2, 0, 8, 2, 0, BIG_ENDIAN }, /* m68k */ @@ -260,11 +260,13 @@ static const struct disklabel_params { { dreamcast, 1, 1, 0, 16, 2, 0, LITTLE_ENDIAN }, /* sh3 */ { evbarm64, 1, 1, 0, 16, 2, 0, 0 }, /* aarch64 */ - { evbsh3, 1, 1, 0, 16, 2, 0, 0 }, /* sh3 */ { evbcf, 1, 1, 0, 16, 2, 0, BIG_ENDIAN }, /* coldfire */ { evbppc-mbr, 1, 1, 0, 16, 2, 0, BIG_ENDIAN }, /* powerpc */ + { evbsh3, 1, 1, 0, 16, 2, 0, 0 }, /* sh3 */ { hpcsh, 1, 1, 0, 16, 2, 0, LITTLE_ENDIAN }, /* sh3 */ { mmeye, 1, 1, 0, 16, 2, 0, 0 }, /* sh3 */ + { or1k, 1, 1, 0, 16, 2, 0, BIG_ENDIAN }, /* or1k */ + { riscv, 1, 1, 0, 16, 2, 0, LITTLE_ENDIAN }, /* riscv */ { acorn26, 1, 1, 0, 16, 2, 8, LITTLE_ENDIAN }, /* arm */ { acorn32, 1, 1, 0, 16, 2, 8, LITTLE_ENDIAN }, /* arm */ @@ -312,6 +314,8 @@ static const struct arch_endian { { LITTLE_ENDIAN, ia64 }, { LITTLE_ENDIAN, mipsel }, { LITTLE_ENDIAN, mips64el }, + { LITTLE_ENDIAN, riscv32 }, + { LITTLE_ENDIAN, riscv64 }, { LITTLE_ENDIAN, sh3el }, { LITTLE_ENDIAN, vax }, { LITTLE_ENDIAN, x86_64 }, @@ -332,6 +336,7 @@ static const struct arch_endian { { BIG_ENDIAN, m68k }, { BIG_ENDIAN, mipseb }, { BIG_ENDIAN, mips64eb }, + { BIG_ENDIAN, or1k }, { BIG_ENDIAN, powerpc }, { BIG_ENDIAN, sh3eb }, { BIG_ENDIAN, sparc },
CVS commit: src/libexec/ld.elf_so
Module Name:src Committed By: matt Date: Fri Sep 19 17:43:33 UTC 2014 Modified Files: src/libexec/ld.elf_so: Makefile rtld.h Log Message: RISC-V support. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/libexec/ld.elf_so/Makefile cvs rdiff -u -r1.123 -r1.124 src/libexec/ld.elf_so/rtld.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/libexec/ld.elf_so/Makefile diff -u src/libexec/ld.elf_so/Makefile:1.128 src/libexec/ld.elf_so/Makefile:1.129 --- src/libexec/ld.elf_so/Makefile:1.128 Wed Sep 3 19:31:32 2014 +++ src/libexec/ld.elf_so/Makefile Fri Sep 19 17:43:33 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.128 2014/09/03 19:31:32 matt Exp $ +# $NetBSD: Makefile,v 1.129 2014/09/19 17:43:33 matt Exp $ # # NOTE: when changing ld.so, ensure that ldd still compiles. # @@ -36,6 +36,7 @@ M= ${.CURDIR}/arch/${ARCHSUBDIR} (${MACHINE_CPU} == mips) || \ (${MACHINE_CPU} == or1k) || \ (${MACHINE_CPU} == powerpc) || \ + (${MACHINE_CPU} == riscv) || \ (${MACHINE_CPU} == sh3) || \ (${LDELFSO_MACHINE_ARCH} == sparc) ||\ (${LDELFSO_MACHINE_ARCH} == sparc64) ||\ Index: src/libexec/ld.elf_so/rtld.h diff -u src/libexec/ld.elf_so/rtld.h:1.123 src/libexec/ld.elf_so/rtld.h:1.124 --- src/libexec/ld.elf_so/rtld.h:1.123 Wed Aug 27 04:07:04 2014 +++ src/libexec/ld.elf_so/rtld.h Fri Sep 19 17:43:33 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: rtld.h,v 1.123 2014/08/27 04:07:04 christos Exp $ */ +/* $NetBSD: rtld.h,v 1.124 2014/09/19 17:43:33 matt Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -179,7 +179,7 @@ typedef struct Struct_Obj_Entry { const Elf_Sym *symtab; /* Symbol table */ const char *strtab; /* String table */ unsigned long strsize; /* Size in bytes of string table */ -#ifdef __mips__ +#if defined(__mips__) || defined(__riscv__) Elf_Wordlocal_gotno; /* Number of local GOT entries */ Elf_Wordsymtabno; /* Number of dynamic symbols */ Elf_Wordgotsym; /* First dynamic symbol in GOT */
CVS commit: src/sys/conf
Module Name:src Committed By: matt Date: Fri Sep 19 17:46:28 UTC 2014 Modified Files: src/sys/conf: majors Log Message: Add comment about new MI device numbers in other files. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/conf/majors Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/conf/majors diff -u src/sys/conf/majors:1.68 src/sys/conf/majors:1.69 --- src/sys/conf/majors:1.68 Tue Mar 18 18:20:41 2014 +++ src/sys/conf/majors Fri Sep 19 17:46:28 2014 @@ -1,4 +1,4 @@ -# $NetBSD: majors,v 1.68 2014/03/18 18:20:41 riastradh Exp $ +# $NetBSD: majors,v 1.69 2014/09/19 17:46:28 matt Exp $ # # Device majors for Machine-Independent drivers. # @@ -55,3 +55,7 @@ device-major seeprom char 206 seep device-major dtracechar 207 dtrace device-major spiflash char 208 block 208 spiflash device-major lua char 209lua + +# 210-219 reserved for MI ws devices +# 220-239 reserved for MI usb devices +# 240-259 reserved for MI std devices
CVS commit: src
Module Name:src Committed By: matt Date: Fri Sep 19 17:59:57 UTC 2014 Modified Files: src: build.sh Log Message: Add riscv32 and riscv64 platforms. To generate a diff of this commit: cvs rdiff -u -r1.296 -r1.297 src/build.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/build.sh diff -u src/build.sh:1.296 src/build.sh:1.297 --- src/build.sh:1.296 Wed Sep 3 19:32:18 2014 +++ src/build.sh Fri Sep 19 17:59:57 2014 @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.296 2014/09/03 19:32:18 matt Exp $ +# $NetBSD: build.sh,v 1.297 2014/09/19 17:59:57 matt Exp $ # # Copyright (c) 2001-2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -696,6 +696,8 @@ MACHINE=playstation2 MACHINE_ARCH=mipsel MACHINE=pmax MACHINE_ARCH=mips64el ALIAS=pmax64 MACHINE=pmax MACHINE_ARCH=mipsel DEFAULT MACHINE=prep MACHINE_ARCH=powerpc +MACHINE=riscv MACHINE_ARCH=riscv64 ALIAS=riscv64 DEFAULT +MACHINE=riscv MACHINE_ARCH=riscv32 ALIAS=riscv32 MACHINE=rs6000 MACHINE_ARCH=powerpc MACHINE=sandpoint MACHINE_ARCH=powerpc MACHINE=sbmips MACHINE_ARCH= NO_DEFAULT @@ -1868,7 +1870,7 @@ createmakewrapper() eval cat EOF ${makewrapout} #! ${HOST_SH} # Set proper variables to allow easy make building of a NetBSD subtree. -# Generated from: \$NetBSD: build.sh,v 1.296 2014/09/03 19:32:18 matt Exp $ +# Generated from: \$NetBSD: build.sh,v 1.297 2014/09/19 17:59:57 matt Exp $ # with these arguments: ${_args} #
CVS commit: src/share/mk
Module Name:src Committed By: matt Date: Fri Sep 19 17:45:42 UTC 2014 Modified Files: src/share/mk: bsd.endian.mk bsd.kmodule.mk bsd.own.mk Log Message: Add RISCV-V support. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/share/mk/bsd.endian.mk cvs rdiff -u -r1.44 -r1.45 src/share/mk/bsd.kmodule.mk cvs rdiff -u -r1.834 -r1.835 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.endian.mk diff -u src/share/mk/bsd.endian.mk:1.21 src/share/mk/bsd.endian.mk:1.22 --- src/share/mk/bsd.endian.mk:1.21 Wed Sep 3 19:22:53 2014 +++ src/share/mk/bsd.endian.mk Fri Sep 19 17:45:42 2014 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.endian.mk,v 1.21 2014/09/03 19:22:53 matt Exp $ +# $NetBSD: bsd.endian.mk,v 1.22 2014/09/19 17:45:42 matt Exp $ .if !defined(_BSD_ENDIAN_MK_) _BSD_ENDIAN_MK_=1 @@ -12,6 +12,8 @@ _BSD_ENDIAN_MK_=1 ${MACHINE_ARCH} == i386 || \ ${MACHINE_ARCH} == ia64 || \ ${MACHINE_ARCH} == vax || \ +${MACHINE_ARCH} == riscv32 || \ +${MACHINE_ARCH} == riscv64 || \ ${MACHINE_ARCH} == x86_64 || \ ${MACHINE_ARCH:C/^.*el$/el/} == el TARGET_ENDIANNESS= 1234 Index: src/share/mk/bsd.kmodule.mk diff -u src/share/mk/bsd.kmodule.mk:1.44 src/share/mk/bsd.kmodule.mk:1.45 --- src/share/mk/bsd.kmodule.mk:1.44 Sun Aug 10 17:44:26 2014 +++ src/share/mk/bsd.kmodule.mk Fri Sep 19 17:45:42 2014 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.kmodule.mk,v 1.44 2014/08/10 17:44:26 joerg Exp $ +# $NetBSD: bsd.kmodule.mk,v 1.45 2014/09/19 17:45:42 matt Exp $ # We are not building this with PIE MKPIE=no @@ -34,6 +34,8 @@ CFLAGS+= -mlong-calls CFLAGS+= ${${ACTIVE_CC} == gcc:? -mlongcall :} .elif ${MACHINE_CPU} == vax CFLAGS+= -fno-pic +.elif ${MACHINE_CPU} == riscv +CFLAGS+= -fPIC -Wa,-fno-pic .endif .if ${MACHINE_CPU} == sparc64 Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.834 src/share/mk/bsd.own.mk:1.835 --- src/share/mk/bsd.own.mk:1.834 Wed Sep 3 19:22:53 2014 +++ src/share/mk/bsd.own.mk Fri Sep 19 17:45:42 2014 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.834 2014/09/03 19:22:53 matt Exp $ +# $NetBSD: bsd.own.mk,v 1.835 2014/09/19 17:45:42 matt Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -14,7 +14,7 @@ MAKECONF?= /etc/mk.conf # # CPU model, derived from MACHINE_ARCH # -MACHINE_CPU= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/mips64e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:C/arm.*/arm/:C/earm.*/arm/:S/earm/arm/:S/powerpc64/powerpc/:S/aarch64eb/aarch64/:S/or1knd/or1k/} +MACHINE_CPU= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/mips64e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:C/arm.*/arm/:C/earm.*/arm/:S/earm/arm/:S/powerpc64/powerpc/:S/aarch64eb/aarch64/:S/or1knd/or1k/:C/riscv../riscv/} # # Subdirectory used below ${RELEASEDIR} when building a release @@ -537,8 +537,10 @@ MACHINES.m68k= amiga atari cesfic hp300 news68k next68k sun3 x68k MACHINES.mips= arc cobalt algor cobalt emips evbmips ews4800mips \ hpcmips mipsco newsmips pmax sbmips sgimips +MACHINES.or1k= or1k MACHINES.powerpc= amigappc bebox evbppc ibmnws macppc mvmeppc \ ofppc prep rs6000 sandpoint +MACHINES.riscv= riscv MACHINES.sh3= dreamcast evbsh3 hpcsh landisk mmeye MACHINES.sparc= sparc sparc64 MACHINES.sparc64= sparc64 @@ -712,12 +714,18 @@ MKGCC:= no # No GDB support for aarch64 MKGDB.aarch64= no MKGDB.or1k= no +MKGDB.riscv32= no +MKGDB.riscv64= no # No kernel modules for or1k (yet) MKKMOD.or1k= no +MKKMOD.riscv32= no +MKKMOD.riscv64= no # No profiling for or1k (yet) MKPROFILE.or1k= no +MKPROFILE.riscv32=no +MKPROFILE.riscv64=no # # The m68000 port is incomplete. @@ -887,7 +895,8 @@ MK${var}:= yes # .if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == sparc64 \ || ${MACHINE_ARCH} == mips64eb || ${MACHINE_ARCH} == mips64el \ -|| ${MACHINE_ARCH} == powerpc64 || ${MACHINE_CPU} == aarch64 +|| ${MACHINE_ARCH} == powerpc64 || ${MACHINE_CPU} == aarch64 \ +|| ${MACHINE_ARCH} == riscv64 MKCOMPAT?= yes .elif !empty(MACHINE_ARCH:Mearm*) MKCOMPAT?= no
CVS commit: src/sys/kern
Module Name:src Committed By: matt Date: Fri Sep 19 17:52:43 UTC 2014 Modified Files: src/sys/kern: kern_mutex.c Log Message: Allow MD code to use something other than __cpu_simple_lock_t for doing spin locks but use the same logic. MUTEX_SPINBIT_LOCK_INIT MUTEX_SPINBIT_LOCK_TRY MUTEX_SPINBIT_LOCKED_P MUTEX_SPINBIT_LOCK_UNLOCK MUTEX_INITIALIZE_SPIN_IPL For those platforms without sub-word CAS, you can use these to place the mutex lock and ipl inside a full machine word and use CAS to update them. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/kern/kern_mutex.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_mutex.c diff -u src/sys/kern/kern_mutex.c:1.59 src/sys/kern/kern_mutex.c:1.60 --- src/sys/kern/kern_mutex.c:1.59 Fri Sep 5 05:57:21 2014 +++ src/sys/kern/kern_mutex.c Fri Sep 19 17:52:43 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_mutex.c,v 1.59 2014/09/05 05:57:21 matt Exp $ */ +/* $NetBSD: kern_mutex.c,v 1.60 2014/09/19 17:52:43 matt Exp $ */ /*- * Copyright (c) 2002, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -40,7 +40,7 @@ #define __MUTEX_PRIVATE #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: kern_mutex.c,v 1.59 2014/09/05 05:57:21 matt Exp $); +__KERNEL_RCSID(0, $NetBSD: kern_mutex.c,v 1.60 2014/09/19 17:52:43 matt Exp $); #include sys/param.h #include sys/atomic.h @@ -113,6 +113,28 @@ do {\ #endif /* DIAGNOSTIC */ /* + * Some architectures can't use __cpu_simple_lock as is so allow a way + * for them to use an alternate definition. + */ +#ifndef MUTEX_SPINBIT_LOCK_INIT +#define MUTEX_SPINBIT_LOCK_INIT(mtx) __cpu_simple_lock_init((mtx)-mtx_lock) +#endif +#ifndef MUTEX_SPINBIT_LOCKED_P +#define MUTEX_SPINBIT_LOCKED_P(mtx) __SIMPLELOCK_LOCKED_P((mtx)-mtx_lock) +#endif +#ifndef MUTEX_SPINBIT_LOCK_TRY +#define MUTEX_SPINBIT_LOCK_TRY(mtx) __cpu_simple_lock_try((mtx)-mtx_lock) +#endif +#ifndef MUTEX_SPINBIT_LOCK_UNLOCK +#define MUTEX_SPINBIT_LOCK_UNLOCK(mtx) __cpu_simple_unlock((mtx)-mtx_lock) +#endif + +#ifndef MUTEX_INITIALIZE_SPIN_IPL +#define MUTEX_INITIALIZE_SPIN_IPL(mtx, ipl) \ + ((mtx)-mtx_ipl = makeiplcookie((ipl))) +#endif + +/* * Spin mutex SPL save / restore. */ @@ -120,7 +142,7 @@ do {\ do { \ struct cpu_info *x__ci; \ int x__cnt, s; \ - s = splraiseipl(mtx-mtx_ipl); \ + s = splraiseipl(MUTEX_SPIN_IPL(mtx));\ x__ci = curcpu(); \ x__cnt = x__ci-ci_mtx_count--; \ __insn_barrier(); \ @@ -162,8 +184,8 @@ do { \ (mtx)-mtx_owner = MUTEX_BIT_SPIN;\ if (!dodebug) \ (mtx)-mtx_owner |= MUTEX_BIT_NODEBUG; \ - (mtx)-mtx_ipl = makeiplcookie((ipl));\ - __cpu_simple_lock_init((mtx)-mtx_lock); \ + MUTEX_INITIALIZE_SPIN_IPL((mtx), (ipl)); \ + MUTEX_SPINBIT_LOCK_INIT((mtx)); \ } while (/* CONSTCOND */ 0) #define MUTEX_DESTROY(mtx) \ @@ -361,7 +383,7 @@ mutex_destroy(kmutex_t *mtx) MUTEX_ASSERT(mtx, !MUTEX_OWNED(mtx-mtx_owner) !MUTEX_HAS_WAITERS(mtx)); } else { - MUTEX_ASSERT(mtx, !__SIMPLELOCK_LOCKED_P(mtx-mtx_lock)); + MUTEX_ASSERT(mtx, !MUTEX_SPINBIT_LOCKED_P(mtx)); } LOCKDEBUG_FREE(MUTEX_DEBUG_P(mtx), mtx); @@ -437,7 +459,7 @@ mutex_vector_enter(kmutex_t *mtx) MUTEX_SPIN_SPLRAISE(mtx); MUTEX_WANTLOCK(mtx); #ifdef FULL - if (__cpu_simple_lock_try(mtx-mtx_lock)) { + if (MUTEX_SPINBIT_LOCK_TRY(mtx)) { MUTEX_LOCKED(mtx); return; } @@ -456,14 +478,14 @@ mutex_vector_enter(kmutex_t *mtx) do { if (panicstr != NULL) break; - while (__SIMPLELOCK_LOCKED_P(mtx-mtx_lock)) { + while (MUTEX_SPINBIT_LOCKED_P(mtx)) { SPINLOCK_BACKOFF(count); #ifdef LOCKDEBUG if (SPINLOCK_SPINOUT(spins)) MUTEX_ABORT(mtx, spinout); #endif /* LOCKDEBUG */ } - } while (!__cpu_simple_lock_try(mtx-mtx_lock)); + } while (!MUTEX_SPINBIT_LOCK_TRY(mtx)); if (count != SPINLOCK_BACKOFF_MIN) { LOCKSTAT_STOP_TIMER(lsflag, spintime); @@ -689,13 +711,13 @@ mutex_vector_exit(kmutex_t *mtx) if (MUTEX_SPIN_P(mtx)) { #ifdef FULL - if (__predict_false(!__SIMPLELOCK_LOCKED_P(mtx-mtx_lock))) { + if (__predict_false(!MUTEX_SPINBIT_LOCKED_P(mtx))) { if (panicstr != NULL) return; MUTEX_ABORT(mtx, exiting unheld spin mutex); } MUTEX_UNLOCKED(mtx); - __cpu_simple_unlock(mtx-mtx_lock); + MUTEX_SPINBIT_LOCK_UNLOCK(mtx); #endif MUTEX_SPIN_SPLRESTORE(mtx); return; @@ -788,7 +810,7 @@ mutex_owned(kmutex_t *mtx) if (MUTEX_ADAPTIVE_P(mtx)) return MUTEX_OWNER(mtx-mtx_owner) == (uintptr_t)curlwp; #ifdef FULL - return __SIMPLELOCK_LOCKED_P(mtx-mtx_lock); + return MUTEX_SPINBIT_LOCKED_P(mtx); #else return 1; #endif @@ -824,7 +846,7 @@ mutex_tryenter(kmutex_t *mtx) if (MUTEX_SPIN_P(mtx)) { MUTEX_SPIN_SPLRAISE(mtx); #ifdef FULL - if (__cpu_simple_lock_try(mtx-mtx_lock)) { + if (MUTEX_SPINBIT_LOCK_TRY(mtx)) { MUTEX_WANTLOCK(mtx);
CVS commit: src/sys/modules/hdaudio
Module Name:src Committed By: christos Date: Fri Sep 19 18:05:24 UTC 2014 Modified Files: src/sys/modules/hdaudio: Makefile Log Message: delete hdaudio_ids. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/modules/hdaudio/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/modules/hdaudio/Makefile diff -u src/sys/modules/hdaudio/Makefile:1.2 src/sys/modules/hdaudio/Makefile:1.3 --- src/sys/modules/hdaudio/Makefile:1.2 Sun Aug 28 11:48:19 2011 +++ src/sys/modules/hdaudio/Makefile Fri Sep 19 14:05:24 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/08/28 15:48:19 jmcneill Exp $ +# $NetBSD: Makefile,v 1.3 2014/09/19 18:05:24 christos Exp $ .include ../Makefile.inc @@ -7,7 +7,6 @@ KMOD= hdaudio IOCONF= hdaudio.ioconf SRCS= hdaudio.c -SRCS+= hdaudio_ids.c SRCS+= hdaudio_pci.c .include bsd.kmodule.mk
CVS commit: src/distrib/sets/lists/modules
Module Name:src Committed By: christos Date: Fri Sep 19 21:31:08 UTC 2014 Modified Files: src/distrib/sets/lists/modules: md.i386 Log Message: missed an hdaudio change. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/distrib/sets/lists/modules/md.i386 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/modules/md.i386 diff -u src/distrib/sets/lists/modules/md.i386:1.47 src/distrib/sets/lists/modules/md.i386:1.48 --- src/distrib/sets/lists/modules/md.i386:1.47 Fri Sep 19 13:33:47 2014 +++ src/distrib/sets/lists/modules/md.i386 Fri Sep 19 17:31:08 2014 @@ -1,4 +1,4 @@ -# $NetBSD: md.i386,v 1.47 2014/09/19 17:33:47 christos Exp $ +# $NetBSD: md.i386,v 1.48 2014/09/19 21:31:08 christos Exp $ # # NOTE that there are three sets of files here: # @MODULEDIR@, i386-xen, and i386pae-xen @@ -710,7 +710,7 @@ ./stand/i386pae-xen/@OSRELEASE@/modules/hdaudiobase-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hdaudio/hdaudio.kmod base-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hdaudioverbose base-kernel-modules kmod,compatmodules -./stand/i386pae-xen/@OSRELEASE@/modules/hdaudioverbose/hdaudio.kmod base-kernel-modules kmod,compatmodules +./stand/i386pae-xen/@OSRELEASE@/modules/hdaudioverbose/hdaudioverbose.kmod base-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hfsbase-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hfs/hfs.kmod base-kernel-modules kmod,compatmodules ./stand/i386pae-xen/@OSRELEASE@/modules/hpacelbase-kernel-modules kmod,compatmodules
CVS commit: src/regress/sys/arch/m68k/060sp
Module Name:src Committed By: joerg Date: Fri Sep 19 21:35:42 UTC 2014 Modified Files: src/regress/sys/arch/m68k/060sp: Makefile Log Message: Replace manual realdepend dependency with DPSRCS. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/regress/sys/arch/m68k/060sp/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/regress/sys/arch/m68k/060sp/Makefile diff -u src/regress/sys/arch/m68k/060sp/Makefile:1.14 src/regress/sys/arch/m68k/060sp/Makefile:1.15 --- src/regress/sys/arch/m68k/060sp/Makefile:1.14 Fri Mar 28 22:29:16 2008 +++ src/regress/sys/arch/m68k/060sp/Makefile Fri Sep 19 21:35:42 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2008/03/28 22:29:16 apb Exp $ +# $NetBSD: Makefile,v 1.15 2014/09/19 21:35:42 joerg Exp $ NOMAN= # defined @@ -9,6 +9,7 @@ SRCS= dotest.c dotestsubs.S AFLAGS+= -I. CPPFLAGS+= -I. SPDIR= ${NETBSDSRCDIR}/sys/arch/m68k/060sp +DPSRCS+= itest.S ftest.S CLEANFILES+= itest.S ftest.S .SUFFIXES: .S .sa @@ -19,7 +20,7 @@ CLEANFILES+= itest.S ftest.S .PATH: ${SPDIR}/dist -realdepend dotestsubs.o: itest.S ftest.S +dotestsubs.o: itest.S ftest.S regress: ${PROG} @/sbin/sysctl hw.model | grep -v -q 68060 || \
CVS commit: src/sys/ufs/ext2fs
Module Name:src Committed By: matt Date: Fri Sep 19 23:52:34 UTC 2014 Modified Files: src/sys/ufs/ext2fs: ext2fs_vfsops.c Log Message: curlwp can never be NULL now. To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/sys/ufs/ext2fs/ext2fs_vfsops.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/ufs/ext2fs/ext2fs_vfsops.c diff -u src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.184 src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.185 --- src/sys/ufs/ext2fs/ext2fs_vfsops.c:1.184 Fri Aug 22 16:49:30 2014 +++ src/sys/ufs/ext2fs/ext2fs_vfsops.c Fri Sep 19 23:52:34 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ext2fs_vfsops.c,v 1.184 2014/08/22 16:49:30 hannken Exp $ */ +/* $NetBSD: ext2fs_vfsops.c,v 1.185 2014/09/19 23:52:34 matt Exp $ */ /* * Copyright (c) 1989, 1991, 1993, 1994 @@ -60,7 +60,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ext2fs_vfsops.c,v 1.184 2014/08/22 16:49:30 hannken Exp $); +__KERNEL_RCSID(0, $NetBSD: ext2fs_vfsops.c,v 1.185 2014/09/19 23:52:34 matt Exp $); #if defined(_KERNEL_OPT) #include opt_compat_netbsd.h @@ -639,7 +639,7 @@ ext2fs_mountfs(struct vnode *devvp, stru kauth_cred_t cred; dev = devvp-v_rdev; - cred = l ? l-l_cred : NOCRED; + cred = l-l_cred; /* Flush out any old buffers remaining from a previous use. */ vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY);
CVS commit: src/external/gpl3/binutils/dist/opcodes
Module Name:src Committed By: matt Date: Sat Sep 20 04:53:19 UTC 2014 Modified Files: src/external/gpl3/binutils/dist/opcodes: riscv-dis.c Log Message: When disassembling an auipc/jalr pair, print the address eventually being called: auipc t0,0x2b3 jalrt0,-616 # 802b2e98 memset To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/binutils/dist/opcodes/riscv-dis.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/binutils/dist/opcodes/riscv-dis.c diff -u src/external/gpl3/binutils/dist/opcodes/riscv-dis.c:1.1 src/external/gpl3/binutils/dist/opcodes/riscv-dis.c:1.2 --- src/external/gpl3/binutils/dist/opcodes/riscv-dis.c:1.1 Fri Sep 19 17:19:53 2014 +++ src/external/gpl3/binutils/dist/opcodes/riscv-dis.c Sat Sep 20 04:53:19 2014 @@ -398,7 +398,7 @@ print_insn_args (const char *d, insn_t l case 'o': maybe_print_address (pd, rs1, EXTRACT_ITYPE_IMM (l)); case 'j': - if ((l MASK_ADDI) == MATCH_ADDI) + if ((l MASK_ADDI) == MATCH_ADDI || (l MASK_JALR) == MATCH_JALR) maybe_print_address (pd, rs1, EXTRACT_ITYPE_IMM (l)); (*info-fprintf_func) (info-stream, %d, (int)EXTRACT_ITYPE_IMM (l)); break;