From owner-soc-status@freebsd.org Mon Jul 16 13:50:36 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 36A691028A98 for ; Mon, 16 Jul 2018 13:50:36 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: from mail-oi0-f66.google.com (mail-oi0-f66.google.com [209.85.218.66]) (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 C325471E78 for ; Mon, 16 Jul 2018 13:50:35 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: by mail-oi0-f66.google.com with SMTP id s198-v6so74880981oih.11 for ; Mon, 16 Jul 2018 06:50:35 -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=5wVz6gblIVsmqAYPoKJNjBzeup2jPca7Feg7VX6QriQ=; b=tPAtDvUt0oxqTCoXg57vqDVc1bcFtH2bTMnmL3c86N4bg4SKV7f1hQ6FSRjWN9ooAm c02r6yXRE6YaqpTATkrA8OHVwdOv1NUH8diQxTEGq7FgB1kII+K0SyyITd48Uov+mzoD x55xue+KX4zG3ThTrqob2f9YZjmegdxj4wPfYHUgOm+MT4f5SSbteknPovE6zn2+os5W L5KGg0Vw6sZdc5W2x1qLCy9KkxleWaJOSOcTXOQQ2xcJ3i0eD5iNps2PEdkRzt/9WYEC +URLwaF6/81hEOA0mq/6E19pqBeO38EXD3+OQUZzALtqCQ5Pdob3/KCenG1grGPaaury YNjA== X-Gm-Message-State: AOUpUlHsYoBFSCc7MqM2BjdZmsM5Or+LqLnUtpLX4c9G+31Hw5z1jmKN ZOvP/netXlWpLsAET5N2Vgdda0aJ X-Google-Smtp-Source: AAOMgpeY8a8IYpcIwHjZMrM1y/eY237Svk2Z2HbWgrtcyBWmnXNLgHUfdg4q+hbwsCj3/rgBtVyX+g== X-Received: by 2002:aca:dd07:: with SMTP id u7-v6mr16733471oig.177.1531748562368; Mon, 16 Jul 2018 06:42:42 -0700 (PDT) Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com. [209.85.218.49]) by smtp.gmail.com with ESMTPSA id u13-v6sm19649855oiv.18.2018.07.16.06.42.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jul 2018 06:42:42 -0700 (PDT) Received: by mail-oi0-f49.google.com with SMTP id 13-v6so74843110ois.1 for ; Mon, 16 Jul 2018 06:42:42 -0700 (PDT) X-Received: by 2002:aca:438a:: with SMTP id q132-v6mr16738444oia.331.1531748561947; Mon, 16 Jul 2018 06:42:41 -0700 (PDT) MIME-Version: 1.0 From: Lakhan Shiva Kamireddy Date: Mon, 16 Jul 2018 19:12:30 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSOC-18] Convert PCI drivers to be table driven - Week 9 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: Mon, 16 Jul 2018 13:50:36 -0000 Hi All, As you are aware, my project is to convert PCI drivers to be table driven. Last week, I've worked on some of the PCI drivers which need some modification. As we decided to create a new macro - PCI_MATCH, i was working on consolidating my work using this macro. I have started the conversion process after rebasing to the latest FreeBSD build. Initially, I worked on the following drivers - imcmsb, fixup, de, dpt, bktr, esp, grackle. [1] [2]. Furthermore, I've been working on the following drivers as well: glxsb, emu, emujoy, hifn, bt, arcmsr, cp, ce, cy [3] [4]. 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. I am also learning the internals of the kernel, this will help our goal ultimately - Automatic module loading. [5] Please find my updated project homepage here. [6] Thank you, Lakhan [1] https://github.com/bsdimp/freebsd/pull/8 [2] https://reviews.freebsd.org/D16233 [3] https://reviews.freebsd.org/D16253 [4] https://github.com/bsdimp/freebsd/pull/9 [5] http://bsdimp.blogspot.in/2016/01/details-on-coming-automatic-module.html [6] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables