Re: CVS commit: src

2009-03-28 Thread Martin Husemann
On Sun, Mar 29, 2009 at 12:03:13AM +0900, Izumi Tsutsui wrote: BTW, sysctl -w ddb.onpanic=? causes error if options DDB is not configured: sysctl: second level name 'onpanic' in 'ddb.onpanic' is invalid Yeah, I saw that too - not sure how to fix it best yet - at lest we should enhance the

Re: CVS commit: src/distrib/utils/sysinst

2009-04-04 Thread Martin Husemann
On Sat, Apr 04, 2009 at 09:43:46PM +0900, Izumi Tsutsui wrote: In any case, __HAVE_UFS2_BOOT in types.h seems ambiguous for me. Isn't it better to have some other macro in sysinst/arch/${MACHINE}/md.h ? I agree, it does not belong in types.h. Martin

Re: CVS commit: src/distrib/utils/sysinst

2009-04-05 Thread Martin Husemann
On Sun, Apr 05, 2009 at 08:52:39AM +0900, Izumi Tsutsui wrote: Then, is it matter for modern GB HDD? ;-p No, that's why the suggestion was to check the disk size and default to UFS2 only on those shiny new big disks. Martin

Re: CVS commit: src/share/man/man4

2009-05-11 Thread Martin Husemann
On Mon, May 11, 2009 at 03:22:29PM +1000, matthew green wrote: what about systems that don't have AGP? Or even PCI... Martin

Re: CVS commit: src/sys/sys

2009-08-09 Thread Martin Husemann
On Sun, Aug 09, 2009 at 09:29:50PM +0200, Tonnerre LOMBARD wrote: Unfortunately, these are widely used headers. We don't want to break -Wold-style-casts in general. Why not? It is IMHO a very useless and stupid warning. Martin (wering his C++ programmer hat)

Re: CVS commit: src/sys/sys

2009-08-09 Thread Martin Husemann
On Sun, Aug 09, 2009 at 09:20:02PM +, Christos Zoulas wrote: The new style casts are very useful because they show programming intent. Yes, new style casts are fine. But warning about old style casts in a language that is designed to be C compatible is plain stupid. Besides, there should

Re: CVS commit: src/sys/arch/x86/acpi

2009-09-02 Thread Martin Husemann
On Wed, Sep 02, 2009 at 02:42:58PM -0500, David Young wrote: You could leave it out of the sysctl tree. Setting it to 0 or 1 still makes sense w/o VGA_POST. Martin

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2009-11-18 Thread Martin Husemann
[wrong list, redirecting to source-changes-d, sorry...] On Wed, Nov 18, 2009 at 10:34:54AM +0100, Martin Husemann wrote: On Tue, Nov 17, 2009 at 07:56:27AM +, Matt Thomas wrote: (slightly bogus but then we really should kill extent and switch to vmem) I keep hearing this mantra. Yet

CVS commit: src/sys/arch

2010-01-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Jan 7 00:18:47 UTC 2010 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/arch/i386/conf: ALL GENERIC Log Message: Add the u3ginit driver to all configs which have the u3g driver To generate a diff of this

CVS commit: src/sys/dev/usb

2010-01-08 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jan 8 16:40:30 UTC 2010 Modified Files: src/sys/dev/usb: ohci.c Log Message: Fix memory barrier in a debug function To generate a diff of this commit: cvs rdiff -u -r1.203 -r1.204 src/sys/dev/usb/ohci.c Please note that

CVS commit: src/sys/dev/pci

2010-01-09 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jan 9 13:34:34 UTC 2010 Modified Files: src/sys/dev/pci: if_cas.c Log Message: adapt to recent pmf changes To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/if_cas.c Please note that diffs are

CVS commit: src/sys/arch

2010-01-10 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jan 10 13:52:06 UTC 2010 Modified Files: src/sys/arch/sparc/include: types.h src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Better support for FC-AL controllers/boot disks: - on FC-AL disks, use wwn instead of

CVS commit: src/sys/arch/sparc64

2010-01-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jan 12 14:45:50 UTC 2010 Modified Files: src/sys/arch/sparc64/conf: SCHIZO files.sparc64 Added Files: src/sys/arch/sparc64/dev: upa.c Log Message: Import support for upa64s device (/upa on SB1000/2000) from OpenBSD.

CVS commit: src/distrib/utils/sysinst

