sys_rawhide.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | sys_rawhide.c (814eae5982cc55988f642f7f1d10eaf340845c00) |
---|---|
1/* 2 * linux/arch/alpha/kernel/sys_rawhide.c 3 * 4 * Copyright (C) 1995 David A Rusling 5 * Copyright (C) 1996 Jay A Estabrook 6 * Copyright (C) 1998, 1999 Richard Henderson 7 * 8 * Code supporting the RAWHIDE. --- 207 unchanged lines hidden (view full) --- 216 * 1 EISA bridge (PCI bus 0 only) 217 * 2 PCI option slot 2 218 * 3 PCI option slot 3 219 * 4 PCI option slot 4 220 * 5 PCI option slot 5 221 * 222 */ 223 | 1/* 2 * linux/arch/alpha/kernel/sys_rawhide.c 3 * 4 * Copyright (C) 1995 David A Rusling 5 * Copyright (C) 1996 Jay A Estabrook 6 * Copyright (C) 1998, 1999 Richard Henderson 7 * 8 * Code supporting the RAWHIDE. --- 207 unchanged lines hidden (view full) --- 216 * 1 EISA bridge (PCI bus 0 only) 217 * 2 PCI option slot 2 218 * 3 PCI option slot 3 219 * 4 PCI option slot 4 220 * 5 PCI option slot 5 221 * 222 */ 223 |
224static int __init | 224static int |
225rawhide_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 226{ | 225rawhide_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 226{ |
227 static char irq_tab[5][5] __initdata = { | 227 static char irq_tab[5][5] = { |
228 /*INT INTA INTB INTC INTD */ 229 { 16+16, 16+16, 16+16, 16+16, 16+16}, /* IdSel 1 SCSI PCI 1 */ 230 { 16+ 0, 16+ 0, 16+ 1, 16+ 2, 16+ 3}, /* IdSel 2 slot 2 */ 231 { 16+ 4, 16+ 4, 16+ 5, 16+ 6, 16+ 7}, /* IdSel 3 slot 3 */ 232 { 16+ 8, 16+ 8, 16+ 9, 16+10, 16+11}, /* IdSel 4 slot 4 */ 233 { 16+12, 16+12, 16+13, 16+14, 16+15} /* IdSel 5 slot 5 */ 234 }; 235 const long min_idsel = 1, max_idsel = 5, irqs_per_slot = 5; --- 36 unchanged lines hidden --- | 228 /*INT INTA INTB INTC INTD */ 229 { 16+16, 16+16, 16+16, 16+16, 16+16}, /* IdSel 1 SCSI PCI 1 */ 230 { 16+ 0, 16+ 0, 16+ 1, 16+ 2, 16+ 3}, /* IdSel 2 slot 2 */ 231 { 16+ 4, 16+ 4, 16+ 5, 16+ 6, 16+ 7}, /* IdSel 3 slot 3 */ 232 { 16+ 8, 16+ 8, 16+ 9, 16+10, 16+11}, /* IdSel 4 slot 4 */ 233 { 16+12, 16+12, 16+13, 16+14, 16+15} /* IdSel 5 slot 5 */ 234 }; 235 const long min_idsel = 1, max_idsel = 5, irqs_per_slot = 5; --- 36 unchanged lines hidden --- |