add preliminary support for 2.6.24
SVN-Revision: 10329
This commit is contained in:
@@ -18,8 +18,10 @@
|
||||
#ifndef _ADM5120_SWITCH_H_
|
||||
#define _ADM5120_SWITCH_H_
|
||||
|
||||
#define BIT(at) (1 << (at))
|
||||
#define BITMASK(len) ((1 << (len))-1)
|
||||
#ifndef BIT
|
||||
# define BIT(at) (1 << (at))
|
||||
#endif
|
||||
#define BITMASK(len) (BIT(len)-1)
|
||||
|
||||
#define SW_READ_REG(r) __raw_readl( \
|
||||
(void __iomem *)KSEG1ADDR(ADM5120_SWITCH_BASE) + r)
|
||||
|
||||
Reference in New Issue
Block a user