diff options
Diffstat (limited to 'drivers/net/smc91x.h')
-rw-r--r-- | drivers/net/smc91x.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index 80fb80f39200..f02cc6ac248b 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h | |||
@@ -492,7 +492,7 @@ struct smc_local { | |||
492 | 492 | ||
493 | spinlock_t lock; | 493 | spinlock_t lock; |
494 | 494 | ||
495 | #ifdef SMC_USE_PXA_DMA | 495 | #ifdef CONFIG_ARCH_PXA |
496 | /* DMA needs the physical address of the chip */ | 496 | /* DMA needs the physical address of the chip */ |
497 | u_long physaddr; | 497 | u_long physaddr; |
498 | struct device *device; | 498 | struct device *device; |
@@ -510,7 +510,7 @@ struct smc_local { | |||
510 | #define SMC_16BIT(p) ((p)->cfg.flags & SMC91X_USE_16BIT) | 510 | #define SMC_16BIT(p) ((p)->cfg.flags & SMC91X_USE_16BIT) |
511 | #define SMC_32BIT(p) ((p)->cfg.flags & SMC91X_USE_32BIT) | 511 | #define SMC_32BIT(p) ((p)->cfg.flags & SMC91X_USE_32BIT) |
512 | 512 | ||
513 | #ifdef SMC_USE_PXA_DMA | 513 | #ifdef CONFIG_ARCH_PXA |
514 | /* | 514 | /* |
515 | * Let's use the DMA engine on the XScale PXA2xx for RX packets. This is | 515 | * Let's use the DMA engine on the XScale PXA2xx for RX packets. This is |
516 | * always happening in irq context so no need to worry about races. TX is | 516 | * always happening in irq context so no need to worry about races. TX is |
@@ -604,7 +604,7 @@ smc_pxa_dma_irq(int dma, void *dummy) | |||
604 | { | 604 | { |
605 | DCSR(dma) = 0; | 605 | DCSR(dma) = 0; |
606 | } | 606 | } |
607 | #endif /* SMC_USE_PXA_DMA */ | 607 | #endif /* CONFIG_ARCH_PXA */ |
608 | 608 | ||
609 | 609 | ||
610 | /* | 610 | /* |