aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/rup.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-02-03 03:04:07 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 08:32:04 -0800
commit84542838a3829f34630c589c1eb570656c455a1c (patch)
tree401218ce579c354427522d116f67d0bc1cb706ed /drivers/char/rio/rup.h
parent[PATCH] make "struct d_cookie" depend on CONFIG_PROFILING (diff)
downloadlinux-dev-84542838a3829f34630c589c1eb570656c455a1c.tar.xz
linux-dev-84542838a3829f34630c589c1eb570656c455a1c.zip
[PATCH] rio cleanups
INKERNEL is always defined HOST is never defined therefore RTA is also never defined Strip the relevant garbage out of the headers on this basis. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/rup.h')
-rw-r--r--drivers/char/rio/rup.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/rio/rup.h b/drivers/char/rio/rup.h
index 8d44fec91dd5..f74f67c6f702 100644
--- a/drivers/char/rio/rup.h
+++ b/drivers/char/rio/rup.h
@@ -43,12 +43,7 @@
#endif
#endif
-#if defined( HOST ) || defined( INKERNEL )
#define MAX_RUP ((short) 16)
-#endif
-#ifdef RTA
-#define MAX_RUP ((short) 1)
-#endif
#define PKTS_PER_RUP ((short) 2) /* They are always used in pairs */