From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23745 invoked from network); 5 Aug 2021 07:59:28 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 5 Aug 2021 07:59:28 -0000 Received: from duke.felloff.net ([216.126.196.34]) by 1ess; Thu Aug 5 03:52:41 -0400 2021 Message-ID: Date: Thu, 05 Aug 2021 09:52:30 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: object-oriented open proxy-oriented software polling base-based database Subject: Re: [9front] driver for intel wireless 7260? Reply-To: 9front@9front.org Precedence: bulk static void +tttxbackoff(Ctlr *ctlr, u32int backoff) +{ + cmd(ctlr, 126, (uchar*)&backoff, sizeof(backoff)); +} avoid this stuff. this code depends on the endianess of the arch... everyone else is preparing bytes, even if we just need to provide a single long. -- cinap