[PATCH] char/isicom: Other little changes
Move some code from one place to another. Get rid of ugly ifdefs in code in next p[patches, so here create functions and macros to enable it. Rename some functions and align some code to 80 chars. Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
8070e35c65
commit
aaa246ea78
2 changed files with 80 additions and 84 deletions
|
@ -98,9 +98,6 @@ typedef struct {
|
|||
#define ISICOM_INITIATE_XONXOFF 0x04
|
||||
#define ISICOM_RESPOND_XONXOFF 0x08
|
||||
|
||||
#define InterruptTheCard(base) (outw(0,(base)+0xc))
|
||||
#define ClearInterrupt(base) (inw((base)+0x0a))
|
||||
|
||||
#define BOARD(line) (((line) >> 4) & 0x3)
|
||||
|
||||
/* isi kill queue bitmap */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue