From owner-freebsd-hackers@freebsd.org Tue Jun 5 18:19:38 2018 Return-Path: Delivered-To: freebsd-hackers@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 EF0A0FEF86E for ; Tue, 5 Jun 2018 18:19:37 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 86EC368DD2; Tue, 5 Jun 2018 18:19:37 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 58F1B14891; Tue, 5 Jun 2018 18:19:36 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id w55IJaKF032231 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Jun 2018 18:19:36 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id w55IJZJA032230; Tue, 5 Jun 2018 18:19:35 GMT (envelope-from phk) To: Lakhan Shiva cc: freebsd-hackers@freebsd.org, chuck@freebsd.org Subject: Re: cy PCI driver - possible device id's In-reply-to: From: "Poul-Henning Kamp" References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32228.1528222775.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Tue, 05 Jun 2018 18:19:35 +0000 Message-ID: <32229.1528222775@critter.freebsd.dk> X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 18:19:38 -0000 -------- In message , Lakhan Shiva writes: >I am working on converting PCI drivers attachments to be table driven. Can we please invent some kind of "typographic" convention which allows these tables to be extracted from the kernel source code, so that we can have an utility which suggests which drivers to load, by consulting such an extracted table ? -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .