From nobody Thu Apr 21 23:17:55 2022 X-Original-To: freebsd-drivers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E460519887FC for ; Thu, 21 Apr 2022 23:18:07 +0000 (UTC) (envelope-from yusisamerican@gmail.com) Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KktkR2bHrz4gwx for ; Thu, 21 Apr 2022 23:18:07 +0000 (UTC) (envelope-from yusisamerican@gmail.com) Received: by mail-ua1-x931.google.com with SMTP id g22so2364224uam.12 for ; Thu, 21 Apr 2022 16:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=wfhevG+HzuREvlOQfRvaqEctSvlBNGD3xTIFLEpFvwM=; b=FFzAZANNEL5C5BACRfKrGTSjv1aOLYYytlmHaxuyV6vrnSXh0xN7/HsrDU2D/mZZVb 2+HlCTrWWzIJXKExyvEQVPy55Jk0aSplAV8x/PKwpeEzVMuW5W/ZS+Nn8fJM+7f3+ANh AjXCJGi6R5iorobxOTS32PR75+wzObCMRB0Oj3RRm6cabsaWMXwmHtqHEpUOZbaWP2oq 3jYbp8oytHv3Mk6sB1jI7gPt1wxGyvEcJWM3pi4bBaeyNTjw1gbmXG8jylbolo6NQoIH izKA1B1w1VLt2SwEgYrastzOb8sgg1IUSUs3knmQYCUB3jf+uCYYUkSsU+yKYBx84MtW STmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wfhevG+HzuREvlOQfRvaqEctSvlBNGD3xTIFLEpFvwM=; b=q/JbD569CLJ6O8KtVNNQ/DPnbM6AhvrQVXjoc4xKiVzPwrdBBR0kaPzb1JL4cpTrtI O97Cuiv7h4gVfRygRec1EK7Ju7CpNm3/n3PsdEZXESVA0czGbQHWQcl9sIckwY7F5vUm phKlwGaDI/WL4H3RI8NpcgLU8FdRfPCWGVb0T/g4CO5r/U/jE/7veVkGNG91KEIud6lc Oj6MDAdnFpREb26kPNka+DNiS2iCuwuq2ILJ6DYM/Z55nSXVi5bKl6hZzju8dD5iBy+s 7SAOqB/cDg/7Feyt9xYGRf02yLZTCyyXsEdMGfOVcEZ8Z5RZqiXXi5g2A703qsathqZn wM2A== X-Gm-Message-State: AOAM532K6lU/TVam9SMQen4ZAjK1YKtNKw+baSJpwM4I6VENZ5PMuQS9 XMY6e+Z31saEJpGyl+O0aV2z3oDMXbWusTH/6UPH8CUzp/o= X-Google-Smtp-Source: ABdhPJw0HGZKFJVhv5JUAPbG+G+qn61ufi1Dkw87EM6kenwkkrfi7fTwMdZGDT8jjhuYLlMtUl271mEMOm+VR3lhsfY= X-Received: by 2002:ab0:144b:0:b0:33c:76e0:9006 with SMTP id c11-20020ab0144b000000b0033c76e09006mr717067uae.52.1650583086605; Thu, 21 Apr 2022 16:18:06 -0700 (PDT) List-Id: Writing device drivers for FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-drivers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-drivers@freebsd.org MIME-Version: 1.0 From: Yusuf Khan Date: Thu, 21 Apr 2022 18:17:55 -0500 Message-ID: Subject: How do I write a driver and how do I find out what kernel API calls do? To: freebsd-drivers@freebsd.org Content-Type: multipart/alternative; boundary="0000000000008ca95f05dd3252e9" X-Rspamd-Queue-Id: 4KktkR2bHrz4gwx X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=FFzAZANN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yusisamerican@gmail.com designates 2607:f8b0:4864:20::931 as permitted sender) smtp.mailfrom=yusisamerican@gmail.com X-Spamd-Result: default: False [-2.67 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.86)[-0.863]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.81)[-0.809]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-drivers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::931:from]; MLMMJ_DEST(0.00)[freebsd-drivers]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --0000000000008ca95f05dd3252e9 Content-Type: text/plain; charset="UTF-8" Literally just copy paste the title here. Also where do I get documentation? --0000000000008ca95f05dd3252e9 Content-Type: text/html; charset="UTF-8"
Literally just copy paste the title here.

Also where do I get documentation?
--0000000000008ca95f05dd3252e9--