cregit-Linux how code gets into the kernel

Release 4.14 arch/m68k/sun3x/config.c

Directory: arch/m68k/sun3x
// SPDX-License-Identifier: GPL-2.0
/*
 * Setup kernel for a Sun3x machine
 *
 * (C) 1999 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
 *
 * based on code from Oliver Jowett <oliver@jowett.manawatu.gen.nz>
 */

#include <linux/types.h>
#include <linux/mm.h>
#include <linux/seq_file.h>
#include <linux/console.h>
#include <linux/init.h>

#include <asm/machdep.h>
#include <asm/irq.h>
#include <asm/sun3xprom.h>
#include <asm/sun3ints.h>
#include <asm/setup.h>
#include <asm/oplib.h>

#include "time.h"


volatile char *clock_va;

extern void sun3_get_model(char *model);


void sun3_leds(unsigned int i) { }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)562.50%150.00%
Linus Torvalds337.50%150.00%
Total8100.00%2100.00%


static void sun3x_get_hardware_list(struct seq_file *m) { seq_printf(m, "PROM Revision:\t%s\n", romvec->pv_monid); }

Contributors

PersonTokensPropCommitsCommitProp
Geert Uytterhoeven627.27%125.00%
Alexey Dobriyan627.27%125.00%
Linus Torvalds (pre-git)522.73%125.00%
Linus Torvalds522.73%125.00%
Total22100.00%4100.00%

/* * Setup the sun3x configuration info */
void __init config_sun3x(void) { sun3x_prom_init(); mach_max_dma_address = 0xffffffff; /* we can DMA anywhere, whee */ mach_sched_init = sun3x_sched_init; mach_init_IRQ = sun3_init_IRQ; arch_gettimeoffset = sun3x_gettimeoffset; mach_reset = sun3x_reboot; mach_hwclk = sun3x_hwclk; mach_get_model = sun3_get_model; mach_get_hardware_list = sun3x_get_hardware_list; sun3_intreg = (unsigned char *)SUN3X_INTREG; /* only the serial console is known to work anyway... */ #if 0 switch (*(unsigned char *)SUN3X_EEPROM_CONS) { case 0x10: serial_console = 1; conswitchp = NULL; break; case 0x11: serial_console = 2; conswitchp = NULL; break; default: serial_console = 0; conswitchp = &dummy_con; break; } #endif }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3456.67%240.00%
Linus Torvalds2033.33%120.00%
Roman Zippel58.33%120.00%
Stephen Warren11.67%120.00%
Total60100.00%5100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)7351.05%225.00%
Linus Torvalds3625.17%112.50%
Geert Uytterhoeven1812.59%112.50%
Alexey Dobriyan96.29%112.50%
Roman Zippel53.50%112.50%
Greg Kroah-Hartman10.70%112.50%
Stephen Warren10.70%112.50%
Total143100.00%8100.00%
Directory: arch/m68k/sun3x
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.