diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-05-20 16:42:55 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-05-20 16:42:55 +0000 |
commit | e5bc5cc92ea719bf878dbde3c46db4e48fae425e (patch) | |
tree | 8d277d3cd590b53a9ecfb49f8dcadfefd8f5d524 /sys/arch/mvme88k/dev/vsreg.h | |
parent | c41ffbca2f28ed5b7b149ac4cf7de4e41ce06512 (diff) |
General cleanup before attempting to move towards bus_space and bus_dma.
Also fix an arithmetic bug which caused almost no harm by luck.
Diffstat (limited to 'sys/arch/mvme88k/dev/vsreg.h')
-rw-r--r-- | sys/arch/mvme88k/dev/vsreg.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/sys/arch/mvme88k/dev/vsreg.h b/sys/arch/mvme88k/dev/vsreg.h index b6cf80efd3b..34ecc91495c 100644 --- a/sys/arch/mvme88k/dev/vsreg.h +++ b/sys/arch/mvme88k/dev/vsreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vsreg.h,v 1.5 2003/09/29 09:08:19 miod Exp $ */ +/* $OpenBSD: vsreg.h,v 1.6 2004/05/20 16:42:54 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * Copyright (c) 1990 The Regents of the University of California. @@ -564,22 +564,6 @@ struct vsreg /**************** END Short I/O Format *******************/ /* - * Scatter gather structure - */ - -typedef struct ipsg -{ - volatile u_short sg_count; /* byte/entry count */ - volatile u_short sg_addrhi; /* datablock/entry address high */ - volatile u_short sg_addrlo; /* datablock/entry address low */ - volatile u_short sg_meminfo; /* memory information */ -}IPSG; - -#define MACSI_SG 256 /* number of MACSI scat/gat entries */ -#define S_MACSI_SG (MACSI_SG * sizeof(IPSG)) -#define MACSI_SG_RSIZE 65535 /* max len of each scatter/gather entry */ - -/* * SCSI IOPB definitions */ @@ -672,12 +656,6 @@ typedef struct ipsg #define MACSI_INVALID_TIMEOUT 0x843 /* The SCSI byte to byte timer expired */ /* - * Handy vector macro. - */ - -#define VEC(c, vec) (((c) -> mc_ipl << 8) + (vec)) - -/* * VME addressing modes */ |