[PATCH 1/1] netdev: DM9000: remove BLACKFIN hacking in DM9000 netdev driver - Kernel

This is a discussion on [PATCH 1/1] netdev: DM9000: remove BLACKFIN hacking in DM9000 netdev driver - Kernel ; remove integer casting in the read/write IO accessors, because Blackfin now provides those functions Tested-by: Javier Herrero Signed-off-by: Bryan Wu --- drivers/net/dm9000.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index f42c23f..5a9083e 100644 --- ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [PATCH 1/1] netdev: DM9000: remove BLACKFIN hacking in DM9000 netdev driver

  1. [PATCH 1/1] netdev: DM9000: remove BLACKFIN hacking in DM9000 netdev driver

    remove integer casting in the read/write IO accessors,
    because Blackfin now provides those functions

    Tested-by: Javier Herrero
    Signed-off-by: Bryan Wu
    ---
    drivers/net/dm9000.c | 9 ---------
    1 files changed, 0 insertions(+), 9 deletions(-)

    diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
    index f42c23f..5a9083e 100644
    --- a/drivers/net/dm9000.c
    +++ b/drivers/net/dm9000.c
    @@ -47,15 +47,6 @@
    #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.
    */
    --
    1.5.6

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH 1/1] netdev: DM9000: remove BLACKFIN hacking in DM9000 netdev driver

    On Fri, Oct 17, 2008 at 01:40:44AM +0800, Bryan Wu wrote:
    > remove integer casting in the read/write IO accessors,
    > because Blackfin now provides those functions
    >
    > Tested-by: Javier Herrero
    > Signed-off-by: Bryan Wu

    Acked-by: Ben Dooks
    > ---
    > drivers/net/dm9000.c | 9 ---------
    > 1 files changed, 0 insertions(+), 9 deletions(-)
    >
    > diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
    > index f42c23f..5a9083e 100644
    > --- a/drivers/net/dm9000.c
    > +++ b/drivers/net/dm9000.c
    > @@ -47,15 +47,6 @@
    > #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.
    > */
    > --
    > 1.5.6
    >


    --
    --
    Ben

    Q: What's a light-year?
    A: One-third less calories than a regular year.

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  3. Re: [PATCH 1/1] netdev: DM9000: remove BLACKFIN hacking in DM9000 netdev driver

    Bryan Wu wrote:
    > remove integer casting in the read/write IO accessors,
    > because Blackfin now provides those functions
    >
    > Tested-by: Javier Herrero
    > Signed-off-by: Bryan Wu
    > ---
    > drivers/net/dm9000.c | 9 ---------
    > 1 files changed, 0 insertions(+), 9 deletions(-)
    >
    > diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
    > index f42c23f..5a9083e 100644
    > --- a/drivers/net/dm9000.c
    > +++ b/drivers/net/dm9000.c
    > @@ -47,15 +47,6 @@
    > #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


    applied



    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread