Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ide-h8300.c File Reference
#include <linux/init.h>
#include <linux/ide.h>
#include <asm/io.h>
#include <asm/irq.h>

Go to the source code of this file.

Macros

#define DRV_NAME   "ide-h8300"
 
#define bswap(d)
 
#define H8300_IDE_GAP   (2)
 

Functions

 module_init (h8300_ide_init)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define bswap (   d)
Value:
({ \
u16 r; \
__asm__("mov.b %w1,r1h\n\t" \
"mov.b %x1,r1l\n\t" \
"mov.w r1,%0" \
:"=r"(r) \
:"r"(d) \
:"er1"); \
(r); \
})

Definition at line 13 of file ide-h8300.c.

#define DRV_NAME   "ide-h8300"

Definition at line 11 of file ide-h8300.c.

#define H8300_IDE_GAP   (2)

Definition at line 65 of file ide-h8300.c.

Function Documentation

module_init ( h8300_ide_init  )
MODULE_LICENSE ( "GPL"  )