What you could do currently is whip up a dummy pci_dev structure with
the mask you want and pass that into the PCI dma routines. So you
could, for example, default to 24-bit DMA mask when you get "NULL"
as pci_dev, but cook up a special one using a 32-bit DMA mask for the
floppy ISA device in question.
The idea in 2.5.x is to move to a generic struct device, at which time
something like this can be done much more cleanly.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/