Re: [PATCH v3 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-07-07 Thread Kumar Gala
On Jul 7, 2011, at 9:11 AM, Greg KH wrote: > On Thu, Jul 07, 2011 at 08:55:44AM -0500, Kumar Gala wrote: >> >> On Jul 1, 2011, at 5:09 PM, Greg KH wrote: >> >>> On Thu, Jun 23, 2011 at 06:33:57AM -0500, Kumar Gala wrote: On some architectures we need to setup pdev_archdata before we add th

Re: [PATCH v3 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-07-07 Thread Greg KH
On Thu, Jul 07, 2011 at 08:55:44AM -0500, Kumar Gala wrote: > > On Jul 1, 2011, at 5:09 PM, Greg KH wrote: > > > On Thu, Jun 23, 2011 at 06:33:57AM -0500, Kumar Gala wrote: > >> On some architectures we need to setup pdev_archdata before we add the > >> device. Waiting til a bus_notifier is too

Re: [PATCH v3 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-07-07 Thread Kumar Gala
On Jul 1, 2011, at 5:09 PM, Greg KH wrote: > On Thu, Jun 23, 2011 at 06:33:57AM -0500, Kumar Gala wrote: >> On some architectures we need to setup pdev_archdata before we add the >> device. Waiting til a bus_notifier is too late since we might need the >> pdev_archdata in the bus notifier. One

Re: [PATCH v3 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-07-01 Thread Greg KH
On Thu, Jun 23, 2011 at 06:33:57AM -0500, Kumar Gala wrote: > On some architectures we need to setup pdev_archdata before we add the > device. Waiting til a bus_notifier is too late since we might need the > pdev_archdata in the bus notifier. One example is setting up of dma_mask > pointers such

[PATCH v3 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-06-23 Thread Kumar Gala
On some architectures we need to setup pdev_archdata before we add the device. Waiting til a bus_notifier is too late since we might need the pdev_archdata in the bus notifier. One example is setting up of dma_mask pointers such that it can be used in a bus_notifier. We add noop version of arch_