diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-29 05:14:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 05:14:29 -0400 |
commit | db1a8611c8733711b40bbce11c87336e3e374634 (patch) | |
tree | 4a8ca5d6cb6852231d8d7789885bc5c5df547a7e /drivers/net/sunhme.h | |
parent | 8ef2175c86821350775718bfe7d3490bbea2e3cf (diff) |
sunhme: Convert to pure OF driver.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunhme.h')
-rw-r--r-- | drivers/net/sunhme.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/sunhme.h b/drivers/net/sunhme.h index 756e96e5ef4b..efd2ca0fcad3 100644 --- a/drivers/net/sunhme.h +++ b/drivers/net/sunhme.h | |||
@@ -405,15 +405,11 @@ struct happy_meal { | |||
405 | u32 (*read_desc32)(hme32 *); | 405 | u32 (*read_desc32)(hme32 *); |
406 | void (*write_txd)(struct happy_meal_txd *, u32, u32); | 406 | void (*write_txd)(struct happy_meal_txd *, u32, u32); |
407 | void (*write_rxd)(struct happy_meal_rxd *, u32, u32); | 407 | void (*write_rxd)(struct happy_meal_rxd *, u32, u32); |
408 | u32 (*dma_map)(void *, void *, long, int); | ||
409 | void (*dma_unmap)(void *, u32, long, int); | ||
410 | void (*dma_sync_for_cpu)(void *, u32, long, int); | ||
411 | void (*dma_sync_for_device)(void *, u32, long, int); | ||
412 | #endif | 408 | #endif |
413 | 409 | ||
414 | /* This is either a sbus_dev or a pci_dev. */ | 410 | /* This is either an of_device or a pci_dev. */ |
415 | void *happy_dev; | 411 | void *happy_dev; |
416 | void *dma_dev; | 412 | struct device *dma_dev; |
417 | 413 | ||
418 | spinlock_t happy_lock; | 414 | spinlock_t happy_lock; |
419 | 415 | ||