Re: ATA driver update for 7.2RELEASE available

2009-07-01 Thread Søren Schmidt
On 27Jun, 2009, at 14:29 , Bruce Cran wrote: On Fri, 26 Jun 2009 22:11:08 +0200 Søren Schmidt wrote: This is a total replacement of the ATA driver, modulerized as in - current, but based on my WIP not from what might have happend to - current since I gave up maintainership. It's great to se

Problem compiling kernel with ath device

2009-07-01 Thread Frédéric Praca
Hello guys, I got the following compilation error in if_ath.c when compiling the RELENG_7 today : ../../../dev/ath/if_ath.c: In function 'ath_rx_tap': ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' ../../../dev/ath/if_ath.c:3416: error: 'const st

Re: c question: *printf'ing arrays

2009-07-01 Thread Carlos A. M. dos Santos
On Tue, Jun 30, 2009 at 7:54 PM, Alfred Perlstein wrote: > Hey Alex, > > People frown on macros, but this could be a good one: > > #define SPRINT(f, fmt) \ >        do {\ >                for (_i = 0; _i < sizeof(f)/sizeof(f[0]); i++) \ >                        printf(fmt, f[i]); \ >        }while(

Re: c question: *printf'ing arrays

2009-07-01 Thread Carlos A. M. dos Santos
On Tue, Jun 30, 2009 at 7:06 PM, Alexander Best wrote: > thanks for all the help. i decided to take the pill and coded all the fprintfs > by hand. here's the result. usually i'd stick to a higher level languag, but i > need C's inline assembly support: > >    struct Header >    { >        u_int8_t