[DEVICE MODEL] dev->dma_mask

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rene Herman
Date: Friday, May 30, 2008 - 2:28 pm

On 30-05-08 23:15, Rene Herman wrote:

On ...


... this note by the way I believe pnp_dev might as well get rid of its 
dma_mask as well. As far I've googled up the history of that the reason 
why dev->dma_mask is a pointer is only that it's been moved into struct 
device from struct pci_dev where the latter location was kept as the 
main one so as to not upset then current code.

Everyone else seems to have then faithfully cloned pci_dev and stuck it 
in their private structs as well but for no good reason it would appear.

And in the case of the PnP ISA masks, we're talking about constant 
masks, dictated by the shared global DMA controller and not the card 
itself (there are a few ISA cards that do their own busmastering but 
they're special) so the mask might as well just point to the coherent mask.

Unless I'm missing something ofcourse...

Rene.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Thu May 8, 6:37 pm)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Takashi Iwai, (Thu May 8, 11:06 pm)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Ingo Molnar, (Fri May 9, 1:55 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Ingo Molnar, (Fri May 9, 1:58 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Fri May 9, 5:03 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Ingo Molnar, (Fri May 9, 5:28 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Pete Clements, (Fri May 9, 5:29 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Glauber Costa, (Fri May 9, 5:48 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Jesse Barnes, (Fri May 9, 10:20 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Fri May 9, 4:00 pm)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Ingo Molnar, (Tue May 13, 7:36 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Tue May 13, 8:26 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Bjorn Helgaas, (Tue May 13, 9:59 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Tue May 13, 10:33 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Bjorn Helgaas, (Tue May 13, 4:18 pm)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Takashi Iwai, (Wed May 14, 2:25 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Wed May 14, 5:46 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Takashi Iwai, (Wed May 14, 6:01 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Bjorn Helgaas, (Wed May 14, 8:26 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Wed May 14, 8:40 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Takashi Iwai, (Wed May 14, 8:53 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Wed May 14, 11:41 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Bjorn Helgaas, (Wed May 14, 11:50 am)
Re: 2.6.26-rc1 regression: ISA DMA broken (bisected), Rene Herman, (Wed May 14, 12:09 pm)
[DEVICE MODEL] dev->dma_mask, Rene Herman, (Fri May 30, 2:28 pm)
[PATCH] ISA: set 24-bit dma_mask for ISA devices., Rene Herman, (Fri May 30, 3:37 pm)
Re: [PATCH] ISA: set 24-bit dma_mask for ISA devices., Andrew Morton, (Fri May 30, 3:55 pm)
Re: [PATCH] ISA: set 24-bit dma_mask for ISA devices., Rene Herman, (Fri May 30, 4:50 pm)
[PATCH] ISA: set 24-bit dma_mask for ISA devices., Rene Herman, (Fri May 30, 4:55 pm)
Re: [PATCH] ISA: set 24-bit dma_mask for ISA devices., Takashi Iwai, (Sat May 31, 1:56 am)