From owner-freebsd-usb@freebsd.org Tue Sep 22 21:39:03 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 BB71AA069C2 for ; Tue, 22 Sep 2015 21:39:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) (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 8E89C1C6E for ; Tue, 22 Sep 2015 21:39:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by pacbt3 with SMTP id bt3so1856885pac.3 for ; Tue, 22 Sep 2015 14:39:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=linRRg/9gPkLzW9kKfAn6/Ot7SGFk0ficSlubdjC418=; b=cDYpGpSTmErpm+UjxX/5t02HmVvRecyuB8KExftNf1JbmOaKChJTOi6W/feG6dbUn2 JFY92iTE8WvyvTPjwSd2+y9ujugcJ2fP45i9gThyoYQcYu4Div1auhuDBR/Ey2fuZL/A nhw/iebKj72FUDPVqrHC5Cbg8WVaDlSDDH/NgXAGWeL5/UEFt6m0YmBzLguW5kwMIEEn xHAdaVj2HKK944CSPo8PzJX0k6297cdKaDfXJ1oYTyqjdnTGhJoM0zKt7yxazRFmVouu eMHZ6crrMv1MZdErFW+ustaT4vlYXfY5szeWAVBuWppAdbS753hVaf22rT8UvTtsuW8z Ux9w== X-Gm-Message-State: ALoCoQmnz/MiiFNA3jqnIB9rPN5kIWa6n001XuAychZEhb/JtunNwezE+QWCoE/M1fglCpYVrIbX X-Received: by 10.66.165.5 with SMTP id yu5mr33188549pab.109.1442957942521; Tue, 22 Sep 2015 14:39:02 -0700 (PDT) Received: from [172.22.25.118] ([40.140.178.190]) by smtp.gmail.com with ESMTPSA id e6sm4033585pas.35.2015.09.22.14.39.01 (version=TLS1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Sep 2015 14:39:01 -0700 (PDT) Sender: Warner Losh Subject: Re: Patch to allow dynamic USB quirks at boot Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_92F6DE54-5982-49F9-855D-DB3AB236B1A8"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.1 From: Warner Losh In-Reply-To: Date: Tue, 22 Sep 2015 15:38:58 -0600 Cc: Hans Petter Selasky , =?utf-8?Q?Maxime_Soul=C3=A9?= , freebsd-usb@freebsd.org Message-Id: <7E6FCC35-5CA5-4B07-A1F1-41B73EA5B0FC@bsdimp.com> References: <55FF282D.2040003@scoubidou.com> <55FFA8EA.3030308@selasky.org> <56007395.1010006@scoubidou.com> <5600FC1E.2060206@selasky.org> To: Mehmet Erol Sanliturk X-Mailer: Apple Mail (2.2104) 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: Tue, 22 Sep 2015 21:39:03 -0000 --Apple-Mail=_92F6DE54-5982-49F9-855D-DB3AB236B1A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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 = wrote: >=20 >=20 >=20 > 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: >=20 > One of my wishes is to move ALL of the device definition information = for ( > 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 . >=20 >=20 > Hi Mehmet, >=20 > Warner Losh is working on this currently, CC'ed. See: >=20 > https://reviews.freebsd.org/D3458 >=20 > Maybe you want to help out testing? >=20 > --HPS >=20 >=20 >=20 > If I can help in any way , I will do it . >=20 >=20 > Mehmet Erol Sanliturk >=20 >=20 --Apple-Mail=_92F6DE54-5982-49F9-855D-DB3AB236B1A8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWAcpzAAoJEGwc0Sh9sBEAqOkP+waRK2bDYEwseiC1Z8fcnJOr u2pM0xkfvAfC46pM+0O4N64An6S/gTgX5PiXbcRSK53GtyCG+HjE1aR4Wk0n4FK6 J1TY17RLl4Cm+JJTdbkugTxfN91Y+jgSnBjEU54q+/Ew2q0xv2JNI9MiwlfmIa18 ThwOTISnb41NItN4MNC2LGMESSs/XmB6f3vVJEc3QvBr7NabZAmnvBOlqthELbk+ eFBTkM7sRNitlHClSQ4ufO6IYHVmmQUWWuRfwE2yhxBBZP0MK3lNB9wCUN91G7QD QFFsi187uuUHC8XP0uclOEdXSMrUJxhIJ8vwZ2ccSDfaWePHWXbEM50JSOZeXoRr X5v+nwgoK0F6aagjuANLzKM+iD6nfu7aYfInL7xahINSzqnBdRUH39ES6lQbyXRM UvlVu4o9vkBpWYp8LD2dX9LB/TzY3aQToQGVj64gpeQmLcAHWeEyVcBkEDkArngf IZeAkVJErzLbNrMCIkRAagkhSG5IPoJ8++jxQAaAcOjdcOGPgRDevqg0jAXtuuA1 NwBxc70s6bT1PLfRHpqo5ymKk3rvY2oA8iVueKKxUrdghEq1GD4dC4yheJ+xLq5I D3Hl3/4RDH8QyWaAz0eKSD9FjUNiojDTkQ/+O1I3nSXxpb3VaaeugfZneR0G1cdc DS/uQDLoJJ/QFl+VkC2J =EsLY -----END PGP SIGNATURE----- --Apple-Mail=_92F6DE54-5982-49F9-855D-DB3AB236B1A8--