X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fisdn%2Ficn%2Ficn.h;h=7d7245fb0b32971d40110972a6ff7abf4363fa97;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=4ab15c917ed487020ee93a069af885d9047dbe69;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/drivers/isdn/icn/icn.h b/drivers/isdn/icn/icn.h index 4ab15c917..7d7245fb0 100644 --- a/drivers/isdn/icn/icn.h +++ b/drivers/isdn/icn/icn.h @@ -35,7 +35,6 @@ typedef struct icn_cdef { #ifdef __KERNEL__ /* Kernel includes */ -#include #include #include #include @@ -70,8 +69,7 @@ typedef struct icn_cdef { #define ICN_FLAGS_RUNNING 4 /* Cards driver activated */ #define ICN_FLAGS_RBTIMER 8 /* cyclic scheduling of B-Channel-poll */ -#define ICN_BOOT_TIMEOUT1 (HZ) /* Delay for Boot-download (jiffies) */ -#define ICN_CHANLOCK_DELAY (HZ/10) /* Delay for Channel-mapping (jiffies) */ +#define ICN_BOOT_TIMEOUT1 1000 /* Delay for Boot-download (msecs) */ #define ICN_TIMER_BCREAD (HZ/100) /* B-Channel poll-cycle */ #define ICN_TIMER_DCREAD (HZ/2) /* D-Channel poll-cycle */ @@ -175,7 +173,7 @@ typedef struct icn_card { typedef struct icn_dev { spinlock_t devlock; /* spinlock to protect this struct */ unsigned long memaddr; /* Address of memory mapped buffers */ - icn_shmem *shmem; /* Pointer to memory-mapped-buffers */ + icn_shmem __iomem *shmem; /* Pointer to memory-mapped-buffers */ int mvalid; /* IO-shmem has been requested */ int channel; /* Currently mapped channel */ struct icn_card *mcard; /* Currently mapped card */