From owner-soc-status@freebsd.org Tue Jul 3 01:48:09 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E221FED4B2 for ; Tue, 3 Jul 2018 01:48:09 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6CC3849AE for ; Tue, 3 Jul 2018 01:48:08 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: by mail-oi0-f65.google.com with SMTP id s198-v6so626439oih.11 for ; Mon, 02 Jul 2018 18:48:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nKgODbtgpGneInNZBsq3VBWJRZ+Zpq9T2zppxvSP744=; b=d6si2o5AefjADJVTvOFEQjcSM/MZ5WSbgY00H0iTv5RZIFeQ1NKPHiQQCZolo34WzN WqCz2xDETA/sGC39jhieoI5LzUkQd5334Ciff3oKydKXVG4H+nLHpMqHG8Prcl9pLHLs X/u+PEncr3MfHGF2IbZf9QdW4I7ZEZG25i2by/W1vb94tDGOpdHsBQfV6JvKrQXwh/eO sVEpOwICAt/7cVSPOZsXuEjZvMide08vqeDJ19YO8b6AonB1xfQHt+C6OJFt5/6HOBwi xVsvEr2k5V9HStf2i9EVCmSo7u1vq2GhczwVCT/IlQFFHgtxmN1yxwzqTPYlcc/bKhWg fD8A== X-Gm-Message-State: APt69E0dOrldU1VzR6EwdLXG7s2J/rHvCzDln/Dndo9RpoFlX0ZWrByl ybBUSlTDngs/Sj4qMsmELJEFeI4l X-Google-Smtp-Source: AAOMgpd77FBWlN27p2Iuk2EnVzYC2m2MXLpYeqXbI2rFD38RqvAOyt3nHyFz7dK6Qgzn9XUNi6DLQQ== X-Received: by 2002:aca:2cce:: with SMTP id s197-v6mr12692140ois.125.1530580953887; Mon, 02 Jul 2018 18:22:33 -0700 (PDT) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com. [209.85.218.45]) by smtp.gmail.com with ESMTPSA id x36-v6sm7624509otd.18.2018.07.02.18.22.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 18:22:33 -0700 (PDT) Received: by mail-oi0-f45.google.com with SMTP id c6-v6so589763oiy.0 for ; Mon, 02 Jul 2018 18:22:33 -0700 (PDT) X-Received: by 2002:aca:3002:: with SMTP id w2-v6mr17172028oiw.29.1530580953347; Mon, 02 Jul 2018 18:22:33 -0700 (PDT) MIME-Version: 1.0 From: Lakhan Shiva Kamireddy Date: Tue, 3 Jul 2018 01:22:21 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSOC-18] Convert PCI drivers to be table driven - Week 7 To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 01:48:09 -0000 Hi All, As you are aware, my project is to convert PCI drivers to be table driven. This week I have worked on other PCI drivers. I converted et, ipw, ismt PCI drivers. I fixed numerous style issues. [1] -[3] I have added the Plug and Play information for them and found them to be used by devmatch to match them with modules automatically. I resolved all build issues. We have migrated the reviews to Phabricator and see that it is pretty cool. Phabricator reviews can be found here. [4]-[6] We need to convert the drivers in a certain way so that kldxref can find it and record it in linker hints. I am working on PCI drivers so as to make it easy for kldxref to find them. In a couple of drivers I have added tables and modified the probe function. At the same time, I am also learning the internals of the kernel, this will help our goal ultimately - Automatic module loading. [7] Please find my updated project homepage here. [8] Thank you, Lakhan [1] https://github.com/bsdimp/freebsd/pull/4 [2] https://github.com/bsdimp/freebsd/pull/6 [3] https://github.com/bsdimp/freebsd/pull/7 [4] https://reviews.freebsd.org/D15995 [5] https://reviews.freebsd.org/D15996 [6] https://reviews.freebsd.org/D15979 [7] http://bsdimp.blogspot.in/2016/01/details-on-coming-automatic-module.html [8] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables