[PATCH] [ARM] Fix IXP2000 serial port resource range

From: Deepak Saxena (dsaxena_at_plexity.net)
Date: 10/01/05

  • Next message: Greg KH: "Re: [PATCH] usb/core/hcd-pci.c: don't free_irq() on suspend"
    Date:	Fri, 30 Sep 2005 16:20:22 -0700
    To: Linus Torvalds <torvalds@osdl.org>, rmk@arm.linux.org.uk
    
    

    Serial port only needs 32 bytes of resource space but we are currently
    asking for 64K.

    Signed-off-by: Deepak Saxena <dsaxena@plexity.net>

    diff --git a/arch/arm/mach-ixp2000/core.c b/arch/arm/mach-ixp2000/core.c
    --- a/arch/arm/mach-ixp2000/core.c
    +++ b/arch/arm/mach-ixp2000/core.c
     static struct resource ixp2000_uart_resource = {
             .start = IXP2000_UART_PHYS_BASE,
    - .end = IXP2000_UART_PHYS_BASE + 0xffff,
    + .end = IXP2000_UART_PHYS_BASE + 0x1f,
             .flags = IORESOURCE_MEM,
     };
     

    -- 
    Deepak Saxena - dsaxena@plexity.net - http://www.plexity.net
    Even a stopped clock gives the right time twice a day.
    -
    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/
    

  • Next message: Greg KH: "Re: [PATCH] usb/core/hcd-pci.c: don't free_irq() on suspend"

    Relevant Pages