>
> On 14-05-08 01:18, Bjorn Helgaas wrote:
>
> > On Tuesday 13 May 2008 11:33:25 am Rene Herman wrote:
>
> >> No, isa_device is its own thing, on its own isa_bus (*). It has a struct
> >> device * readily available though...
> >>
> >> (*) drivers/base/isa.c, and explanatory changelog at:
> >>
> >>
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a5117b...
> >
> > Thanks for the nice changelog.
> >
> > isa_register_driver() currently doesn't set a DMA mask. Should it?
>
> If it's going to be useful, definitely. The attached does not just set
>
> dev->dma_mask = &dev->coherent_dma_mask
>
> as in the fallback_dev when dma_alloc_coherent() is passed a NULL device
> only due to the mask juggling in snd_dma_hack_alloc_coherent() (which
> wouldn't break, but...) but introduces its own copy in struct isa_dev
> same as struct pnp_dev. As far as I'm aware, there's no actual reason
> for keeping it other than that and if the hack could go I'd rather lose
> the private mask copy again also.