From 335585a738b8cddb2c950032aaf958bdeaf0e0ba Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 20 Jan 2004 03:16:03 -0800 Subject: [PATCH] [PATCH] correct floppy outb() macro arg names From: "Randy.Dunlap" This patch changes no code, just swaps macro arg names to match reality. --- include/asm-alpha/floppy.h | 2 +- include/asm-i386/floppy.h | 2 +- include/asm-ppc/floppy.h | 2 +- include/asm-ppc64/floppy.h | 2 +- include/asm-sh/floppy.h | 2 +- include/asm-x86_64/floppy.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/asm-alpha/floppy.h b/include/asm-alpha/floppy.h index db527586c23f8..41ab32c4f04fa 100644 --- a/include/asm-alpha/floppy.h +++ b/include/asm-alpha/floppy.h @@ -13,7 +13,7 @@ #include #define fd_inb(port) inb_p(port) -#define fd_outb(port,value) outb_p(port,value) +#define fd_outb(value,port) outb_p(value,port) #define fd_enable_dma() enable_dma(FLOPPY_DMA) #define fd_disable_dma() disable_dma(FLOPPY_DMA) diff --git a/include/asm-i386/floppy.h b/include/asm-i386/floppy.h index 605f57ac56b59..8e420add7daa1 100644 --- a/include/asm-i386/floppy.h +++ b/include/asm-i386/floppy.h @@ -32,7 +32,7 @@ #define fd_inb(port) inb_p(port) -#define fd_outb(port,value) outb_p(port,value) +#define fd_outb(value,port) outb_p(value,port) #define fd_request_dma() CSW._request_dma(FLOPPY_DMA,"floppy") #define fd_free_dma() CSW._free_dma(FLOPPY_DMA) diff --git a/include/asm-ppc/floppy.h b/include/asm-ppc/floppy.h index 44b43dc69f084..6bc36a194816a 100644 --- a/include/asm-ppc/floppy.h +++ b/include/asm-ppc/floppy.h @@ -12,7 +12,7 @@ #define __ASM_PPC_FLOPPY_H #define fd_inb(port) inb_p(port) -#define fd_outb(port,value) outb_p(port,value) +#define fd_outb(value,port) outb_p(value,port) #define fd_enable_dma() enable_dma(FLOPPY_DMA) #define fd_disable_dma() disable_dma(FLOPPY_DMA) diff --git a/include/asm-ppc64/floppy.h b/include/asm-ppc64/floppy.h index 1b8bdb7284509..c25d0954b2051 100644 --- a/include/asm-ppc64/floppy.h +++ b/include/asm-ppc64/floppy.h @@ -13,7 +13,7 @@ #include #define fd_inb(port) inb_p(port) -#define fd_outb(port,value) outb_p(port,value) +#define fd_outb(value,port) outb_p(value,port) #define fd_enable_dma() enable_dma(FLOPPY_DMA) #define fd_disable_dma() disable_dma(FLOPPY_DMA) diff --git a/include/asm-sh/floppy.h b/include/asm-sh/floppy.h index 2b7eba3789b4d..f030ca08052bf 100644 --- a/include/asm-sh/floppy.h +++ b/include/asm-sh/floppy.h @@ -33,7 +33,7 @@ #define fd_inb(port) inb_p(port) -#define fd_outb(port,value) outb_p(port,value) +#define fd_outb(value,port) outb_p(value,port) #define fd_request_dma() CSW._request_dma(FLOPPY_DMA,"floppy") #define fd_free_dma() CSW._free_dma(FLOPPY_DMA) diff --git a/include/asm-x86_64/floppy.h b/include/asm-x86_64/floppy.h index 99eaae0f6686a..2f2df23b68ac7 100644 --- a/include/asm-x86_64/floppy.h +++ b/include/asm-x86_64/floppy.h @@ -32,7 +32,7 @@ #define fd_inb(port) inb_p(port) -#define fd_outb(port,value) outb_p(port,value) +#define fd_outb(value,port) outb_p(value,port) #define fd_request_dma() CSW._request_dma(FLOPPY_DMA,"floppy") #define fd_free_dma() CSW._free_dma(FLOPPY_DMA) -- 2.53.0