2010-01-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 13 07:48:58 UTC 2010 Modified Files: src/distrib/utils/sysinst: net.c Log Message: Use the proper structs for ioctls to fetch network configuration. Might fix PR 42436. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/distrib/utils/sysinst

2010-01-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 13 07:52:38 UTC 2010 Modified Files: src/distrib/utils/sysinst: Makefile.inc Log Message: Avoid adding -Os to CFLAGS if DBG is set and contains -g. This helps gdb a lot when compiling local debug versions of sysinst. To

CVS commit: src/sys/dev/usb

2010-01-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 18 20:54:22 UTC 2010 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add two CTI usb-rs485 adapters To generate a diff of this commit: cvs rdiff -u -r1.540 -r1.541 src/sys/dev/usb/usbdevs Please note that diffs

CVS commit: src/sys/dev/usb

2010-01-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 18 20:55:37 UTC 2010 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.535 -r1.536 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.536 -r1.537

CVS commit: src/sys/dev/usb

2010-01-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 18 20:57:13 UTC 2010 Modified Files: src/sys/dev/usb: uftdi.c Log Message: Add two CTI rs485 dongles To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/usb/uftdi.c Please note that diffs are not

CVS commit: src/sys/dev/pci

2010-01-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 20 22:58:37 UTC 2010 Modified Files: src/sys/dev/pci: if_hme_pci.c Log Message: Remove sparc specific code and HME_USE_LOCAL_MAC_ADDRESS hack, instead use the mac-address device property if present. To generate a diff

CVS commit: src/sys

2010-01-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jan 22 08:56:06 UTC 2010 Modified Files: src/sys/arch/algor/algor: autoconf.c src/sys/arch/arm/at91: at91emac.c src/sys/arch/arm/ep93xx: epe.c src/sys/arch/evbarm/armadillo: armadillo9_machdep.c

CVS commit: src/sys/arch/sparc/sparc

2010-01-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jan 22 16:11:26 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: autoconf.c Log Message: Recognize ie @ vme as a network device. To generate a diff of this commit: cvs rdiff -u -r1.238 -r1.239

CVS commit: src/sys/dev/vme

2010-01-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jan 22 16:12:41 UTC 2010 Modified Files: src/sys/dev/vme: if_ie_vme.c Log Message: Remove sparc specific code, use device properties instead. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/dev/pci

2010-01-24 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jan 24 23:09:27 UTC 2010 Modified Files: src/sys/dev/pci: if_bge.c Log Message: Add support for device properties to override the mac address and set the BGE_NO_EEPROM flag if we have an onboard device w/o SEEPROM. To

CVS commit: src/sys/dev/pci

2010-01-24 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jan 24 23:27:40 UTC 2010 Modified Files: src/sys/dev/pci: if_bge.c Log Message: Do not try to read the EEPROM if we already know we don't have one. To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175

CVS commit: src/sys/dev/pci

2010-01-25 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 25 10:25:30 UTC 2010 Modified Files: src/sys/dev/pci: if_bge.c Log Message: Back out part of my device property change: the mac-address part was already done better in another place which I overlooked when merging local

Re: CVS commit: src/usr.sbin/powerd

