Commit 335585a7 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] correct floppy outb() macro arg names

From: "Randy.Dunlap" <rddunlap@osdl.org>

This patch changes no code, just swaps macro arg names to match reality.
parent 69c4ba40
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/config.h> #include <linux/config.h>
#define fd_inb(port) inb_p(port) #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_enable_dma() enable_dma(FLOPPY_DMA)
#define fd_disable_dma() disable_dma(FLOPPY_DMA) #define fd_disable_dma() disable_dma(FLOPPY_DMA)
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define fd_inb(port) inb_p(port) #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_request_dma() CSW._request_dma(FLOPPY_DMA,"floppy")
#define fd_free_dma() CSW._free_dma(FLOPPY_DMA) #define fd_free_dma() CSW._free_dma(FLOPPY_DMA)
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#define __ASM_PPC_FLOPPY_H #define __ASM_PPC_FLOPPY_H
#define fd_inb(port) inb_p(port) #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_enable_dma() enable_dma(FLOPPY_DMA)
#define fd_disable_dma() disable_dma(FLOPPY_DMA) #define fd_disable_dma() disable_dma(FLOPPY_DMA)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/config.h> #include <linux/config.h>
#define fd_inb(port) inb_p(port) #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_enable_dma() enable_dma(FLOPPY_DMA)
#define fd_disable_dma() disable_dma(FLOPPY_DMA) #define fd_disable_dma() disable_dma(FLOPPY_DMA)
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#define fd_inb(port) inb_p(port) #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_request_dma() CSW._request_dma(FLOPPY_DMA,"floppy")
#define fd_free_dma() CSW._free_dma(FLOPPY_DMA) #define fd_free_dma() CSW._free_dma(FLOPPY_DMA)
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define fd_inb(port) inb_p(port) #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_request_dma() CSW._request_dma(FLOPPY_DMA,"floppy")
#define fd_free_dma() CSW._free_dma(FLOPPY_DMA) #define fd_free_dma() CSW._free_dma(FLOPPY_DMA)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment