eesox.c (cd354f1ae75e6466a7e31b727faede57a1f89ca5) eesox.c (c5a69d57eb48e36f84c0737b5b24ec277d7dbfba)
1/*
2 * linux/drivers/acorn/scsi/eesox.c
3 *
4 * Copyright (C) 1997-2005 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 182 unchanged lines hidden (view full) ---

191 return fasdma_pseudo;
192}
193
194static void eesoxscsi_buffer_in(void *buf, int length, void __iomem *base)
195{
196 const void __iomem *reg_fas = base + EESOX_FAS216_OFFSET;
197 const void __iomem *reg_dmastat = base + EESOX_DMASTAT;
198 const void __iomem *reg_dmadata = base + EESOX_DMADATA;
1/*
2 * linux/drivers/acorn/scsi/eesox.c
3 *
4 * Copyright (C) 1997-2005 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 182 unchanged lines hidden (view full) ---

191 return fasdma_pseudo;
192}
193
194static void eesoxscsi_buffer_in(void *buf, int length, void __iomem *base)
195{
196 const void __iomem *reg_fas = base + EESOX_FAS216_OFFSET;
197 const void __iomem *reg_dmastat = base + EESOX_DMASTAT;
198 const void __iomem *reg_dmadata = base + EESOX_DMADATA;
199 const register unsigned long mask = 0xffff;
199 register const unsigned long mask = 0xffff;
200
201 do {
202 unsigned int status;
203
204 /*
205 * Interrupt request?
206 */
207 status = readb(reg_fas + (REG_STAT << EESOX_FAS216_SHIFT));

--- 470 unchanged lines hidden ---
200
201 do {
202 unsigned int status;
203
204 /*
205 * Interrupt request?
206 */
207 status = readb(reg_fas + (REG_STAT << EESOX_FAS216_SHIFT));

--- 470 unchanged lines hidden ---