Re: add closefrom() call

2007-07-09 Thread LI Xin
Robert Watson wrote: > The Solaris implementation appears to implement two strategies: > > (1) If procfs is mounted, list the fd directory to get a list of open fds, > then close those by number. > > (2) If procfs is not mounted, query the number of open fds using the > resource > limit i

Re: rewrite src/sys/i386/i386/in_cksum.c

2007-07-09 Thread Alexander Leidinger
Quoting zhouyi zhou <[EMAIL PROTECTED]> (from Mon, 9 Jul 2007 10:55:47 +0800): Hey, Since FreeBSD update gcc from 3.4.x to 4.2.0, the FreeBSD gdb remote debugger in i386 platform will find the TCP/UPD checksum will not be computed right, when calling macro in_cksum which calls in_cksum

Re: rewrite src/sys/i386/i386/in_cksum.c

2007-07-09 Thread Zhouyi Zhou
The patch supplied by Gordon http://generic.0xfce3.net/20060524-ipchecksum.patch no longer exists, but I take a look at DragonFlyBSD, I feel that modification follows my idea is modestly to FreeBSD implementation. Zhouyi - Original Message - From: "Alexander Leidinger" <[EMAIL PROTECTED]

Audio driver template

2007-07-09 Thread Christopher Davis
http://people.freebsd.org/~cg/template.c Thought I would take a look at the audio driver template as part of my task to modernize drivers, soc2007. I would simplify the read and write functions to avoid using the bus tag and handle, but I'm not sure what else to do to bring it up to date. How el

Re: Audio driver template

2007-07-09 Thread Hans Petter Selasky
On Monday 09 July 2007 20:47, Christopher Davis wrote: > http://people.freebsd.org/~cg/template.c > > Thought I would take a look at the audio driver template as > part of my task to modernize drivers, soc2007. I would simplify > the read and write functions to avoid using the bus tag and > handle,

Re: New USB stack and Zero copy.

2007-07-09 Thread John Baldwin
On Saturday 07 July 2007 12:14:24 pm Hans Petter Selasky wrote: > On Friday 06 July 2007 22:41, John Baldwin wrote: > > On Friday 06 July 2007 02:59:39 am Hans Petter Selasky wrote: > > > On Friday 06 July 2007 01:35, John Baldwin wrote: > > > > On Thursday 05 July 2007 04:25:17 pm John Baldwin wro

Re: Debugging times

2007-07-09 Thread David Malone
On Mon, Jul 09, 2007 at 11:25:46PM +0200, Ivan Voras wrote: > The date is set wrong either on boot or very early after the kernel has > booted (I've verified it's wrong before hostid rc.d script, which is one > of the first to be executed). I have some patches to make the code that reads the date

Re: Audio driver template

2007-07-09 Thread John-Mark Gurney
Christopher Davis wrote this message on Mon, Jul 09, 2007 at 11:47 -0700: > http://people.freebsd.org/~cg/template.c > > Thought I would take a look at the audio driver template as > part of my task to modernize drivers, soc2007. I would simplify > the read and write functions to avoid using the b

Re: add closefrom() call

2007-07-09 Thread Ighighi
>Date: Mon, 09 Jul 2007 15:00:21 +0800 >From: LI Xin <[EMAIL PROTECTED] > >Subject: Re: add closefrom() call >To: Robert Watson <[EMAIL PROTECTED] > >Cc: FreeBSD Hackers >, [EMAIL PROTECTED]