Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
dm9000.h File Reference
#include <asm/mb-regs.h>

Go to the source code of this file.

Macros

#define DM9000_ARCH_IOBASE   (__region_CS6 + 0x300)
 
#define DM9000_ARCH_IRQ   IRQ_CPU_EXTERNAL3 /* XIRQ #3 (shared with FPGA) */
 
#define DM9000_ARCH_BUS_INFO   "CS6#+0x300" /* bus info for ethtool */
 
#define __is_PCI_IO(addr)   0 /* not PCI */
 
#define inl(addr)
 
#define insl(a, b, l)   __insl(a,b,l,0) /* don't byte-swap */
 

Macro Definition Documentation

#define __is_PCI_IO (   addr)    0 /* not PCI */

Definition at line 23 of file dm9000.h.

#define DM9000_ARCH_BUS_INFO   "CS6#+0x300" /* bus info for ethtool */

Definition at line 20 of file dm9000.h.

#define DM9000_ARCH_IOBASE   (__region_CS6 + 0x300)

Definition at line 17 of file dm9000.h.

#define DM9000_ARCH_IRQ   IRQ_CPU_EXTERNAL3 /* XIRQ #3 (shared with FPGA) */

Definition at line 18 of file dm9000.h.

#define inl (   addr)
Value:
({ \
unsigned long __ioaddr = (unsigned long) addr; \
uint32_t x = readl(__ioaddr); \
((x & 0xff) << 24) | ((x & 0xff00) << 8) | ((x >> 8) & 0xff00) | ((x >> 24) & 0xff); \
})

Definition at line 26 of file dm9000.h.

#define insl (   a,
  b,
  l 
)    __insl(a,b,l,0) /* don't byte-swap */

Definition at line 34 of file dm9000.h.