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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kumar Gala
Date: Thursday, August 5, 2010 - 8:15 am

On PPC we need to set the dma_mask pointer for platform_devices to point to
the pdev_archdata.  We can't wait for a bus_notifier as we need the dma_mask
setup before the platform_device_add happens so that the bus_notifiers can
check the dma_mask to determine if we need things like the SWIOTLB dma_ops.

The patch series introduces an arch specific call out (arch_setup_pdev_archdata)
and provide an implementation on PPC to handle our specific issue.

- k
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] driver core: Add ability for arch code to setu ..., Kumar Gala, (Thu Aug 5, 8:15 am)