sparc: Kill SBUS DVMA layer.

This thing was completely pointless.

Just find the OF device in the parent of drivers that want to program
this device, and map the DMA regs inside such drivers too.

This also moves the dummy claim_dma_lock() and release_dma_lock()
implementation to floppy_32.h, which makes it handle this issue
just like floppy_64.h does.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2008-08-27 17:01:57 -07:00
parent 7f06a3b2c1
commit 334ae61477
12 changed files with 246 additions and 717 deletions

View File

@ -521,7 +521,8 @@ struct esp {
struct completion *eh_reset;
struct sbus_dma *dma;
void *dma;
int dmarev;
};
/* A front-end driver for the ESP chip should do the following in