From owner-freebsd-current@FreeBSD.ORG Sun Jun 26 10:33:19 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC82F106566B for ; Sun, 26 Jun 2011 10:33:19 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFAE8FC1B for ; Sun, 26 Jun 2011 10:33:19 +0000 (UTC) Received: by pzk5 with SMTP id 5so3626692pzk.17 for ; Sun, 26 Jun 2011 03:33:19 -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; bh=tnLsQxdtelBaN15j4utCmMfc5xAsgN3MPEnr46m0zeA=; b=STp9jgOaTSR0h8OHeJ4kCPzmIEfB/ENEFX4gqqmoNfz5emK13YhYV94TUH5a0sMXhz V6F+S45yo1iYowLM9n533v/ZppgO4o7f+zTbBrmU9XzU7uQrSK3fyB9/4iqwRGvBqwxH humlCIWTgH1sU3GQgnsjTsFup5nJiHNJ8BVNM= 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; b=GV+Jw+59JN2lYum/Z4eI1wvQwk22qVHjBEwezg/RM1XoSbVZdyt80759+IhgdyWWho /VN5m1Q0hlA724XIspW1QuEUfhYo2qyghB+Z79Tx/5YHmZBqXapIjrpoU+DXHWBf9PJR JqzE6iTMuXCM53W4A3Ghpzq/GVfh10RuIjMgE= MIME-Version: 1.0 Received: by 10.68.36.195 with SMTP id s3mr2325703pbj.388.1309084398958; Sun, 26 Jun 2011 03:33:18 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.68.49.169 with HTTP; Sun, 26 Jun 2011 03:33:18 -0700 (PDT) In-Reply-To: <201106260738.21847.hselasky@c2i.net> References: <201106242342.47194.hselasky@c2i.net> <201106251907.02052.hselasky@c2i.net> <201106260738.21847.hselasky@c2i.net> Date: Sun, 26 Jun 2011 12:33:18 +0200 X-Google-Sender-Auth: RX-BLoBDukcsTIg97D5R8iVxSGA Message-ID: From: Robert Millan To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Sun, 26 Jun 2011 11:35:50 +0000 Cc: Jeremy Messenger , freebsd-current@freebsd.org, Warner Losh Subject: Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2011 10:33:19 -0000 2011/6/26 Hans Petter Selasky : > Hi, > > I see that a lot of PCI device drivers use code to check their ID's. > > [...] I seem to recall devd doesn't process PCI because it is event-driven and there are no "events" associated with PCI cards. Perhaps it could be modified to scan for PCI cards via libpci on initialization and generate "fake" events for them? -- Robert Millan