ncr5380: Remove more pointless macros
ASM macro is never defined. rtrc in pas16.c is not used. NCR5380_map_config, do_NCR5380_intr, do_t128_intr and do_pas16_intr are unused. NCR_NOT_SET harms readability. Remove them. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
2f7dba9f7d
commit
c0965e6371
@@ -145,22 +145,6 @@ static const unsigned short pas16_offset[ 8 ] =
|
||||
* START_DMA_INITIATOR_RECEIVE_REG wo
|
||||
*/
|
||||
};
|
||||
/*----------------------------------------------------------------*/
|
||||
/* the following will set the monitor border color (useful to find
|
||||
where something crashed or gets stuck at */
|
||||
/* 1 = blue
|
||||
2 = green
|
||||
3 = cyan
|
||||
4 = red
|
||||
5 = magenta
|
||||
6 = yellow
|
||||
7 = white
|
||||
*/
|
||||
#if 1
|
||||
#define rtrc(i) {inb(0x3da); outb(0x31, 0x3c0); outb((i), 0x3c0);}
|
||||
#else
|
||||
#define rtrc(i) {}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user