svn commit: r338422 - in head/sys: dev/sound/midi dev/sound/pci modules/sound/driver/csa

2018-09-01 Thread Tai-hwa Liang
-Identifier: BSD-2-Clause-FreeBSD + + * Copyright (c) 2015-2018 Tai-hwa Liang + * 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

svn commit: r338200 - head/sys/dev/sound/pci

2018-08-22 Thread Tai-hwa Liang
Author: avatar Date: Wed Aug 22 14:06:31 2018 New Revision: 338200 URL: https://svnweb.freebsd.org/changeset/base/338200 Log: Adding device ID for Terratec SiXPack 5.1+. MFC after:3 days Modified: head/sys/dev/sound/pci/csa.c Modified: head/sys/dev/sound/pci/csa.c

svn commit: r338038 - head/sys/dev/sound/pci

2018-08-18 Thread Tai-hwa Liang
Author: avatar Date: Sun Aug 19 01:14:46 2018 New Revision: 338038 URL: https://svnweb.freebsd.org/changeset/base/338038 Log: Extending the delay cycles to give the codec more time to pump ADC data across the AC-link. Without this patch, some CS4614 cards will need users to reload the

svn commit: r316658 - head/sys/compat/linux

2017-04-09 Thread Tai-hwa Liang
Author: avatar Date: Sun Apr 9 15:27:04 2017 New Revision: 316658 URL: https://svnweb.freebsd.org/changeset/base/316658 Log: Adding SIOCGIFNAME support in Linuxulator. This should silence the console warning associated with linux-opera: linux: pid 23492 (opera): ioctl fd=5,

svn commit: r316644 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-04-08 Thread Tai-hwa Liang
Author: avatar Date: Sat Apr 8 14:41:39 2017 New Revision: 316644 URL: https://svnweb.freebsd.org/changeset/base/316644 Log: Trying to be more compatible with Linux if.h definitions: - renaming l_ifreq::ifru_metric to l_ifreq::ifru_ivalue; - adding a definition for ifr_ifindex

svn commit: r289888 - head/sys/dev/sound/midi

2015-10-24 Thread Tai-hwa Liang
Author: avatar Date: Sat Oct 24 19:40:03 2015 New Revision: 289888 URL: https://svnweb.freebsd.org/changeset/base/289888 Log: - Plugging a memory leak when malloc() failed during initialisation; - Plugging another memory leak inside the destructor. Reviewed by: matk MFC after:3

svn commit: r287698 - head/sys/gnu/fs/reiserfs

2015-09-11 Thread Tai-hwa Liang
Author: avatar Date: Fri Sep 11 22:43:35 2015 New Revision: 287698 URL: https://svnweb.freebsd.org/changeset/base/287698 Log: Fixing a memory leak on module unloading. MFC after:3 weeks Modified: head/sys/gnu/fs/reiserfs/reiserfs_vfsops.c Modified:

svn commit: r286886 - head/sys/dev/sound/midi

2015-08-18 Thread Tai-hwa Liang
Author: avatar Date: Tue Aug 18 12:50:46 2015 New Revision: 286886 URL: https://svnweb.freebsd.org/changeset/base/286886 Log: Fixing typo as well as improving readability of a few comments. MFC after:3 days Modified: head/sys/dev/sound/midi/midi.c Modified:

svn commit: r286887 - head/sys/dev/sound/midi

2015-08-18 Thread Tai-hwa Liang
Author: avatar Date: Tue Aug 18 13:16:06 2015 New Revision: 286887 URL: https://svnweb.freebsd.org/changeset/base/286887 Log: Using the error return code documented in the comment. Though there is no direct midi_uninit() caller amongst existing drivers at this moment, a quick experiment

svn commit: r286888 - head/sys/gnu/fs/reiserfs

2015-08-18 Thread Tai-hwa Liang
Author: avatar Date: Tue Aug 18 13:16:23 2015 New Revision: 286888 URL: https://svnweb.freebsd.org/changeset/base/286888 Log: Using consistent coding style to deal with error inside the loop. MFC after:1 week Modified: head/sys/gnu/fs/reiserfs/reiserfs_vfsops.c Modified:

svn commit: r259938 - head/sys/sys

2013-12-26 Thread Tai-hwa Liang
Author: avatar Date: Fri Dec 27 07:02:07 2013 New Revision: 259938 URL: http://svnweb.freebsd.org/changeset/base/259938 Log: Fixing build bustage. Modified: head/sys/sys/gpt.h Modified: head/sys/sys/gpt.h == ---

svn commit: r238980 - head/sys/gnu/fs/reiserfs

2012-08-01 Thread Tai-hwa Liang
Author: avatar Date: Wed Aug 1 23:05:57 2012 New Revision: 238980 URL: http://svn.freebsd.org/changeset/base/238980 Log: Just like the other file systems found in /sys/fs, g_vfs_open() should be paried with g_vfs_close(). Though g_vfs_close() is a wrapper around g_wither_geom_close(),

svn commit: r238562 - head

2012-07-17 Thread Tai-hwa Liang
Author: avatar Date: Wed Jul 18 05:50:40 2012 New Revision: 238562 URL: http://svn.freebsd.org/changeset/base/238562 Log: Removing bsd{ar,ranlib} found on my ancient installation. MFC after:3 weeks Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r223905 - head/lib/libstand

2011-07-10 Thread Tai-hwa Liang
Author: avatar Date: Sun Jul 10 07:25:34 2011 New Revision: 223905 URL: http://svn.freebsd.org/changeset/base/223905 Log: - Removing some unneeded definitions of NULL(cruft related to 1970's C). In C90, NULL is guaranteed to be declared in stddef.h and also in string.h. Though the

svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Tai-hwa Liang
Author: avatar Date: Thu Jun 16 07:14:55 2011 New Revision: 223139 URL: http://svn.freebsd.org/changeset/base/223139 Log: Unbreaking build on sparc64. Submitted by: Garrett Cooper yaneg...@gmail.com Modified: head/lib/libstand/zalloc.c Modified: head/lib/libstand/zalloc.c

Re: svn commit: r223138 - head/sys/ufs/ffs

2011-06-16 Thread Tai-hwa Liang
On Thu, 16 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Stefan Farfeleder wrote: Log: Fixing compilation bustage by introducing another forward declaration. Modified: head/sys/ufs/ffs/ffs_extern.h Modified: head/sys/ufs/ffs/ffs_extern.h

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Tai-hwa Liang
On Thu, 16 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 12:19 AM, Garrett Cooper yaneg...@gmail.com wrote: On Thu, Jun 16, 2011 at 12:14 AM, Tai-hwa Liang ava...@freebsd.org wrote: Author: avatar Date: Thu Jun 16 07:14:55 2011 New Revision

svn commit: r223151 - head/lib/libstand

2011-06-16 Thread Tai-hwa Liang
Author: avatar Date: Thu Jun 16 15:35:12 2011 New Revision: 223151 URL: http://svn.freebsd.org/changeset/base/223151 Log: Using the correct format string(%zu) for size_t type. This should fix 64 bits builds. Submitted by: Garrett Cooper yaneg...@gmail.com Modified:

Re: svn commit: r223138 - head/sys/ufs/ffs

2011-06-16 Thread Tai-hwa Liang
On Fri, 17 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Tai-hwa Liang wrote: On Thu, 16 Jun 2011, Bruce Evans wrote: It might be a style bug (like typedefing a struct) to use enums for anything. They are impossible to declare opaquely. Does that mean we have to #include sys/vnode.h