The patch titled pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices has been removed from the -mm tree. Its filename was pcmcia-use-dma_mask_none-for-the-default-for-all.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices From: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Most non cardbus devices can't do dma, so flag them as such in the device creation routine. Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Cc: Andi Kleen <andi@xxxxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Cc: Tejun Heo <htejun@xxxxxxxxx> Cc: Natalie Protasevich <protasnb@xxxxxxxxx> Cc: Jeff Garzik <jgarzik@xxxxxxxxx> Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx> Cc: Russell King <rmk@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/pcmcia/ds.c | 4 ++++ include/pcmcia/ds.h | 1 + 2 files changed, 5 insertions(+) diff -puN drivers/pcmcia/ds.c~pcmcia-use-dma_mask_none-for-the-default-for-all drivers/pcmcia/ds.c --- a/drivers/pcmcia/ds.c~pcmcia-use-dma_mask_none-for-the-default-for-all +++ a/drivers/pcmcia/ds.c @@ -23,6 +23,7 @@ #include <linux/crc32.h> #include <linux/firmware.h> #include <linux/kref.h> +#include <linux/dma-mapping.h> #define IN_CARD_SERVICES #include <pcmcia/cs_types.h> @@ -670,6 +671,9 @@ struct pcmcia_device * pcmcia_device_add p_dev->dev.bus = &pcmcia_bus_type; p_dev->dev.parent = s->dev.parent; p_dev->dev.release = pcmcia_release_dev; + /* by default don't allow DMA */ + p_dev->dma_mask = DMA_MASK_NONE; + p_dev->dev.dma_mask = &p_dev->dma_mask; bus_id_len = sprintf (p_dev->dev.bus_id, "%d.%d", p_dev->socket->sock, p_dev->device_no); p_dev->devname = kmalloc(6 + bus_id_len + 1, GFP_KERNEL); diff -puN include/pcmcia/ds.h~pcmcia-use-dma_mask_none-for-the-default-for-all include/pcmcia/ds.h --- a/include/pcmcia/ds.h~pcmcia-use-dma_mask_none-for-the-default-for-all +++ a/include/pcmcia/ds.h @@ -184,6 +184,7 @@ struct pcmcia_device { char * prod_id[4]; + u64 dma_mask; struct device dev; #ifdef CONFIG_PCMCIA_IOCTL _ Patches currently in -mm which might be from James.Bottomley@xxxxxxxxxxxx are origin.patch git-scsi-misc.patch git-scsi-misc-gdth-fix.patch change-struct-marker-users.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html