CVS commit: src/sys/sys
Module Name:src Committed By: christos Date: Tue Jan 20 01:10:16 UTC 2015 Modified Files: src/sys/sys: socket.h Log Message: add void casts to CMSG_ To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/sys/socket.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/socket.h diff -u src/sys/sys/socket.h:1.112 src/sys/sys/socket.h:1.113 --- src/sys/sys/socket.h:1.112 Mon Jan 19 20:02:25 2015 +++ src/sys/sys/socket.h Mon Jan 19 20:10:16 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: socket.h,v 1.112 2015/01/20 01:02:25 christos Exp $ */ +/* $NetBSD: socket.h,v 1.113 2015/01/20 01:10:16 christos Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -528,10 +528,11 @@ struct cmsghdr { /* given pointer to struct cmsghdr, return pointer to data */ #define CMSG_DATA(cmsg) \ - ((u_char *)(void *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr))) +((void *)((u_char *)(void *)(cmsg) + \ +__CMSG_ALIGN(sizeof(struct cmsghdr #define CCMSG_DATA(cmsg) \ - ((const u_char *)(const void *)(cmsg) + \ - __CMSG_ALIGN(sizeof(struct cmsghdr))) +((const void *)((const u_char *)(const void *)(cmsg) + \ +__CMSG_ALIGN(sizeof(struct cmsghdr /* * Alignment requirement for CMSG struct manipulation. @@ -549,11 +550,11 @@ struct cmsghdr { /* given pointer to struct cmsghdr, return pointer to next cmsghdr */ #define CMSG_NXTHDR(mhdr, cmsg) \ - (((char *)(cmsg) + __CMSG_ALIGN((cmsg)-cmsg_len) + \ + (((char *)(void *)(cmsg) + __CMSG_ALIGN((cmsg)-cmsg_len) + \ __CMSG_ALIGN(sizeof(struct cmsghdr)) \ - (((char *)(mhdr)-msg_control) + (mhdr)-msg_controllen)) ? \ + (((char *)(void *)(mhdr)-msg_control) + (mhdr)-msg_controllen)) ?\ (struct cmsghdr *)0 : \ - (struct cmsghdr *)(void *)((char *)(cmsg) + \ + (struct cmsghdr *)(void *)((char *)(void *)(cmsg) + \ __CMSG_ALIGN((cmsg)-cmsg_len))) /* @@ -562,7 +563,7 @@ struct cmsghdr { */ #define CMSG_FIRSTHDR(mhdr) \ ((mhdr)-msg_controllen = sizeof(struct cmsghdr) ? \ - (struct cmsghdr *)(mhdr)-msg_control : \ + (struct cmsghdr *)(void *)(mhdr)-msg_control : \ (struct cmsghdr *)0) #define CMSG_SPACE(l) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(l))
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: matt Date: Tue Jan 20 07:12:41 UTC 2015 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: rs6000.c Log Message: Don't enable string instructions on NetBSD if -Os is used. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.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/gcc/dist/gcc/config/rs6000/rs6000.c diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.9 src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.10 --- src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.9 Sat Jan 10 01:06:42 2015 +++ src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c Tue Jan 20 07:12:41 2015 @@ -3249,10 +3249,14 @@ rs6000_option_override_internal (bool gl /* If we are optimizing big endian systems for space and it's OK to use instructions that would be microcoded on the Cell, use the - load/store multiple and string instructions. */ + load/store multiple and string instructions. Don't use string + instructions on NetBSD because the e500 doesn't support them. */ if (BYTES_BIG_ENDIAN optimize_size rs6000_gen_cell_microcode) rs6000_isa_flags |= ~rs6000_isa_flags_explicit (OPTION_MASK_MULTIPLE - | OPTION_MASK_STRING); +#if !defined (POWERPC_NETBSD) + | OPTION_MASK_STRING +#endif + | 0); /* Don't allow -mmultiple or -mstring on little endian systems unless the cpu is a 750, because the hardware doesn't support the
CVS commit: src/sys/dev/pci/hdaudio
Module Name:src Committed By: njoly Date: Mon Jan 19 14:32:08 UTC 2015 Modified Files: src/sys/dev/pci/hdaudio: hdaudiodevs.h hdaudiodevs_data.h Log Message: Regen for Realtek ALC280. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 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. Modified files: Index: src/sys/dev/pci/hdaudio/hdaudiodevs.h diff -u src/sys/dev/pci/hdaudio/hdaudiodevs.h:1.2 src/sys/dev/pci/hdaudio/hdaudiodevs.h:1.3 --- src/sys/dev/pci/hdaudio/hdaudiodevs.h:1.2 Sun Sep 21 14:31:03 2014 +++ src/sys/dev/pci/hdaudio/hdaudiodevs.h Mon Jan 19 14:32:08 2015 @@ -1,10 +1,10 @@ -/* $NetBSD: hdaudiodevs.h,v 1.2 2014/09/21 14:31:03 christos Exp $ */ +/* $NetBSD: hdaudiodevs.h,v 1.3 2015/01/19 14:32:08 njoly Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: hdaudiodevs,v 1.1 2014/09/19 17:23:35 christos Exp + * NetBSD: hdaudiodevs,v 1.2 2015/01/19 14:31:32 njoly Exp */ /* @@ -77,6 +77,7 @@ #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_ALC280 0x0280 /* ALC280 */ #define HDAUDIO_PRODUCT_REALTEK_ALC660_VD 0x0660 /* ALC660-VD */ #define HDAUDIO_PRODUCT_REALTEK_ALC662 0x0662 /* ALC662 */ #define HDAUDIO_PRODUCT_REALTEK_ALC663 0x0663 /* ALC663 */ Index: src/sys/dev/pci/hdaudio/hdaudiodevs_data.h diff -u src/sys/dev/pci/hdaudio/hdaudiodevs_data.h:1.2 src/sys/dev/pci/hdaudio/hdaudiodevs_data.h:1.3 --- src/sys/dev/pci/hdaudio/hdaudiodevs_data.h:1.2 Sun Sep 21 14:31:03 2014 +++ src/sys/dev/pci/hdaudio/hdaudiodevs_data.h Mon Jan 19 14:32:08 2015 @@ -1,10 +1,10 @@ -/* $NetBSD: hdaudiodevs_data.h,v 1.2 2014/09/21 14:31:03 christos Exp $ */ +/* $NetBSD: hdaudiodevs_data.h,v 1.3 2015/01/19 14:32:08 njoly Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: hdaudiodevs,v 1.1 2014/09/19 17:23:35 christos Exp + * NetBSD: hdaudiodevs,v 1.2 2015/01/19 14:31:32 njoly Exp */ /* @@ -98,320 +98,322 @@ static const uint16_t hdaudio_products[] 274, 0, HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC275, 281, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC660_VD, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC280, 288, 0, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC660_VD, + 295, 0, HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC662, - 298, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC663, 305, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC670, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC663, 312, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC861, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC670, 319, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC861_VD, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC861, 326, 0, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC861_VD, + 333, 0, HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC880, - 336, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC882, 343, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC883, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC882, 350, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC885, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC883, 357, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC887, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC885, 364, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC888, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC887, 371, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC889, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC888, 378, 0, - HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC892, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC889, 385, 0, - HDAUDIO_VENDOR_VIATECH, HDAUDIO_PRODUCT_VIATECH_VT1708, + HDAUDIO_VENDOR_REALTEK, HDAUDIO_PRODUCT_REALTEK_ALC892, 392, 0, + HDAUDIO_VENDOR_VIATECH, HDAUDIO_PRODUCT_VIATECH_VT1708, + 399, 0, HDAUDIO_VENDOR_VIATECH, HDAUDIO_PRODUCT_VIATECH_VT1709, - 392, 0, + 399, 0, HDAUDIO_VENDOR_VIATECH, HDAUDIO_PRODUCT_VIATECH_VT170A, - 392, 0, + 399, 0, HDAUDIO_VENDOR_VIATECH, HDAUDIO_PRODUCT_VIATECH_VT170B, - 392, 0, + 399, 0, HDAUDIO_VENDOR_VIATECH, HDAUDIO_PRODUCT_VIATECH_VT1709_10CH_0, - 399, 406, 0, + 406, 413, 0, HDAUDIO_VENDOR_VIATECH, HDAUDIO_PRODUCT_VIATECH_VT1709_10CH_1, - 399, 406, 0, + 406,
CVS commit: src/sys/dev/pci/hdaudio
Module Name:src Committed By: njoly Date: Mon Jan 19 14:31:32 UTC 2015 Modified Files: src/sys/dev/pci/hdaudio: hdaudiodevs Log Message: Add Realtek ALC280. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/hdaudio/hdaudiodevs 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/hdaudiodevs diff -u src/sys/dev/pci/hdaudio/hdaudiodevs:1.1 src/sys/dev/pci/hdaudio/hdaudiodevs:1.2 --- src/sys/dev/pci/hdaudio/hdaudiodevs:1.1 Fri Sep 19 17:23:35 2014 +++ src/sys/dev/pci/hdaudio/hdaudiodevs Mon Jan 19 14:31:32 2015 @@ -1,4 +1,4 @@ -$NetBSD: hdaudiodevs,v 1.1 2014/09/19 17:23:35 christos Exp $ +$NetBSD: hdaudiodevs,v 1.2 2015/01/19 14:31:32 njoly Exp $ /* * Copyright (c) 2010 Jared D. McNeill jmcne...@invisible.ca @@ -70,6 +70,7 @@ product REALTEK ALC269 0x0269 ALC269 product REALTEK ALC270 0x0270 ALC270 product REALTEK ALC272 0x0272 ALC272 product REALTEK ALC275 0x0275 ALC275 +product REALTEK ALC280 0x0280 ALC280 product REALTEK ALC660_VD 0x0660 ALC660-VD product REALTEK ALC662 0x0662 ALC662 product REALTEK ALC663 0x0663 ALC663
CVS commit: src/share/man/man4
Module Name:src Committed By: wiz Date: Mon Jan 19 11:53:59 UTC 2015 Modified Files: src/share/man/man4: alc.4 Log Message: New sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/alc.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/alc.4 diff -u src/share/man/man4/alc.4:1.4 src/share/man/man4/alc.4:1.5 --- src/share/man/man4/alc.4:1.4 Sun Jan 18 15:30:03 2015 +++ src/share/man/man4/alc.4 Mon Jan 19 11:53:59 2015 @@ -1,4 +1,4 @@ -.\ $NetBSD: alc.4,v 1.4 2015/01/18 15:30:03 christos Exp $ +.\ $NetBSD: alc.4,v 1.5 2015/01/19 11:53:59 wiz Exp $ .\ .\ Copyright (c) 2009 Kevin Lo ke...@openbsd.org .\ @@ -60,7 +60,8 @@ The device driver was written by .An Pyun YongHyeon and first appeared in -.Fx 8.0 . It was ported to +.Fx 8.0 . +It was ported to .Ox 4.7 by .An Kevin Lo
CVS commit: src/distrib/notes/common
Module Name:src Committed By: sevan Date: Mon Jan 19 20:25:29 UTC 2015 Modified Files: src/distrib/notes/common: main Log Message: Added myself To generate a diff of this commit: cvs rdiff -u -r1.515 -r1.516 src/distrib/notes/common/main Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/notes/common/main diff -u src/distrib/notes/common/main:1.515 src/distrib/notes/common/main:1.516 --- src/distrib/notes/common/main:1.515 Sun Jan 11 04:03:47 2015 +++ src/distrib/notes/common/main Mon Jan 19 20:25:29 2015 @@ -1,4 +1,4 @@ -.\ $NetBSD: main,v 1.515 2015/01/11 04:03:47 snj Exp $ +.\ $NetBSD: main,v 1.516 2015/01/19 20:25:29 sevan Exp $ .\ .\ Copyright (c) 1999-2012 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -1243,6 +1243,7 @@ If you're one of them, and would like to .It Ta Tetsuya Isaki Ta Mt is...@netbsd.org .It Ta ITOH Yasufumi Ta Mt it...@netbsd.org .It Ta IWAMOTO Toshihiro Ta Mt tos...@netbsd.org +.It Ta Sevan Janiyan Ta Mt se...@netbsd.org .It Ta Matthew Jacob Ta Mt mja...@netbsd.org .It Ta Soren Jacobsen Ta Mt s...@netbsd.org .It Ta Lonhyn T. Jasinskyj Ta Mt lon...@netbsd.org
CVS commit: src/sys/arch/amiga/dev
Module Name:src Committed By: phx Date: Mon Jan 19 20:10:27 UTC 2015 Modified Files: src/sys/arch/amiga/dev: sbic.c Log Message: Make it compile with -DDEBUG again. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/arch/amiga/dev/sbic.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/arch/amiga/dev/sbic.c diff -u src/sys/arch/amiga/dev/sbic.c:1.73 src/sys/arch/amiga/dev/sbic.c:1.74 --- src/sys/arch/amiga/dev/sbic.c:1.73 Thu Aug 7 08:59:42 2014 +++ src/sys/arch/amiga/dev/sbic.c Mon Jan 19 20:10:27 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: sbic.c,v 1.73 2014/08/07 08:59:42 joerg Exp $ */ +/* $NetBSD: sbic.c,v 1.74 2015/01/19 20:10:27 phx Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -81,7 +81,7 @@ #endif #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: sbic.c,v 1.73 2014/08/07 08:59:42 joerg Exp $); +__KERNEL_RCSID(0, $NetBSD: sbic.c,v 1.74 2015/01/19 20:10:27 phx Exp $); #include sys/param.h #include sys/systm.h @@ -1231,11 +1231,17 @@ int sbicxfin(sbic_regmap_t regs, int len, void *bp) { int wait; - u_char *buf; u_char orig_csr, csr, asr; + u_char *buf; +#ifdef DEBUG + u_char *obp; +#endif wait = sbic_data_wait; buf = bp; +#ifdef DEBUG + obp = bp; +#endif GET_SBIC_csr (regs, orig_csr); __USE(orig_csr);