From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 24 07:08:02 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07583106564A; Fri, 24 Jun 2011 07:08:02 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 859258FC16; Fri, 24 Jun 2011 07:08:01 +0000 (UTC) Received: by pwi7 with SMTP id 7so268787pwi.13 for ; Fri, 24 Jun 2011 00:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=M9Cm6CdE8c4PH2TlbMgdM1QrsQR6t2wUv/TGhqQwq/M=; b=N9UFcq8sXD/+WD8UWnPpYgy0WY0Djo4xPxRwOQyabHQiw1qvf/ziU5nkZ+jiwzCsEu y6/xXWFLvTJ18pogfUok2PlE1pwVA4t1/QWKAZTdAqpEAg6ivMAsZaH7w1j7BWoHxb8P 0pgVaRsHo2PuGbYshuyzYLabI48XK/BjWD8u8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=kOSNw8MQSApmaz4i9u43gGc15lTKhRRdaO31x91PFh43rddLwJo9WMjrIR1RVnFkBr JylXFuf2bDblxx0UusNK4sL6OsL3y1rT9aoHrIjEqmyOk+JRbVNQwIv2dRpEcDFFig3o gcIzaf4mW4MH+3SNiCtIYoHQyTNEd2M3jIWX0= MIME-Version: 1.0 Received: by 10.68.22.197 with SMTP id g5mr1578071pbf.254.1308899280795; Fri, 24 Jun 2011 00:08:00 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.68.49.169 with HTTP; Fri, 24 Jun 2011 00:08:00 -0700 (PDT) In-Reply-To: References: <201106151523.p5FFN73i075030@red.freebsd.org> <201106151530.p5FFUABZ073845@freefall.freebsd.org> Date: Fri, 24 Jun 2011 09:08:00 +0200 X-Google-Sender-Auth: iFjZeOR54rKPkp0Hhv8VthqTy0A Message-ID: From: Robert Millan To: Warner Losh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Fri, 24 Jun 2011 11:01:52 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-bugs@freebsd.org, FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: misc/157903: automated kldload for USB class devices X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 07:08:02 -0000 2011/6/23 Warner Losh : > How'd you go about generating all these .conf files? I have to admit it was quite boring, lots of grep & sed, different regex for each file, then some manual editting. But I see that someone has found a better way. I'll look into testing that= :-) > I don't see where you defined USB_* as variables in them either. =C2=A0Ma= ybe you could point me at it? Autogenerated from usbdevs, see: # USB vendor ids and product ids. usb_ids.conf: genusbdevs.sh ../../sys/dev/usb/usbdevs sh genusbdevs.sh > $@ --=20 Robert Millan