arch/mips/sgi-ip22/ip22-eisa.c
Source file repositories/reference/linux-study-clean/arch/mips/sgi-ip22/ip22-eisa.c
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/sgi-ip22/ip22-eisa.c- Extension
.c- Size
- 3389 bytes
- Lines
- 140
- Domain
- Architecture Layer
- Bucket
- arch/mips
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
Dependency Surface
linux/eisa.hlinux/types.hlinux/init.hlinux/irq.hlinux/kernel_stat.hlinux/signal.hlinux/sched.hlinux/interrupt.hlinux/delay.hasm/io.hasm/irq.hasm/mipsregs.hasm/addrspace.hasm/processor.hasm/sgi/ioc.hasm/sgi/mc.hasm/sgi/ip22.hasm/i8259.h
Detected Declarations
function ip22_eisa_intrfunction ip22_eisa_init
Annotated Snippet
if ((str = decode_eisa_sig(0x1000 * i + EISA_VENDOR_ID_OFFSET))) {
printk(KERN_INFO "EISA: slot %d : %s detected.\n",
i, str);
c++;
}
}
printk(KERN_INFO "EISA: Detected %d card%s.\n", c, c < 2 ? "" : "s");
#ifdef CONFIG_ISA
printk(KERN_INFO "ISA support compiled in.\n");
#endif
/* Warning : BlackMagicAhead(tm).
Please wave your favorite dead chicken over the busses */
/* First say hello to the EIU */
outl(0x0000FFFF, EIU_PREMPT_REG);
outl(1, EIU_QUIET_REG);
outl(0x40f3c07F, EIU_MODE_REG);
/* Now be nice to the EISA chipset */
outb(1, EISA_EXT_NMI_RESET_CTRL);
udelay(50); /* Wait long enough for the dust to settle */
outb(0, EISA_EXT_NMI_RESET_CTRL);
outb(0, EISA_DMA2_WRITE_SINGLE);
init_i8259_irqs();
if (request_irq(SGI_EISA_IRQ, ip22_eisa_intr, 0, "EISA", NULL))
pr_err("Failed to request irq %d (EISA)\n", SGI_EISA_IRQ);
EISA_bus = 1;
return 0;
}
Annotation
- Immediate include surface: `linux/eisa.h`, `linux/types.h`, `linux/init.h`, `linux/irq.h`, `linux/kernel_stat.h`, `linux/signal.h`, `linux/sched.h`, `linux/interrupt.h`.
- Detected declarations: `function ip22_eisa_intr`, `function ip22_eisa_init`.
- Atlas domain: Architecture Layer / arch/mips.
- Implementation status: source implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.