From owner-freebsd-usb@freebsd.org Wed Sep 23 00:38:12 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71D8AA062F6 for ; Wed, 23 Sep 2015 00:38:12 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (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 3844E1AD7 for ; Wed, 23 Sep 2015 00:38:12 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by igxx6 with SMTP id x6so19794503igx.1 for ; Tue, 22 Sep 2015 17:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dGhNPMsMfV5juf3BVSe20lbKit2r+yh58faly9tYq9E=; b=ewqaMHaspBgTV5i9k2pPsSy10OawOi4s8DgpX6lfVYEdZNEr1SSBGIOa9YAYg/lz4A udo8ORms0Yi7vYQRMzmv5KsIvuByYEU9lXcdRubGzs5YgjDvSPtLfJ/ds9S/pISZyhol mXzlbPyt1yKWnyQWicsc6RadLsrEKl+wSuRY+l0ZdaqhtZoR1db0n3++kw7lX2yFcuI/ +j7yIrRCTDaVwmNyOzFOSmSd0JmxaQqM9iAhmVnhKhwSLjUmtQbJMvGeiaBej3tVk3kr 8yRDUTrBeVFGUtUh4RA1A58LUhpjHU5iY7i3j0Abd+m44BhbV0Ew+SbVFdB/58BTJAJA Wr1A== MIME-Version: 1.0 X-Received: by 10.50.61.166 with SMTP id q6mr14118443igr.12.1442968691687; Tue, 22 Sep 2015 17:38:11 -0700 (PDT) Received: by 10.64.96.74 with HTTP; Tue, 22 Sep 2015 17:38:11 -0700 (PDT) In-Reply-To: <7E6FCC35-5CA5-4B07-A1F1-41B73EA5B0FC@bsdimp.com> References: <55FF282D.2040003@scoubidou.com> <55FFA8EA.3030308@selasky.org> <56007395.1010006@scoubidou.com> <5600FC1E.2060206@selasky.org> <7E6FCC35-5CA5-4B07-A1F1-41B73EA5B0FC@bsdimp.com> Date: Tue, 22 Sep 2015 17:38:11 -0700 Message-ID: Subject: Re: Patch to allow dynamic USB quirks at boot From: Mehmet Erol Sanliturk To: Warner Losh Cc: Hans Petter Selasky , =?UTF-8?Q?Maxime_Soul=C3=A9?= , freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 00:38:12 -0000 On Tue, Sep 22, 2015 at 2:38 PM, Warner Losh wrote: > I need help with PCI driver marking. Grab my patches and we can talk. > > Basically, it marks all the .ko modules in a similar way that we do > inter-module > dependencies with plug and play info. kldxref then takes this data and > stuffs > it in loader.hints. I also need to write something that will parse this > data and > either generate a devd.conf file (easy to do from kldxref sources) or > queues > the load drive in the kernel (kinda hard). Bonus points for similar code = in > /boot/loader for any storage device that=E2=80=99s found. > > Warner > > > > On Sep 22, 2015, at 1:12 AM, Mehmet Erol Sanliturk < > m.e.sanliturk@gmail.com> wrote: > > > > > > > > On Mon, Sep 21, 2015 at 11:58 PM, Hans Petter Selasky > wrote: > > On 09/22/15 00:58, Mehmet Erol Sanliturk wrote: > > On Mon, Sep 21, 2015 at 2:16 PM, Maxime Soul=C3=A9 > > wrote: > > > > One of my wishes is to move ALL of the device definition information fo= r > ( > > NIC , USB , and other devices ) into files where for each device ( a > unique > > file to dedicated itself containing information presently defined as > preset > > in internal arrays with one additional information ( at least ) which > > driver will be used for the device ) will be prepared . > > > > > > Hi Mehmet, > > > > Warner Losh is working on this currently, CC'ed. See: > > > > https://reviews.freebsd.org/D3458 > > > > Maybe you want to help out testing? > > > > --HPS > > > > > > > > If I can help in any way , I will do it . > > > > > > Mehmet Erol Sanliturk > > > > > > What does "PCI driver marking" mean ? Mehmet Erol Sanliturk