2010-01-26 Thread Martin Husemann
On Wed, Jan 27, 2010 at 12:54:15AM +0200, Jukka Ruohonen wrote: However, the power_type from POWER_IOC_GET_TYPE can currently only be acpi and landisk (...). No apm is being set anywhere in the tree via sysmon_power_settype(). I've been told APM is dead and won't be fixed (it does not work at

CVS commit: src/sys/arch/sparc/stand/ofwboot

2010-01-27 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 27 22:18:37 UTC 2010 Modified Files: src/sys/arch/sparc/stand/ofwboot: boot.c ofdev.c version Log Message: Properly close the firmware handle before starting the kernel. This makes netbooting via bge* work. To generate

Re: CVS commit: src/usr.sbin/powerd

2010-01-28 Thread Martin Husemann
On Thu, Jan 28, 2010 at 04:43:25AM +, David Holland wrote: If some people do care, changing the perception might prompt someone to do something about it. Maybe. It's probably a good chunk of work and there's not much bang for the buck. I tried, but it's not obvious [PR 37434, if anyone

CVS commit: src/sys/kern

2010-01-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jan 31 09:27:41 UTC 2010 Modified Files: src/sys/kern: kern_hook.c Log Message: This is using device_t, so it needs to include sys/device.h. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

Re: CVS commit: src/sys/arch/amiga

2010-02-05 Thread Martin Husemann
On Fri, Feb 05, 2010 at 09:34:10PM +0900, Izumi Tsutsui wrote: Added two new macros to device.h: amiga_membarrier() enforces a reorder protection on memory read/writes. We have __insn_barrier() in sys/cdefs.h for that. Martin

CVS commit: src/sys/lib/libsa

2010-02-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Feb 11 21:28:16 UTC 2010 Modified Files: src/sys/lib/libsa: lookup_elf32.c Log Message: Add a prototype. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/lib/libsa/lookup_elf32.c Please note that diffs

CVS commit: src/sys/dev/usb

2010-02-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Feb 13 02:09:41 UTC 2010 Modified Files: src/sys/dev/usb: umass.c umass_quirks.c umassvar.h Log Message: Remove UMASS_QUIRK_IGNORE_RESIDUE, instead max out the expected response size at the actual transfer length. Fixes PR

CVS commit: src/sys/dev/usb

2010-02-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Feb 13 02:16:51 UTC 2010 Modified Files: src/sys/dev/usb: umass.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/sys/dev/usb/umass.c Please note that diffs are not public domain; they

CVS commit: src/distrib/utils/sysinst

2010-02-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Feb 17 16:09:52 UTC 2010 Modified Files: src/distrib/utils/sysinst: disks.c Log Message: eeh says we should not enable fsck_lfs on lfs partitions To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111

CVS commit: src/distrib/utils/sysinst/arch/sparc64

2010-02-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Feb 17 16:11:01 UTC 2010 Modified Files: src/distrib/utils/sysinst/arch/sparc64: md.h Log Message: We can now boot from FFSv2, so offer it + even use it as a default. To generate a diff of this commit: cvs rdiff -u -r1.14

Re: CVS commit: src/distrib/utils/sysinst

2010-02-17 Thread Martin Husemann
On Thu, Feb 18, 2010 at 01:15:44AM +0900, Izumi Tsutsui wrote: I'd also like to make lfs optional in sysinst per ports, but I wonder how we can put #ifdef into menuc(1) sources.. I thought it is (runtime-) optional by checking for mount_lfs and friends, see check_lfs_progs(). Martin

CVS commit: src/distrib/utils/sysinst

2010-02-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Feb 18 12:21:52 UTC 2010 Modified Files: src/distrib/utils/sysinst: bsddisklabel.c Log Message: Since we call /usr and /var with absolute paths, lets do that for /tmp as well. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/sparc64

2010-02-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Feb 20 16:46:38 UTC 2010 Modified Files: src/sys/arch/sparc64/include: sparc64.h src/sys/arch/sparc64/sparc64: ipifuncs.c ofw_machdep.c Log Message: Select the shutdown method for secondary CPUs by available firmware

CVS commit: src/tests/lib/libc

2010-02-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 26 09:35:08 UTC 2010 Modified Files: src/tests/lib/libc: Makefile src/tests/lib/libc/string: Makefile Log Message: Disable population count test for now, please re-enable once PR toolchain/42885 is fixed To

CVS commit: src/tests/lib/libc

2010-02-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 26 09:35:08 UTC 2010 Modified Files: src/tests/lib/libc: Makefile src/tests/lib/libc/string: Makefile Log Message: Disable population count test for now, please re-enable once PR toolchain/42885 is fixed To

CVS commit: src/distrib/sets/lists/tests

2010-02-27 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Feb 27 12:16:50 UTC 2010 Modified Files: src/distrib/sets/lists/tests: mi Log Message: obsolete the popcount tests for now To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/distrib/sets/lists/tests/mi

CVS commit: src/distrib/sets/lists/tests

2010-02-27 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Feb 27 12:16:50 UTC 2010 Modified Files: src/distrib/sets/lists/tests: mi Log Message: obsolete the popcount tests for now To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/distrib/sets/lists/tests/mi

CVS commit: src/tests/lib/libc

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:06:59 UTC 2010 Modified Files: src/tests/lib/libc: Atffile Log Message: remove string directory for now, it isn't installed To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/Atffile

CVS commit: src/sys/dev/i2c

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:34:42 UTC 2010 Modified Files: src/sys/dev/i2c: i2c.c i2cvar.h Log Message: Generic (device property based) framework for optional direct configuration of i2c devices, as discussed on tech-kern. To generate a diff

CVS commit: src/sys/dev/ofw

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:35:40 UTC 2010 Modified Files: src/sys/dev/ofw: ofw_subr.c openfirm.h Log Message: Supporting cast for i2c direct configuration on OF machines To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/dev/ofw

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:35:40 UTC 2010 Modified Files: src/sys/dev/ofw: ofw_subr.c openfirm.h Log Message: Supporting cast for i2c direct configuration on OF machines To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/dev/i2c

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:36:27 UTC 2010 Modified Files: src/sys/dev/i2c: adm1021.c lm75.c spdmem.c Log Message: Add direct config support for a few devices To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/i2c

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:36:27 UTC 2010 Modified Files: src/sys/dev/i2c: adm1021.c lm75.c spdmem.c Log Message: Add direct config support for a few devices To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/arch/sparc64/sparc64

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:43:40 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Add support for direct configuration of i2c devices To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169

CVS commit: src/sys/dev/ic

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:47:28 UTC 2010 Modified Files: src/sys/dev/ic: pcf8584.c pcf8584var.h Log Message: Update pcf8584 driver from OpenBSD To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/pcf8584.c cvs rdiff

CVS commit: src/sys/dev/ic

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:47:28 UTC 2010 Modified Files: src/sys/dev/ic: pcf8584.c pcf8584var.h Log Message: Update pcf8584 driver from OpenBSD To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/pcf8584.c cvs rdiff

CVS commit: src/sys/arch/sparc64

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:49:44 UTC 2010 Modified Files: src/sys/arch/sparc64/conf: GENERIC SCHIZO files.sparc64 Added Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c pcfiic_ebus.c tda.c Removed Files:

CVS commit: src/sys/arch/sparc64

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:49:44 UTC 2010 Modified Files: src/sys/arch/sparc64/conf: GENERIC SCHIZO files.sparc64 Added Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c pcfiic_ebus.c tda.c Removed Files:

CVS commit: src/sys

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 13:59:05 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c src/sys/dev/ofw: ofw_subr.c openfirm.h Log Message: Interpret the reg property of i2c nodes more liberal, and depending on the cell

CVS commit: src/sys/arch/sparc64/dev

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 15:30:22 UTC 2010 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: dmesg cosmetics To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc64/dev/pcf8591_envctrl.c

CVS commit: src/sys/arch/sparc64/dev

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 15:30:22 UTC 2010 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: dmesg cosmetics To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc64/dev/pcf8591_envctrl.c

CVS commit: src/distrib/utils/sysinst/arch/sparc64

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 22:42:44 UTC 2010 Modified Files: src/distrib/utils/sysinst/arch/sparc64: md.h Log Message: Enable dynamic sizing of the default swap partition To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/distrib/utils/sysinst/arch/sparc64

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 22:42:44 UTC 2010 Modified Files: src/distrib/utils/sysinst/arch/sparc64: md.h Log Message: Enable dynamic sizing of the default swap partition To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/arch/sparc64/dev

2010-03-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Mar 1 22:53:09 UTC 2010 Modified Files: src/sys/arch/sparc64/dev: tda.c Log Message: Fix printf formats (for 32bit compiles) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc64/dev/tda.c

CVS commit: src/sys/arch/sparc64/dev

2010-03-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Mar 1 22:53:09 UTC 2010 Modified Files: src/sys/arch/sparc64/dev: tda.c Log Message: Fix printf formats (for 32bit compiles) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc64/dev/tda.c

CVS commit: src/sys/dev/mii

2010-03-02 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Mar 2 08:30:40 UTC 2010 Modified Files: src/sys/dev/mii: mii_physubr.c Log Message: Before destroying a autonegotiation callout, make sure it is quiet To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

CVS commit: src/sys/dev/mii

2010-03-02 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Mar 2 08:30:40 UTC 2010 Modified Files: src/sys/dev/mii: mii_physubr.c Log Message: Before destroying a autonegotiation callout, make sure it is quiet To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

CVS commit: src/sys/compat/sunos32

2010-03-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Mar 3 10:56:47 UTC 2010 Modified Files: src/sys/compat/sunos32: sunos32_misc.c Log Message: Add prototype and forward declarations to make the empty nfs stub compile. To generate a diff of this commit: cvs rdiff -u -r1.69

CVS commit: src/sys/compat/sunos32

2010-03-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Mar 3 10:56:47 UTC 2010 Modified Files: src/sys/compat/sunos32: sunos32_misc.c Log Message: Add prototype and forward declarations to make the empty nfs stub compile. To generate a diff of this commit: cvs rdiff -u -r1.69

Re: CVS commit: src/sys

2010-03-16 Thread Martin Husemann
Maybe 42983 is related? Martin

Re: CVS commit: src/sys/dev/ic

2010-03-31 Thread Martin Husemann
On Wed, Mar 31, 2010 at 02:03:11PM -0400, Michael wrote: On Mar 31, 2010, at 10:45 AM, David Young wrote: I wonder, does the device need the read, or is the bus_space_barrier() insufficient to flush the write to the device? I thave no idea. It works without the read on some machines - might

Re: CVS commit: src/lib/libc/string

2010-04-17 Thread Martin Husemann
On Sat, Apr 17, 2010 at 01:57:39PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sat Apr 17 17:57:39 UTC 2010 Modified Files: src/lib/libc/string: swab.3 swab.c Log Message: Change and document for POSIX compliance. The restrict part was

Re: CVS commit: src/lib/libc/string

2010-04-18 Thread Martin Husemann
On Sat, Apr 17, 2010 at 09:14:21PM -0400, Christos Zoulas wrote: Yes, it does not make sense, but that is what POSIX specifies. Yeah, but wouldn't ignoring this part (keeping it size_t) still work for all valid calls, i.e. differing from the obviously stupid standard be a harmless thing? Martin

Re: CVS commit: src/distrib

2010-04-23 Thread Martin Husemann
On Thu, Apr 22, 2010 at 09:37:51PM +, Tom Spindler wrote: Log Message: Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the target is made un-writeable, the build won't bomb out during an UPDATE build. OK'ed by mar...@. on i386, when I try building, I now get:

Re: CVS commit: src (postinstall changes for mtree)

2010-04-26 Thread Martin Husemann
On Mon, Apr 26, 2010 at 03:25:37PM +1000, Geoff Wing wrote: This presumes that every system where you wish to run postinstall has access and availability to their system's tooldir nbcat. If USE_TOOLS != yes it should just use cat (or explicitly /bin/cat). Martin

Re: CVS commit: src (postinstall changes for mtree)

2010-04-26 Thread Martin Husemann
On Mon, Apr 26, 2010 at 10:14:58AM +0200, Martin Husemann wrote: If USE_TOOLS != yes it should just use cat (or explicitly /bin/cat). Or slightly different, just check if the command exists... Martin Index: Makefile === RCS file

Re: CVS commit: src/games/factor

2010-05-16 Thread Martin Husemann
On Sun, May 16, 2010 at 09:54:49AM +0100, David Laight wrote: The notion of 'primes' is valid in Z - the definition of a prime is a number that has no non-unit factors. Well, I only took the forced (for CS students) math courses at university, and it's been quite some time, but I would have

Re: CVS commit: src/games/factor

2010-05-16 Thread Martin Husemann
On Sun, May 16, 2010 at 01:11:08PM +, Quentin Garnier wrote: [..] The likely source for input for factor(6) is a cut-and-paste, or the end of a pipeline crunching some numbers. Sounds like quite a stretch from common sense to a pipeline of number crunching scripts with factor at the end,

Re: CVS commit: src/games/factor

2010-05-16 Thread Martin Husemann
On Sun, May 16, 2010 at 04:26:32PM +0200, Martin Husemann wrote: [..] We should make our factor(6) compaible to the coreutils one, just in case POSIX picks it up in the next revision ;-} Just in case it's not clear from upthread (tech-userlevel): that compatibility means: - negative input

Re: CVS commit: src/games/factor

2010-05-16 Thread Martin Husemann
On Sun, May 16, 2010 at 07:30:54PM +, David Holland wrote: of which at least the 0 case is clearly incorrect... That obviously depends on the meaning you give the output, which is not well defined in the man page and obviously a lot people around here disagree about. I would say the list of

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread Martin Husemann
On Mon, Jun 14, 2010 at 11:34:24AM +0300, Antti Kantee wrote: So, you being the person who attempted to write cpp with sed, what comparison does amd64 == sun3 actually result in? What about i386 == sun3 (the former returned true, the latter didn't). For me both end up as 0==0 and return true

Re: CVS commit: src/sys/rump/librump/rumpkern

2010-06-14 Thread Martin Husemann
On Mon, Jun 14, 2010 at 12:27:43PM +0300, Antti Kantee wrote: How can you tell what they end up as? I can only see that the line wrapped in the #if is missing from output of cc -E (still on/targetting i386). Well, knowing the standard (as David cited) and checking with cc -dM -E -

Re: CVS commit: src/sys/kern

2010-09-02 Thread Martin Husemann
For the record: this is PR 43817, and it seems to affect quite a lot of archs. Martin

Re: CVS commit: src/sys/sys

2010-11-13 Thread Martin Husemann
On Sat, Nov 13, 2010 at 08:41:41AM +, Masao Uebayashi wrote: Module Name: src Committed By: uebayasi Date: Sat Nov 13 08:41:41 UTC 2010 Modified Files: src/sys/sys: param.h Log Message: Include uvm/uvm_param.h from here to provide PAGE_SIZE and other VM related

Re: CVS commit: src/usr.bin/make

2010-11-26 Thread Martin Husemann
On Thu, Nov 25, 2010 at 04:31:10PM -0500, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Thu Nov 25 21:31:09 UTC 2010 Modified Files: src/usr.bin/make: arch.c compat.c make.c make.h targ.c Log Message: Instead of keeping around the mtime of the

Re: CVS commit: src/usr.sbin/iostat

2011-01-08 Thread Martin Husemann
On Sat, Jan 08, 2011 at 05:12:00PM +, Matthias Scheler wrote: Why not? It doesn't sound hard to do that based on the manual page. Because it special cases +0.0 -0.0 and also claims to deal with NaNs. We problaby should do a naive implementation and conditionalize the man page claims on

Re: Changes made with too little discussion

2011-01-19 Thread Martin Husemann
On Wed, Jan 19, 2011 at 11:13:15AM +0100, haad wrote: Truly I haven't seen any discussion which had more than 10mails where clear consensus was made. Thats not going to happen. It is possible and it has happened. IMHO it clearly depends on the quality of the original proposal/question. In this

Re: Changes made with too little discussion

2011-01-19 Thread Martin Husemann
On Wed, Jan 19, 2011 at 12:20:40PM +0200, Jukka Ruohonen wrote: Being naive as I am, I believe a software project can adopt healthier and more productive software engineering practices. If you want to change established procedures, change them first. Do not explicitly violate them and hope for

Re: CVS commit: src/sbin/wsconsctl

2011-02-07 Thread Martin Husemann
On Mon, Feb 07, 2011 at 08:28:40AM +0900, Izumi Tsutsui wrote: I changed them to sync with OpenBSD, to avoid divergence in (possible) xf86-video-foo drivers. (I didn't think they were ever referred from userland..) I'm not sure the whole idea of a single MI enumeration of frame buffer types

Re: CVS commit: src

2011-04-12 Thread Martin Husemann
On Tue, Apr 12, 2011 at 07:39:54AM +0100, David Laight wrote: Wouldn't it be less confusing to have opened /etc/protocols before doing the chroot ?? Hmm, now that you mention it - a setprotoent(1); before the chroot should do, shouldn't it? I don't know which solution is preferable,

Re: CVS commit: src

2011-04-12 Thread Martin Husemann
On Tue, Apr 12, 2011 at 12:51:39PM +0200, Martin Husemann wrote: but this looks indeed simpler (haven't tested it though). I did a very quick test: does not work - I won't have time to dig any further today or tomorrow, if somebody gets it working this way, and this is prefered somehow, please

Re: CVS commit: src/sys/netinet

2011-04-14 Thread Martin Husemann
On Thu, Apr 14, 2011 at 07:03:49AM +, YAMAMOTO Takashi wrote: please just weaken the assertion and clear the flag, rather than complicating the code. I'm not quite sure I see exactly what you would like the code to look like. What we have now: /* * We may not use checksums

Re: CVS commit: src/sys/netinet

2011-04-26 Thread Martin Husemann
On Mon, Apr 25, 2011 at 10:45:08PM +, YAMAMOTO Takashi wrote: somthing like the following. YAMAMOTO Takashi Index: ip_output.c === RCS file: /cvsroot/src/sys/netinet/ip_output.c,v retrieving revision 1.208 diff -u -p

Re: CVS commit: src/sys/fs/tmpfs

2011-05-14 Thread Martin Husemann
On Sat, May 14, 2011 at 10:34:05AM +0200, Marc Balmer wrote: What is the current state of C99 vs. older Cs? Do all arches / compilers we have support C99? We have lost the playstation2 port, because we don't have a working C99 compiler for it (so a -current kernel can not be compiled). Martin

Re: CVS commit: src/sys

2011-05-17 Thread Martin Husemann
On Mon, May 16, 2011 at 08:29:03PM +0200, Martin S. Weber wrote: or just hack it brutally ( cvs rdiff -u -r1.308 -r1.309 src/sys/arch/sparc/sparc/machdep.c ) Well, anything happening during this early startup phase is hackish, and this one is not evil. Martin

Re: CVS commit: src/usr.sbin/makefs

2011-05-24 Thread Martin Husemann
Is this enough to replace mkisofs when building macppc releases? Or are there more hfs/hybrid things missing? I tend to like the sunlabel(8) approach better (a manipulation that neither fits fdisk nor makefs) - but I don't understand the macppc side to know if this is realy similar. Martin

Re: CVS commit: src/usr.sbin/makefs

2011-05-24 Thread Martin Husemann
On Tue, May 24, 2011 at 09:52:18PM +0900, Izumi Tsutsui wrote: It looks mandatory to make makefs(8) handle partition maps for CD images. I'm not sure I understand exactly what you mean and why makefs is the right tool here. Postprocessing the image is fine (I'm sure you know how sgimips works

Re: CVS commit: src/usr.sbin/makefs

2011-05-24 Thread Martin Husemann
On Tue, May 24, 2011 at 11:01:42PM +0900, Izumi Tsutsui wrote: On sgimips case, sgimipscd.iso has SGI specific format and it can't be mounted by non-SGI machines, IIRC. (while we can mount hybrid mac68kcd.iso and macppccd.iso on i386) Indeed, and in this case I think support by an additional

Re: CVS commit: src/sys/kern

2011-06-03 Thread Martin Husemann
On Thu, Jun 02, 2011 at 09:21:11PM +0100, David Laight wrote: Passing 'l' is a register rename (or copy) so is almost zero cost. Recovering curlwp may involve a function call, and is, at best, a real memory access of global data (possibly via an asm statement) that will be slow and multiple

Re: CVS commit: src/sys/kern

2011-06-05 Thread Martin Husemann
On Sun, Jun 05, 2011 at 10:15:45AM +0200, Joerg Sonnenberger wrote: Only for newer ARM generations. The old one have no native TLS register. Should we have a userland build option to make use of that? Martin

Re: CVS commit: src/distrib/sparc64/cdroms/installcd

2011-06-22 Thread Martin Husemann
On Wed, Jun 22, 2011 at 11:48:32PM +0900, Izumi Tsutsui wrote: I wonder if it's easier to extract whole base.tgz sets into install CD... (cobalt restorecd simply uses base+etc+kern sets) Yes, probably - and in the future maybe even xbase and friends. Or negate the list, i.e. extract everything

Re: CVS commit: src/crypto/external/bsd/netpgp/dist

2011-07-21 Thread Martin Husemann
On Thu, Jul 21, 2011 at 10:45:55AM -0700, Jeff Rizzo wrote: I believe this is a general gdb complaint, not specific to atf. I've run into this issue as well - there are some workarounds (threaded debugging works somewhat on core dumps), but it's a giant pain given than one of the key

Re: CVS commit: src/tests/lib/libc/ssp

2011-07-24 Thread Martin Husemann
On Sun, Jul 24, 2011 at 11:47:30AM +, Christos Zoulas wrote: Declare sum volatile instead? Yes, that should work too (I don't realy care either way). Martin

Re: CVS commit: src/sys/dev

2011-08-02 Thread Martin Husemann
On Tue, Aug 02, 2011 at 06:53:31AM +0200, Bernd Ernesti wrote: What about a pccard which can be used with a cardbus slot and so you you get 5V cards too? Don't they always attach at pcmcia? Martin

Re: CVS commit: src/tests/lib/librumpclient

2011-08-16 Thread Martin Husemann
On Tue, Aug 16, 2011 at 03:50:07AM +, Christos Zoulas wrote: It's 0, and the non-rump version works, which points to rump as the culprit. It's 1 in the sparc64 test runs (and ~always has been) - haven't investigated yet. Martin

  1   2   3   4   5   6   7   8   9   10   >