From: Kenn H. <ke...@us...> - 2001-01-26 00:26:38
|
Update of /cvsroot/linux-vax/kernel-2.4/drivers/vsbus In directory usw-pr-cvs1:/tmp/cvs-serv25353/drivers/vsbus Added Files: Makefile vsbus.c Log Message: Bring forward all 2.2 work from before new year. This should give us all a (somewhat) bootable kernel. --- NEW FILE --- # # Makefile for the linux kernel. # # Note! Dependencies are done automagically by 'make dep', which also # removes any old dependencies. DON'T put your own dependencies here # unless it's something special (ie not a .c file). # # Note 2! The CFLAGS definitions are now in the main makefile... SUB_DIRS := MOD_SUB_DIRS := ALL_SUB_DIRS := L_TARGET := vsbus.a obj-y := vsbus.o include $(TOPDIR)/Rules.make --- NEW FILE --- /* * drivers/vsbus/vsbus.c * * Copyright (c) 2000 Dave Airlie * * Handles the VSBUS interrupt strategy.. heavily taken from NetBSD * will be written eventually */ #include <asm/vsa.h> #include <asm/io.h> struct vs_cpu *vs_cpu_ptr; int vsa_setup(void) { vs_cpu_ptr=(void *)ioremap(VSA_BASE_REGS, 128); vs_cpu_ptr->vc_intreq=0; return 0; } int vsa_enable_int(int bit_nr) { vs_cpu_ptr->vc_intmsk=1<<bit_nr; return 0; } int vsa_clear_int(int bit_nr) { vs_cpu_ptr->vc_intclr=1<<bit_nr; return 0; } int vsa_probe_irq(void) { return 0; } |