/*1** asm/blinken.h -- m68k blinkenlights support (currently hp300 only)2**3** (c) 1998 Phil Blundell <[email protected]>4**5** This file is subject to the terms and conditions of the GNU General Public6** License. See the file COPYING in the main directory of this archive7** for more details.8**9*/1011#ifndef _M68K_BLINKEN_H12#define _M68K_BLINKEN_H1314#include <asm/setup.h>15#include <asm/io.h>1617#define HP300_LEDS 0xf001ffff1819extern unsigned char ledstate;2021static __inline__ void blinken_leds(int on, int off)22{23if (MACH_IS_HP300)24{25ledstate |= on;26ledstate &= ~off;27out_8(HP300_LEDS, ~ledstate);28}29}3031#endif323334