From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io0-f194.google.com ([209.85.223.194]) by ur; Fri Jul 1 16:42:43 EDT 2016 Received: by mail-io0-f194.google.com with SMTP id t74so12652627ioi.0 for <9front@9front.org>; Fri, 01 Jul 2016 13:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Pf+0BMRn2x1TBgDt6NXKU2Gb3MWhyiyxPZvS2bmyiHQ=; b=nxDyFAiptzMvjKy8miEOuS+seQf1EFsMJ22ktNCszRgHdJmNH75cSd6GZGdaYysPGe iqN3whmPJfKwMEY9SdRSmWnFD6uyUsJX6YFJXOAddUHjpeQFODoSXfwx/48zWlADspXh Z3a1eib929RpA7XVUWdCCUEK7u1fDNY5mCQw5ermrI3FuPcx1Z2hsK9CkGP2YIYB5+0u lTNfQX/dPqqgKGyjQoxLrVq6std6WjGn2/QSmfVVcGvKCSfZ99EdnsywZY5dN/Twq1I4 vQz7Ymg0ChaeyxFUTuaLUDXh4lc0Etb8ny6xIy9J4ut5yZ6Bo8nS8YT+BeHXx+IzI8mJ bsmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Pf+0BMRn2x1TBgDt6NXKU2Gb3MWhyiyxPZvS2bmyiHQ=; b=bUPZSvJAWnE8q1CtQw6TpTPOHzvxp7cGRmDU3+w4GbHVyZaTdExV+klcyus0t/ZBuc t9wDs9hp18tu/tSqXnvA2J3V7f2+4UN5OrSSIQ4QJo+UGfvezY3lSGopSdQuobuqTU8Z JtNgS0vKP1tDKCmeIQDUMpOBIQ7Dzvnz2WRTCf7e9a3eLEeF1o87mxZGEZ6db+JHods5 7d5P43CZGJARXB8fwynfVNmgQrI+1WZpfTYSGjtVGGuMWc5YPmN/7lr/XBykBEOiNKrP DtTu/0n1GL0qGA24tmLqHIeT6cVvFv5WLTLNCk8cEuCRCDzir4suWRrS3QrlDb+m69Tn Sg+Q== X-Gm-Message-State: ALyK8tKeZ15dilxlpM6b53u3cweru6rE4AoyOPkcqL5ZWxaN8COmiPko8Mu7TUzXlm7l5MqOECx3UuCbRq7uWg== X-Received: by 10.107.147.86 with SMTP id v83mr149976iod.3.1467405761080; Fri, 01 Jul 2016 13:42:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.55.65 with HTTP; Fri, 1 Jul 2016 13:42:11 -0700 (PDT) In-Reply-To: <1b7f4590bc4b19ce8253e6373f2ff7d9@felloff.net> References: <1b7f4590bc4b19ce8253e6373f2ff7d9@felloff.net> From: Dave MacFarlane Date: Fri, 1 Jul 2016 16:42:11 -0400 Message-ID: Subject: Re: [9front] Hardware woes To: 9front@9front.org Content-Type: text/plain; charset=UTF-8 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: extensible agile cloud high-performance backend On Fri, Jul 1, 2016 at 6:27 AM, wrote: > the etherrt2860.c is driver for a pci card. usb drivers run in userspace. > so would need to port the wifi stack to userspace and make a usb driver. > So what's this code doing in in etherrt2860.c: UsbDmaCfg = 0x02a0 /* RT2870 only */ [..snip more Usb prefixed variables..] Or this: enum { FwBase = 0x2000, Rt2870FwBase = 0x3000, }; or this: enum { /* USB commands, RT2870 only */ Rt2870Reset = 1, Rt2870Write2 = 2, Rt2870WriteRegion1 = 6, Rt2870ReadRegion1 = 7, Rt2870EepromRead = 9, }; ? - Dave