From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754792AbYDNI6B (ORCPT ); Mon, 14 Apr 2008 04:58:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750890AbYDNI5y (ORCPT ); Mon, 14 Apr 2008 04:57:54 -0400 Received: from gate.crashing.org ([63.228.1.57]:55998 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750776AbYDNI5x (ORCPT ); Mon, 14 Apr 2008 04:57:53 -0400 Subject: Re: pci: add to global list before sysfs? From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org To: Pierre Ossman Cc: Greg KH , LKML In-Reply-To: <20080414103504.24025b44@mjolnir.drzeus.cx> References: <20080404191350.7f0183a5@mjolnir.drzeus.cx> <20080404210132.GA14418@suse.de> <20080405115727.1265e8a9@mjolnir.drzeus.cx> <20080405155323.GA27252@suse.de> <20080405185501.41ec42a7@mjolnir.drzeus.cx> <1208122634.6958.59.camel@pasglop> <20080414103504.24025b44@mjolnir.drzeus.cx> Content-Type: text/plain Date: Mon, 14 Apr 2008 18:57:41 +1000 Message-Id: <1208163461.6958.153.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2008-04-14 at 10:35 +0200, Pierre Ossman wrote: > On Mon, 14 Apr 2008 07:37:14 +1000 > Benjamin Herrenschmidt wrote: > > > > > You don't need a timer. You can just use the notifier mechanism I added > > a while ago that should call you on device addition and removal on the > > bus type you are interested in. > > > > Another solution presented itself, but do you have some pointers on > where I get more information about the notifiers in case I need them > in the future? In devices.h :