u8 __iomem *vaddr;
u8 modem = 0;
struct channel_t *ch;
- struct bs_t *bs;
+ struct bs_t __iomem *bs;
struct cm_t *cm;
if (!brd)
static void dgap_input(struct channel_t *ch)
{
struct board_t *bd;
- struct bs_t *bs;
+ struct bs_t __iomem *bs;
struct tty_struct *tp;
struct tty_ldisc *ld;
uint rmask;
struct board_t *brd;
struct channel_t *ch;
struct un_t *un;
- struct bs_t *bs;
+ struct bs_t __iomem *bs;
uint major = 0;
uint minor = 0;
int rc = 0;
struct board_t *bd = NULL;
struct channel_t *ch = NULL;
struct un_t *un = NULL;
- struct bs_t *bs = NULL;
+ struct bs_t __iomem *bs;
u8 tbusy;
uint chars = 0;
u16 thead, ttail, tmask, chead, ctail;
{
struct channel_t *ch;
struct un_t *un;
- struct bs_t *bs;
+ struct bs_t __iomem *bs;
int ret = -EIO;
uint count = 1;
ulong lock_flags = 0;
static inline void dgap_set_firmware_event(struct un_t *un, unsigned int event)
{
struct channel_t *ch = NULL;
- struct bs_t *bs = NULL;
+ struct bs_t __iomem *bs = NULL;
if (!un || un->magic != DGAP_UNIT_MAGIC)
return;
{
struct channel_t *ch = NULL;
struct un_t *un = NULL;
- struct bs_t *bs = NULL;
+ struct bs_t __iomem *bs;
u16 head, tail, tmask;
int ret = 0;
ulong lock_flags = 0;
{
struct channel_t *ch = NULL;
struct un_t *un = NULL;
- struct bs_t *bs = NULL;
+ struct bs_t __iomem *bs;
char *vaddr = NULL;
u16 head, tail, tmask, remain;
int bufcount = 0, n = 0;
{
int n;
char *taddr;
- struct bs_t *bs;
+ struct bs_t __iomem *bs;
u16 head;
if (!ch || ch->magic != DGAP_CHANNEL_MAGIC)
struct ktermios *ts;
struct board_t *bd;
struct channel_t *ch;
- struct bs_t *bs;
+ struct bs_t __iomem *bs;
struct un_t *un;
u16 head;
u16 cflag;
struct channel_t *ch;
ulong lock_flags;
ulong lock_flags2;
- struct bs_t *bs;
+ struct bs_t __iomem *bs;
u8 *event;
u8 __iomem *vaddr;
struct ev_t *eaddr = NULL;
u32 dgap_Serial_Major;
u32 dgap_TransparentPrint_Major;
- struct bs_t *bd_bs; /* Base structure pointer */
+ struct bs_t __iomem *bd_bs; /* Base structure pointer */
char *flipbuf; /* Our flip buffer, alloced if */
/* board is found */
************************************************************************/
struct channel_t {
int magic; /* Channel Magic Number */
- struct bs_t *ch_bs; /* Base structure pointer */
+ struct bs_t __iomem *ch_bs; /* Base structure pointer */
struct cm_t *ch_cm; /* Command queue pointer */
struct board_t *ch_bd; /* Board structure pointer */
unsigned char *ch_vaddr; /* FEP memory origin */