int i;
int tlw;
uint true_count = 0;
- u8 *vaddr;
+ u8 __iomem *vaddr;
u8 modem = 0;
struct channel_t *ch;
struct bs_t *bs;
*/
static void dgap_do_bios_load(struct board_t *brd, const u8 *ubios, int len)
{
- u8 *addr;
+ u8 __iomem *addr;
uint offset;
int i;
*/
static int dgap_test_bios(struct board_t *brd)
{
- u8 *addr;
+ u8 __iomem *addr;
u16 word;
u16 err1;
u16 err2;
*/
static void dgap_do_fep_load(struct board_t *brd, const u8 *ufep, int len)
{
- u8 *addr;
+ u8 __iomem *addr;
uint offset;
if (!brd || (brd->magic != DGAP_BOARD_MAGIC) || !brd->re_map_membase)
*/
static int dgap_test_fep(struct board_t *brd)
{
- u8 *addr;
+ u8 __iomem *addr;
u16 word;
u16 err1;
u16 err2;
*/
static void dgap_do_conc_load(struct board_t *brd, u8 *uaddr, int len)
{
- char *vaddr;
+ char __iomem *vaddr;
u16 offset = 0;
struct downld_t *to_dp;
{
struct board_t *bd = (struct board_t *) data;
ulong lock_flags;
- char *vaddr;
+ char __iomem *vaddr;
u16 head, tail;
if (!bd || (bd->magic != DGAP_BOARD_MAGIC))
static void dgap_cmdb(struct channel_t *ch, u8 cmd, u8 byte1,
u8 byte2, uint ncmds)
{
- char *vaddr = NULL;
+ char __iomem *vaddr;
struct cm_t *cm_addr = NULL;
uint count;
uint n;
*=======================================================================*/
static void dgap_cmdw(struct channel_t *ch, u8 cmd, u16 word, uint ncmds)
{
- char *vaddr = NULL;
+ char __iomem *vaddr;
struct cm_t *cm_addr = NULL;
uint count;
uint n;
*=======================================================================*/
static void dgap_cmdw_ext(struct channel_t *ch, u16 cmd, u16 word, uint ncmds)
{
- char *vaddr = NULL;
+ char __iomem *vaddr;
struct cm_t *cm_addr = NULL;
uint count;
uint n;
*/
static uint dgap_get_custom_baud(struct channel_t *ch)
{
- u8 *vaddr;
+ u8 __iomem *vaddr;
ulong offset = 0;
uint value = 0;
ulong lock_flags2;
struct bs_t *bs;
u8 *event;
- u8 *vaddr = NULL;
+ u8 __iomem *vaddr;
struct ev_t *eaddr = NULL;
uint head;
uint tail;
ulong membase; /* Start of base memory of the card */
ulong membase_end; /* End of base memory of the card */
- u8 *re_map_port; /* Remapped io port of the card */
- u8 *re_map_membase;/* Remapped memory of the card */
+ u8 __iomem *re_map_port; /* Remapped io port of the card */
+ u8 __iomem *re_map_membase;/* Remapped memory of the card */
u8 runwait; /* # Processes waiting for FEP */
u8 inhibit_poller; /* Tells the poller to leave us alone */