]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
netdev: DM9000: remove BLACKFIN hacking in DM9000 netdev driver
authorBryan Wu <cooloney@kernel.org>
Thu, 16 Oct 2008 17:40:44 +0000 (01:40 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 22 Oct 2008 10:22:15 +0000 (06:22 -0400)
remove integer casting in the read/write IO accessors,
because Blackfin now provides those functions

Tested-by: Javier Herrero <jherrero@hvsistemas.es>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/dm9000.c

index f42c23f426522aff9f08ecb266925f22f82afc36..5a9083e3f443b81f0b744cac37f3b36d274b88ff 100644 (file)
 #define CARDNAME       "dm9000"
 #define DRV_VERSION    "1.31"
 
-#ifdef CONFIG_BLACKFIN
-#define readsb insb
-#define readsw insw
-#define readsl insl
-#define writesb        outsb
-#define writesw        outsw
-#define writesl        outsl
-#endif
-
 /*
  * Transmit timeout, default 5 seconds.
  */