OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [m68k/] [sun3/] [leds.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#include <asm/contregs.h>
2
#include <asm/sun3mmu.h>
3
#include <asm/io.h>
4
#include <asm/movs.h>
5
 
6
#define FC_CONTROL 3    /* This should go somewhere else... */
7
 
8
void sun3_leds(unsigned char byte)
9
{
10
        unsigned char dfc;
11
 
12
        GET_DFC(dfc);
13
        SET_DFC(FC_CONTROL);
14
        SET_CONTROL_BYTE(AC_LEDS,byte);
15
        SET_DFC(dfc);
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.