[PATCH] rio driver rework continued #3
Second large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -186,8 +186,8 @@ static char *_rio_h_sccs_ = "@(#)rio.h 1.3";
|
||||
** RIO_OBJ takes hostp->Caddr and a UNIX pointer to an object and
|
||||
** returns the offset into the DP RAM area.
|
||||
*/
|
||||
#define RIO_PTR(C,O) (((caddr_t)(C))+(0xFFFF&(O)))
|
||||
#define RIO_OFF(C,O) ((int)(O)-(int)(C))
|
||||
#define RIO_PTR(C,O) (((unsigned char *)(C))+(0xFFFF&(O)))
|
||||
#define RIO_OFF(C,O) ((long)(O)-(long)(C))
|
||||
|
||||
/*
|
||||
** How to convert from various different device number formats:
|
||||
|
Reference in New Issue
Block a user