[netdrvr] Convert madgemc to new MCA API.

Now that all tms380 devices have a valid
struct device with dma_mask, remove dmalimit from tmsdev_init().

Kconfig: depend tms380tr and madgemc on MCA.
abyss.c, proteon.c, skisa.c, tmspci.c, tms380tr.h:
  remove dmalimit parameter from tmsdev_init().
tms380tr.c: use device->dma_mask instead of dmalimit.
madgemc.c: move to new MCA API using struct device.

Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
Jochen Friedrich
2005-08-19 21:05:56 -04:00
committed by Jeff Garzik
parent 9f7f0098ea
commit 84c3ea01d1
8 changed files with 265 additions and 266 deletions

View File

@ -145,7 +145,7 @@ static int __init setup_card(struct net_device *dev, struct device *pdev)
err = -EIO;
pdev->dma_mask = &dma_mask;
if (tmsdev_init(dev, ISA_MAX_ADDRESS, pdev))
if (tmsdev_init(dev, pdev))
goto out4;
dev->base_addr &= ~3;