Re: wol for xl(4)

2011-06-21 Thread richardtoohey
Quoting Thomas Gerlach : > Stefan Sperling stsp.name> writes: > > > It would be interesting to know if just the first hunk, which > > re-enables RX, is enough. > > > > I don't have working xl wol hardware, so what I did was compare > > our driver to the FreeBSD driver taking blind guesses as to

Re: bus_dmamem_map fix (test+ok)

2011-06-21 Thread Kenneth R Westerback
On Tue, Jun 21, 2011 at 09:00:49PM +0200, Ariane van der Steldt wrote: > Hi, > > Bus_dmamem_map has a bug in its error path, where it frees the wrong > memory in the wrong way. Take this code in sparc64 for example: > > va = uvm_km_valloc(kernel_map, size); > ... > > TAIL

Re: more useless casts in dev

2011-06-21 Thread Kenneth R Westerback
On Tue, Jun 21, 2011 at 02:27:45PM -0400, Ted Unangst wrote: > more casts, not needed. sure. ok krw@. Ken > > Index: pci/if_bge.c > === > RCS file: /home/tedu/cvs/src/sys/dev/pci/if_bge.c,v > retrieving revision 1.306 > diff -

Re: two minor carp and pfsync fixes

2011-06-21 Thread Tobias Weingartner
On Tue, Jun 21, 2011 at 11:52 AM, Stefan Rinkes wrote: > > while playing around with carp and pfsync I spotted > two minor bugs. > > 1. Not all pfstate flags are synced, cause pfsync uses >u_int8_t, while pf uses u_int16_t for state_flags. >Currently that means PFSTATE_SCRUB_TCP flags don'

bus_dmamem_map fix (test+ok)

2011-06-21 Thread Ariane van der Steldt
Hi, Bus_dmamem_map has a bug in its error path, where it frees the wrong memory in the wrong way. Take this code in sparc64 for example: va = uvm_km_valloc(kernel_map, size); ... TAILQ_FOREACH(m, mlist, pageq) { #ifdef DIAGNOSTIC if (size == 0)

more useless casts in dev

2011-06-21 Thread Ted Unangst
more casts, not needed. Index: pci/if_bge.c === RCS file: /home/tedu/cvs/src/sys/dev/pci/if_bge.c,v retrieving revision 1.306 diff -u -r1.306 if_bge.c --- pci/if_bge.c5 Apr 2011 18:01:21 - 1.306 +++ pci/if_bge.c

two minor carp and pfsync fixes

2011-06-21 Thread Stefan Rinkes
Hi, while playing around with carp and pfsync I spotted two minor bugs. 1. Not all pfstate flags are synced, cause pfsync uses u_int8_t, while pf uses u_int16_t for state_flags. Currently that means PFSTATE_SCRUB_TCP flags don't get synced. retrieving revision 1.333 diff -u -p -r1.3

Re: Convert SO_RTABLE protocol level to SOL_SOCKET

2011-06-21 Thread Mike Belopuhov
On Mon, Jun 20, 2011 at 20:22 +0200, Claudio Jeker wrote: > On Mon, Jun 20, 2011 at 06:30:11PM +0200, Mike Belopuhov wrote: > > Now that we support SO_RTABLE on the socket level, it makes > > sense to cleanup the tree. OK? > > > > The if (getsockopt() && errno != ENOPROTOOPT) constructs are in m

Re: validate pmemrange allocation (ok?)

2011-06-21 Thread Ariane van der Steldt
On Wed, May 18, 2011 at 06:48:02PM +0200, Ariane van der Steldt wrote: > Pmemrange being a difficult algorithm and reports of dma controllers > being unhappy with what it serves up, plus some prodding from theo, > caused me to write this little validation step. > > Very low overhead, but guarantee

0fertas Digitales - Importador Directo

2011-06-21 Thread DigitalesNet
USD 2180 Filmadora Panasonic HDC-MDH1 Sensor CMOS / Full HD/SD 16:9 4:3 / Salida HDMI / USB / AV / Entrada Para micrófono /

Re: tcp keepalive diff #1

2011-06-21 Thread Brynet
Here is sthen's first diff again that fixes keepalives, without that stray variable and with the space vs. tabs nits cleared up. It works well here, anyone willing to ok this for sthen? -Bryan. Index: netinet/tcp_input.c === RCS fi

kdump: even more fancy

2011-06-21 Thread Otto Moerbeek
Hi, with kdump, file offsets are printed as two ints on 32-bit systems. This diff should fix that and print a single long long. Tested on vax and hppa. Strange things is that hppa prints a trailing int for lseek(2). Have to dig into that. This has nothing to do with fancy mode, since it is also

Re: softraid crypto: preallocate crypops and dma buffers.

2011-06-21 Thread Manuel Giraud
"Todd T. Fries" writes: > Penned by roberth on 20110620 21:05.14, we have: > | On Mon, 20 Jun 2011 20:12:28 -0500 > | Marco Peereboom wrote: > | > | > I am liking this diff quite a bit but it needs more testers. So if > | > you are using softraid crypto please try this diff. > | > | Still wor

Re: dev/ic bzero casts

2011-06-21 Thread Mark Kettenis
> Date: Mon, 20 Jun 2011 19:30:52 -0400 (EDT) > From: Ted Unangst > > there's no need to cast to char *. Some of those now will fit on a single line. > Index: dc.c > === > RCS file: /home/tedu/cvs/src/sys/dev/ic/dc.c,v > retrieving