ref: 1d5618a9b92b192ad4c7645a2102b10e79e9d38e
dir: /sys/src/9/port/led.h/
typedef struct Ledport Ledport;
struct Ledport {
uchar nled;
uchar led;
ushort ledbits; /* implementation dependent */
};
/* http://en.wikipedia.org/wiki/IBPI */
enum {
Ibpinone,
Ibpinormal,
Ibpilocate,
Ibpifail,
Ibpirebuild,
Ibpipfa,
Ibpispare,
Ibpicritarray,
Ibpifailarray,
Ibpilast,
};
char *ledname(int);
int name2led(char*);
long ledr(Ledport*, Chan*, void*, long, vlong);
long ledw(Ledport*, Chan*, void*, long, vlong);