Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

sys_sx164.c File Reference

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm/dma.h>
#include <asm/irq.h>
#include <asm/bitops.h>
#include <asm/mmu_context.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/core_pyxis.h>
#include "proto.h"
#include "irq.h"
#include "bios32.h"
#include "machvec.h"

Include dependency graph for sys_sx164.c:

Go to the source code of this file.

Functions

static void sx164_update_irq_hw (unsigned long irq, unsigned long mask, int unmask_p)
static void sx164_srm_update_irq_hw (unsigned long irq, unsigned long mask, int unmask_p)
static void sx164_device_interrupt (unsigned long vector, struct pt_regs *regs)
static void sx164_init_irq (void)
static int __init sx164_map_irq (struct pci_dev *dev, int slot, int pin)
void __init sx164_pci_fixup (void)

Variables

alpha_machine_vector sx164_mv __initmv


Function Documentation

static void sx164_device_interrupt unsigned long  vector,
struct pt_regs regs
[static]
 

Definition at line 67 of file sys_sx164.c.

References ffz(), handle_irq(), i, isa_device_interrupt(), mb, PYXIS_INT_REQ, tmp, and vulp.

Here is the call graph for this function:

static void sx164_init_irq void   )  [static]
 

Definition at line 104 of file sys_sx164.c.

References alpha_irq_mask, alpha_using_srm, DMA1_RESET_REG, DMA2_MASK_REG, DMA2_MODE_REG, DMA2_RESET_REG, DMA_MODE_CASCADE, enable_irq, long, mb, outb, PYXIS_INT_MASK, srm_device_interrupt(), sx164_srm_update_irq_hw(), and vulp.

Here is the call graph for this function:

static int __init sx164_map_irq struct pci_dev *  dev,
int  slot,
int  pin
[static]
 

Definition at line 167 of file sys_sx164.c.

References __initlocaldata, COMMON_TABLE_LOOKUP, and irq_tab.

Referenced by sx164_pci_fixup().

void __init sx164_pci_fixup void   ) 
 

Definition at line 182 of file sys_sx164.c.

References common_pci_fixup(), common_swizzle(), DEFAULT_IO_BASE, DEFAULT_MEM_BASE, layout_all_busses(), SMC669_Init(), and sx164_map_irq().

Here is the call graph for this function:

static void sx164_srm_update_irq_hw unsigned long  irq,
unsigned long  mask,
int  unmask_p
[static]
 

Definition at line 52 of file sys_sx164.c.

References cserve_dis(), cserve_ena, and outb.

Referenced by sx164_init_irq().

Here is the call graph for this function:

static void sx164_update_irq_hw unsigned long  irq,
unsigned long  mask,
int  unmask_p
[static]
 

Definition at line 35 of file sys_sx164.c.

References long, mb, outb, PYXIS_INT_MASK, and vulp.


Variable Documentation

struct alpha_machine_vector sx164_mv __initmv
 

Initial value:

 {
        vector_name:            "SX164",
        DO_EV5_MMU,
        DO_DEFAULT_RTC,
        DO_PYXIS_IO,
        DO_PYXIS_BUS,
        machine_check:          pyxis_machine_check,
        max_dma_address:        ALPHA_MAX_DMA_ADDRESS,

        nr_irqs:                40,
        irq_probe_mask:         _PROBE_MASK(40),
        update_irq_hw:          sx164_update_irq_hw,
        ack_irq:                generic_ack_irq,
        device_interrupt:       sx164_device_interrupt,

        init_arch:              pyxis_init_arch,
        init_irq:               sx164_init_irq,
        init_pit:               generic_init_pit,
        pci_fixup:              sx164_pci_fixup,
        kill_arch:              generic_kill_arch,
}

Definition at line 194 of file sys_sx164.c.