Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3)  *	linux/arch/alpha/kernel/sys_jensen.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5)  *	Copyright (C) 1995 Linus Torvalds
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6)  *	Copyright (C) 1998, 1999 Richard Henderson
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8)  * Code supporting the Jensen.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) #include <linux/kernel.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) #include <linux/mm.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) #include <linux/sched.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) #include <linux/pci.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) #include <linux/init.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) #include <asm/ptrace.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) #define __EXTERN_INLINE inline
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) #include <asm/io.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) #include <asm/jensen.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) #undef  __EXTERN_INLINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) #include <asm/dma.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) #include <asm/irq.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) #include <asm/mmu_context.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) #include <asm/tlbflush.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) #include "proto.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) #include "irq_impl.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) #include "pci_impl.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) #include "machvec_impl.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37)  * Jensen is special: the vector is 0x8X0 for EISA interrupt X, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38)  * 0x9X0 for the local motherboard interrupts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40)  * Note especially that those local interrupts CANNOT be masked,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41)  * which causes much of the pain below...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43)  *	0x660 - NMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45)  *	0x800 - IRQ0  interval timer (not used, as we use the RTC timer)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46)  *	0x810 - IRQ1  line printer (duh..)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47)  *	0x860 - IRQ6  floppy disk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49)  *	0x900 - COM1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50)  *	0x920 - COM2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51)  *	0x980 - keyboard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52)  *	0x990 - mouse
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54)  * PCI-based systems are more sane: they don't have the local
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55)  * interrupts at all, and have only normal PCI interrupts from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56)  * devices.  Happily it's easy enough to do a sane mapping from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57)  * Jensen.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58)  * 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59)  * Note that this means that we may have to do a hardware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60)  * "local_op" to a different interrupt than we report to the rest of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61)  * world.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) static void
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) jensen_local_enable(struct irq_data *d)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	/* the parport is really hw IRQ 1, silly Jensen.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 	if (d->irq == 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 		i8259a_enable_irq(d);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) static void
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) jensen_local_disable(struct irq_data *d)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 	/* the parport is really hw IRQ 1, silly Jensen.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 	if (d->irq == 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 		i8259a_disable_irq(d);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) static void
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) jensen_local_mask_ack(struct irq_data *d)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	/* the parport is really hw IRQ 1, silly Jensen.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	if (d->irq == 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 		i8259a_mask_and_ack_irq(d);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) static struct irq_chip jensen_local_irq_type = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 	.name		= "LOCAL",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 	.irq_unmask	= jensen_local_enable,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	.irq_mask	= jensen_local_disable,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	.irq_mask_ack	= jensen_local_mask_ack,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) static void 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) jensen_device_interrupt(unsigned long vector)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 	int irq;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	switch (vector) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	case 0x660:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 		printk("Whee.. NMI received. Probable hardware error\n");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 		printk("61=%02x, 461=%02x\n", inb(0x61), inb(0x461));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 		return;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	/* local device interrupts: */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 	case 0x900: irq = 4; break;		/* com1 -> irq 4 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	case 0x920: irq = 3; break;		/* com2 -> irq 3 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 	case 0x980: irq = 1; break;		/* kbd -> irq 1 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	case 0x990: irq = 9; break;		/* mouse -> irq 9 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	default:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 		if (vector > 0x900) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 			printk("Unknown local interrupt %lx\n", vector);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 			return;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 		}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 		irq = (vector - 0x800) >> 4;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 		if (irq == 1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 			irq = 7;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 		break;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 	}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 	/* If there is no handler yet... */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 	if (!irq_has_action(irq)) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 	    /* If it is a local interrupt that cannot be masked... */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 	    if (vector >= 0x900)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 	    {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 	        /* Clear keyboard/mouse state */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 	    	inb(0x64);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 		inb(0x60);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 		/* Reset serial ports */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 		inb(0x3fa);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 		inb(0x2fa);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 		outb(0x0c, 0x3fc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 		outb(0x0c, 0x2fc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 		/* Clear NMI */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 		outb(0,0x61);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 		outb(0,0x461);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 	    }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) #if 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144)         /* A useful bit of code to find out if an interrupt is going wild.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145)         {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)           static unsigned int last_msg = 0, last_cc = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147)           static int last_irq = -1, count = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148)           unsigned int cc;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)           __asm __volatile("rpcc %0" : "=r"(cc));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151)           ++count;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) #define JENSEN_CYCLES_PER_SEC	(150000000)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153)           if (cc - last_msg > ((JENSEN_CYCLES_PER_SEC) * 3) ||
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 	      irq != last_irq) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155)                 printk(KERN_CRIT " irq %d count %d cc %u @ %lx\n",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)                        irq, count, cc-last_cc, get_irq_regs()->pc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157)                 count = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158)                 last_msg = cc;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159)                 last_irq = irq;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160)           }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161)           last_cc = cc;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)         }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 	handle_irq(irq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) static void __init
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) jensen_init_irq(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 	init_i8259a_irqs();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 	irq_set_chip_and_handler(1, &jensen_local_irq_type, handle_level_irq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 	irq_set_chip_and_handler(4, &jensen_local_irq_type, handle_level_irq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 	irq_set_chip_and_handler(3, &jensen_local_irq_type, handle_level_irq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 	irq_set_chip_and_handler(7, &jensen_local_irq_type, handle_level_irq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 	irq_set_chip_and_handler(9, &jensen_local_irq_type, handle_level_irq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 	common_init_isa_dma();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) static void __init
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) jensen_init_arch(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 	struct pci_controller *hose;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) #ifdef CONFIG_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 	static struct pci_dev fake_isa_bridge = { .dma_mask = 0xffffffffUL, };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 	isa_bridge = &fake_isa_bridge;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) 	/* Create a hose so that we can report i/o base addresses to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 	   userland.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 	pci_isa_hose = hose = alloc_pci_controller();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 	hose->io_space = &ioport_resource;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) 	hose->mem_space = &iomem_resource;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 	hose->index = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) 	hose->sparse_mem_base = EISA_MEM - IDENT_ADDR;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 	hose->dense_mem_base = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) 	hose->sparse_io_base = EISA_IO - IDENT_ADDR;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 	hose->dense_io_base = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 	hose->sg_isa = hose->sg_pci = NULL;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 	__direct_map_base = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 	__direct_map_size = 0xffffffff;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) static void
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) jensen_machine_check(unsigned long vector, unsigned long la)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 	printk(KERN_CRIT "Machine check\n");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217)  * The System Vector
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) struct alpha_machine_vector jensen_mv __initmv = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) 	.vector_name		= "Jensen",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 	DO_EV4_MMU,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 	IO_LITE(JENSEN,jensen),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) 	.machine_check		= jensen_machine_check,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) 	.max_isa_dma_address	= ALPHA_MAX_ISA_DMA_ADDRESS,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) 	.rtc_port		= 0x170,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 	.nr_irqs		= 16,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) 	.device_interrupt	= jensen_device_interrupt,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) 	.init_arch		= jensen_init_arch,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 	.init_irq		= jensen_init_irq,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) 	.init_rtc		= common_init_rtc,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) 	.init_pci		= NULL,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) 	.kill_arch		= NULL,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) ALIAS_MV(jensen)