root/arch/alpha/kernel/irq.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. disable_irq
  2. enable_irq
  3. get_irq_list
  4. ack_irq
  5. mask_irq
  6. unmask_irq
  7. request_irq
  8. free_irq
  9. handle_nmi
  10. unexpected_irq
  11. handle_irq
  12. device_interrupt
  13. isa_device_interrupt
  14. cabriolet_and_eb66p_device_interrupt
  15. eb66_and_eb64p_device_interrupt
  16. srm_device_interrupt
  17. probe_irq_on
  18. probe_irq_off
  19. machine_check
  20. do_entInt
  21. init_IRQ

   1 /*
   2  *      linux/arch/alpha/kernel/irq.c
   3  *
   4  *      Copyright (C) 1995 Linus Torvalds
   5  *
   6  * This file contains the code used by various IRQ handling routines:
   7  * asking for different IRQ's should be done through these routines
   8  * instead of just grabbing them. Thus setups with different IRQ numbers
   9  * shouldn't result in any weird surprises, and installing new handlers
  10  * should be easier.
  11  */
  12 
  13 #include <linux/config.h>
  14 #include <linux/ptrace.h>
  15 #include <linux/errno.h>
  16 #include <linux/kernel_stat.h>
  17 #include <linux/signal.h>
  18 #include <linux/sched.h>
  19 #include <linux/interrupt.h>
  20 #include <linux/random.h>
  21 
  22 #include <asm/system.h>
  23 #include <asm/io.h>
  24 #include <asm/irq.h>
  25 #include <asm/bitops.h>
  26 #include <asm/dma.h>
  27 
  28 extern void timer_interrupt(struct pt_regs * regs);
  29 
  30 static unsigned char cache_21 = 0xff;
  31 static unsigned char cache_A1 = 0xff;
  32 
  33 #if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
  34   static unsigned char cache_804 = 0xef;
  35   static unsigned char cache_805 = 0xff;
  36   static unsigned char cache_806 = 0xff;
  37 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB64P)
  38   static unsigned char cache_26 = 0xdf;
  39   static unsigned char cache_27 = 0xff;
  40 #endif
  41 
  42 void disable_irq(unsigned int irq_nr)
     /* [previous][next][first][last][top][bottom][index][help] */
  43 {
  44         unsigned long flags;
  45         unsigned char mask;
  46 
  47         save_flags(flags);
  48         cli();
  49         mask = 1 << (irq_nr & 7);
  50 
  51         if (irq_nr < 8) {
  52                 cache_21 |= mask;
  53                 outb(cache_21,0x21);
  54         } else if (irq_nr < 16) {
  55                 cache_A1 |= mask;
  56                 outb(cache_A1,0xA1);
  57 #if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
  58         } else if (irq_nr < 24) {
  59                 cache_804 |= mask;
  60                 outb(cache_804, 0x804);
  61         } else if (irq_nr < 32) {
  62                 cache_805 |= mask;
  63                 outb(cache_805, 0x805);
  64         } else {
  65                 cache_806 |= mask;
  66                 outb(cache_806, 0x806);
  67 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB64P) 
  68         } else if (irq_nr < 24) {
  69                 cache_26 |= mask;
  70                 outb(cache_26, 0x26);
  71         } else {
  72                 cache_27 |= mask;
  73                 outb(cache_27, 0x27);
  74 #endif
  75         }
  76         restore_flags(flags);
  77 }
  78 
  79 void enable_irq(unsigned int irq_nr)
     /* [previous][next][first][last][top][bottom][index][help] */
  80 {
  81         unsigned long flags;
  82         unsigned char mask;
  83 
  84         mask = ~(1 << (irq_nr & 7));
  85         save_flags(flags);
  86         cli();
  87 
  88         if (irq_nr < 8) {
  89                 cache_21 &= mask;
  90                 outb(cache_21,0x21);
  91         } else if (irq_nr < 16) {
  92                 cache_A1 &= mask;
  93                 outb(cache_A1,0xA1);
  94 #if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
  95         } else if (irq_nr < 24) {
  96                 cache_804 &= mask;
  97                 outb(cache_804, 0x804);
  98         } else if (irq_nr < 32) {
  99                 cache_805 &= mask;
 100                 outb(cache_805, 0x805);
 101         } else {
 102                 cache_806 &= mask;
 103                 outb(cache_806, 0x806);
 104 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB64P)
 105         } else if (irq_nr < 24) {
 106                 cache_26 &= mask;
 107                 outb(cache_26, 0x26);
 108         } else {
 109                 cache_27 &= mask;
 110                 outb(cache_27, 0x27);
 111 #endif
 112         }
 113         restore_flags(flags);
 114 }
 115 
 116 /*
 117  * Initial irq handlers.
 118  */
 119 struct irqaction {
 120         void (*handler)(int, struct pt_regs *);
 121         unsigned long flags;
 122         unsigned long mask;
 123         const char *name;
 124 };
 125 
 126 static struct irqaction irq_action[NR_IRQS];
 127 
 128 int get_irq_list(char *buf)
     /* [previous][next][first][last][top][bottom][index][help] */
 129 {
 130         int i, len = 0;
 131         struct irqaction * action = irq_action;
 132 
 133         for (i = 0 ; i < NR_IRQS ; i++, action++) {
 134                 if (!action->handler)
 135                         continue;
 136                 len += sprintf(buf+len, "%2d: %8d %c %s\n",
 137                         i, kstat.interrupts[i],
 138                         (action->flags & SA_INTERRUPT) ? '+' : ' ',
 139                         action->name);
 140         }
 141         return len;
 142 }
 143 
 144 static inline void ack_irq(int irq)
     /* [previous][next][first][last][top][bottom][index][help] */
 145 {
 146         if (irq < 16) {
 147                 /* ACK the interrupt making it the lowest priority */
 148                 /*  First the slave .. */
 149                 if (irq > 7) {
 150                         outb(0xE0 | (irq - 8), 0xa0);
 151                         irq = 2;
 152                 }
 153                 /* .. then the master */
 154                 outb(0xE0 | irq, 0x20);
 155         }
 156 }
 157 
 158 static inline void mask_irq(int irq)
     /* [previous][next][first][last][top][bottom][index][help] */
 159 {
 160         unsigned char mask;
 161 
 162         mask = 1 << (irq & 7);
 163         if (irq < 8) {
 164                 cache_21 |= mask;
 165                 outb(cache_21, 0x21);
 166         } else if (irq < 16) {
 167                 cache_A1 |= mask;
 168                 outb(cache_A1, 0xA1);
 169 #if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
 170         } else if (irq < 24) {
 171                 cache_804 |= mask;
 172                 outb(cache_804, 0x804);
 173         } else if (irq < 32) {
 174                 cache_805 |= mask;
 175                 outb(cache_805, 0x805);
 176         } else {
 177                 cache_806 |= mask;
 178                 outb(cache_806, 0x806);
 179 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB66P)
 180         } else if (irq < 24) {
 181                 cache_26 |= mask;
 182                 outb(cache_26, 0x26);
 183         } else {
 184                 cache_27 |= mask;
 185                 outb(cache_27, 0x27);
 186 #endif
 187         }
 188 }
 189 
 190 static inline void unmask_irq(unsigned long irq)
     /* [previous][next][first][last][top][bottom][index][help] */
 191 {
 192         unsigned char mask = ~(1 << (irq & 7));
 193 
 194         if (irq < 8) {
 195                 cache_21 &= mask;
 196                 outb(cache_21, 0x21);
 197         } else if (irq < 16) {
 198                 cache_A1 &= mask;
 199                 outb(cache_A1, 0xA1);
 200 #if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
 201         } else if (irq < 24) {
 202                 cache_804 &= mask;
 203                 outb(cache_804, 0x804);
 204         } else if (irq < 32) {
 205                 cache_805 &= mask;
 206                 outb(cache_805, 0x805);
 207         } else {
 208                 cache_806 &= mask;
 209                 outb(cache_806, 0x806);
 210 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB66P)
 211         } else if (irq < 24) {
 212                 cache_26 &= mask;
 213                 outb(cache_26, 0x26);
 214         } else {
 215                 cache_27 &= mask;
 216                 outb(cache_27, 0x27);
 217 #endif
 218         }
 219 }
 220 
 221 int request_irq(unsigned int irq, void (*handler)(int, struct pt_regs *),
     /* [previous][next][first][last][top][bottom][index][help] */
 222         unsigned long irqflags, const char * devname)
 223 {
 224         struct irqaction * action;
 225         unsigned long flags;
 226 
 227         if (irq >= NR_IRQS)
 228                 return -EINVAL;
 229         /* don't accept requests for irq #0 */
 230         if (!irq)
 231                 return -EINVAL;
 232         action = irq + irq_action;
 233         if (action->handler)
 234                 return -EBUSY;
 235         if (!handler)
 236                 return -EINVAL;
 237         save_flags(flags);
 238         cli();
 239         action->handler = handler;
 240         action->flags = irqflags;
 241         action->mask = 0;
 242         action->name = devname;
 243         enable_irq(irq);
 244         if (irq >= 8 && irq < 16) {
 245                 enable_irq(2);  /* ensure cascade is enabled too */
 246         }
 247         restore_flags(flags);
 248         return 0;
 249 }
 250 
 251 void free_irq(unsigned int irq)
     /* [previous][next][first][last][top][bottom][index][help] */
 252 {
 253         struct irqaction * action = irq + irq_action;
 254         unsigned long flags;
 255 
 256         if (irq >= NR_IRQS) {
 257                 printk("Trying to free IRQ%d\n", irq);
 258                 return;
 259         }
 260         if (!action->handler) {
 261                 printk("Trying to free free IRQ%d\n", irq);
 262                 return;
 263         }
 264         save_flags(flags);
 265         cli();
 266         mask_irq(irq);
 267         action->handler = NULL;
 268         action->flags = 0;
 269         action->mask = 0;
 270         action->name = NULL;
 271         restore_flags(flags);
 272 }
 273 
 274 static inline void handle_nmi(struct pt_regs * regs)
     /* [previous][next][first][last][top][bottom][index][help] */
 275 {
 276         printk("Whee.. NMI received. Probable hardware error\n");
 277         printk("61=%02x, 461=%02x\n", inb(0x61), inb(0x461));
 278 }
 279 
 280 static void unexpected_irq(int irq, struct pt_regs * regs)
     /* [previous][next][first][last][top][bottom][index][help] */
 281 {
 282         int i;
 283 
 284         printk("IO device interrupt, irq = %d\n", irq);
 285         printk("PC = %016lx PS=%04lx\n", regs->pc, regs->ps);
 286         printk("Expecting: ");
 287         for (i = 0; i < 16; i++)
 288                 if (irq_action[i].handler)
 289                         printk("[%s:%d] ", irq_action[i].name, i);
 290         printk("\n");
 291 #if defined(CONFIG_ALPHA_JENSEN)
 292         printk("64=%02x, 60=%02x, 3fa=%02x 2fa=%02x\n",
 293                 inb(0x64), inb(0x60), inb(0x3fa), inb(0x2fa));
 294         outb(0x0c, 0x3fc);
 295         outb(0x0c, 0x2fc);
 296         outb(0,0x61);
 297         outb(0,0x461);
 298 #elif defined(CONFIG_ALPHA_NONAME)
 299         printk("61=%02x, 64=%02x, 60=%02x\n", inb(0x61), inb(0x64), inb(0x60));
 300 #endif
 301 }
 302 
 303 static inline void handle_irq(int irq, struct pt_regs * regs)
     /* [previous][next][first][last][top][bottom][index][help] */
 304 {
 305         struct irqaction * action = irq + irq_action;
 306 
 307         kstat.interrupts[irq]++;
 308         if (!action->handler) {
 309                 unexpected_irq(irq, regs);
 310                 return;
 311         }
 312         action->handler(irq, regs);
 313 }
 314 
 315 static inline void device_interrupt(int irq, int ack, struct pt_regs * regs)
     /* [previous][next][first][last][top][bottom][index][help] */
 316 {
 317         struct irqaction * action;
 318 
 319         if ((unsigned) irq > NR_IRQS) {
 320                 printk("device_interrupt: unexpected interrupt %d\n", irq);
 321                 return;
 322         }
 323 
 324         kstat.interrupts[irq]++;
 325         action = irq_action + irq;
 326         if (action->flags & SA_SAMPLE_RANDOM)
 327                 add_interrupt_randomness(irq);
 328         /* quick interrupts get executed with no extra overhead */
 329         if (action->flags & SA_INTERRUPT) {
 330                 action->handler(irq, regs);
 331                 ack_irq(ack);
 332                 return;
 333         }
 334         /*
 335          * For normal interrupts, we mask it out, and then ACK it.
 336          * This way another (more timing-critical) interrupt can
 337          * come through while we're doing this one.
 338          *
 339          * Note! A irq without a handler gets masked and acked, but
 340          * never unmasked. The autoirq stuff depends on this (it looks
 341          * at the masks before and after doing the probing).
 342          */
 343         mask_irq(ack);
 344         ack_irq(ack);
 345         if (!action->handler)
 346                 return;
 347         action->handler(irq, regs);
 348         unmask_irq(ack);
 349 }
 350 
 351 /*
 352  * Handle ISA interrupt via the PICs.
 353  */
 354 static inline void isa_device_interrupt(unsigned long vector,
     /* [previous][next][first][last][top][bottom][index][help] */
 355                                         struct pt_regs * regs)
 356 {
 357         unsigned long pic;
 358         int j;
 359         /* 
 360          *  The first read of gives you *all* interrupting lines.
 361          *  Therefore, read the mask register and and out those lines
 362          *  not enabled.  Note that some documentation has 21 and a1 
 363          *  write only.  This is not true.
 364          */
 365         pic = inb(0x20) | (inb(0xA0) << 8);     /* read isr */
 366         pic &= ~((cache_A1 << 8) | cache_21);   /* apply mask */
 367         pic &= 0xFFFB;                          /* mask out cascade */
 368 
 369         while (pic) {
 370                 j = ffz(~pic);
 371                 pic &= pic - 1;
 372                 device_interrupt(j, j, regs);
 373         }
 374 }
 375 
 376 static inline void cabriolet_and_eb66p_device_interrupt(unsigned long vector,
     /* [previous][next][first][last][top][bottom][index][help] */
 377                                                         struct pt_regs * regs)
 378 {
 379         unsigned long pld;
 380         unsigned int i;
 381         unsigned long flags;
 382 
 383         save_flags(flags);
 384         cli();
 385 
 386         /* read the interrupt summary registers */
 387         pld = inb(0x804) | (inb(0x805) << 8) | (inb(0x806) << 16);
 388 
 389         /*
 390          * Now for every possible bit set, work through them and call
 391          * the appropriate interrupt handler.
 392          */
 393         while (pld) {
 394                 i = ffz(~pld);
 395                 pld &= pld - 1; /* clear least bit set */
 396                 if (i == 4) {
 397                         isa_device_interrupt(vector, regs);
 398                 } else {
 399                         device_interrupt(16 + i, 16 + i, regs);
 400                 }
 401         }
 402         restore_flags(flags);
 403 }
 404 
 405 static inline void eb66_and_eb64p_device_interrupt(unsigned long vector,
     /* [previous][next][first][last][top][bottom][index][help] */
 406                                                    struct pt_regs * regs)
 407 {
 408         unsigned long pld;
 409         unsigned int i;
 410         unsigned long flags;
 411 
 412         save_flags(flags);
 413         cli();
 414 
 415         /* read the interrupt summary registers */
 416         pld = inb(0x26) | (inb(0x27) << 8);
 417         /*
 418          * Now, for every possible bit set, work through
 419          * them and call the appropriate interrupt handler.
 420          */
 421         while (pld) {
 422                 i = ffz(~pld);
 423                 pld &= pld - 1; /* clear least bit set */
 424 
 425                 if (i == 5) {
 426                         isa_device_interrupt(vector, regs);
 427                 } else {
 428                         device_interrupt(16 + i, 16 + i, regs);
 429                 }
 430         }
 431         restore_flags(flags);
 432 }
 433 
 434 /*
 435  * Jensen is special: the vector is 0x8X0 for EISA interrupt X, and
 436  * 0x9X0 for the local motherboard interrupts..
 437  *
 438  *      0x660 - NMI
 439  *
 440  *      0x800 - IRQ0  interval timer (not used, as we use the RTC timer)
 441  *      0x810 - IRQ1  line printer (duh..)
 442  *      0x860 - IRQ6  floppy disk
 443  *      0x8E0 - IRQ14 SCSI controller
 444  *
 445  *      0x900 - COM1
 446  *      0x920 - COM2
 447  *      0x980 - keyboard
 448  *      0x990 - mouse
 449  *
 450  * PCI-based systems are more sane: they don't have the local
 451  * interrupts at all, and have only normal PCI interrupts from
 452  * devices.  Happily it's easy enough to do a sane mapping from the
 453  * Jensen..  Note that this means that we may have to do a hardware
 454  * "ack" to a different interrupt than we report to the rest of the
 455  * world.
 456  */
 457 static inline void srm_device_interrupt(unsigned long vector, struct pt_regs * regs)
     /* [previous][next][first][last][top][bottom][index][help] */
 458 {
 459         int irq, ack;
 460 
 461         ack = irq = (vector - 0x800) >> 4;
 462 
 463 #ifdef CONFIG_ALPHA_JENSEN
 464         switch (vector) {
 465               case 0x660: handle_nmi(regs); return;
 466                 /* local device interrupts: */
 467               case 0x900: handle_irq(4, regs); return;  /* com1 -> irq 4 */
 468               case 0x920: handle_irq(3, regs); return;  /* com2 -> irq 3 */
 469               case 0x980: handle_irq(1, regs); return;  /* kbd -> irq 1 */
 470               case 0x990: handle_irq(9, regs); return;  /* mouse -> irq 9 */
 471               default:
 472                 if (vector > 0x900) {
 473                         printk("Unknown local interrupt %lx\n", vector);
 474                 }
 475         }
 476         /* irq1 is supposed to be the keyboard, silly Jensen (is this really needed??) */
 477         if (irq == 1)
 478                 irq = 7;
 479 #endif /* CONFIG_ALPHA_JENSEN */
 480 
 481         device_interrupt(irq, ack, regs);
 482 }
 483 
 484 #if NR_IRQS > 64
 485 #  error Number of irqs limited to 64 due to interrupt-probing.
 486 #endif
 487 
 488 /*
 489  * Start listening for interrupts..
 490  */
 491 unsigned long probe_irq_on(void)
     /* [previous][next][first][last][top][bottom][index][help] */
 492 {
 493         unsigned long irqs = 0, irqmask;
 494         unsigned long delay;
 495         unsigned int i;
 496 
 497         for (i = NR_IRQS - 1; i > 0; i--) {
 498                 if (!irq_action[i].handler) {
 499                         enable_irq(i);
 500                         irqs |= (1 << i);
 501                 }
 502         }
 503 
 504         /* wait for spurious interrupts to mask themselves out again */
 505         for (delay = jiffies + HZ/10; delay > jiffies; )
 506                 /* about 100 ms delay */;
 507         
 508         /* now filter out any obviously spurious interrupts */
 509         irqmask = (((unsigned long)cache_A1)<<8) | (unsigned long) cache_21;
 510 #if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
 511         irqmask |= ((((unsigned long)cache_804)<<16) |
 512                     (((unsigned long)cache_805)<<24) |
 513                     (((unsigned long)cache_806)<<24));
 514 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB64P)
 515         irqmask |= ((((unsigned long)cache_26)<<16) |
 516                     (((unsigned long)cache_27)<<24));
 517 #endif
 518         irqs &= ~irqmask;
 519         return irqs;
 520 }
 521 
 522 /*
 523  * Get the result of the IRQ probe.. A negative result means that
 524  * we have several candidates (but we return the lowest-numbered
 525  * one).
 526  */
 527 int probe_irq_off(unsigned long irqs)
     /* [previous][next][first][last][top][bottom][index][help] */
 528 {
 529         unsigned long irqmask;
 530         int i;
 531         
 532         irqmask = (((unsigned int)cache_A1)<<8) | (unsigned int)cache_21;
 533 #if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
 534         irqmask |= ((((unsigned long)cache_804)<<16) |
 535                     (((unsigned long)cache_805)<<24) |
 536                     (((unsigned long)cache_806)<<24));
 537 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB64P)
 538         irqmask |= ((((unsigned long)cache_26)<<16) |
 539                     (((unsigned long)cache_27)<<24));
 540 #endif
 541         irqs &= irqmask;
 542         if (!irqs)
 543                 return 0;
 544         i = ffz(~irqs);
 545         if (irqs != (1UL << i))
 546                 i = -i;
 547         return i;
 548 }
 549 
 550 static void machine_check(unsigned long vector, unsigned long la, struct pt_regs * regs)
     /* [previous][next][first][last][top][bottom][index][help] */
 551 {
 552 #if defined(CONFIG_ALPHA_LCA)
 553         extern void lca_machine_check (unsigned long vector, unsigned long la,
 554                                        struct pt_regs *regs);
 555         lca_machine_check(vector, la, regs);
 556 #elif defined(CONFIG_ALPHA_APECS)
 557         extern void apecs_machine_check(unsigned long vector, unsigned long la,
 558                                         struct pt_regs * regs);
 559         apecs_machine_check(vector, la, regs);
 560 #else
 561         printk("Machine check\n");
 562 #endif
 563 }
 564 
 565 asmlinkage void do_entInt(unsigned long type, unsigned long vector, unsigned long la_ptr,
     /* [previous][next][first][last][top][bottom][index][help] */
 566         unsigned long a3, unsigned long a4, unsigned long a5,
 567         struct pt_regs regs)
 568 {
 569         switch (type) {
 570                 case 0:
 571                         printk("Interprocessor interrupt? You must be kidding\n");
 572                         break;
 573                 case 1:
 574                         timer_interrupt(&regs);
 575                         return;
 576                 case 2:
 577                         machine_check(vector, la_ptr, &regs);
 578                         break;
 579                 case 3:
 580 #if defined(CONFIG_ALPHA_JENSEN) || defined(CONFIG_ALPHA_NONAME) || \
 581     defined(CONFIG_ALPHA_SRM)
 582                         srm_device_interrupt(vector, &regs);
 583 #elif defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
 584                         cabriolet_and_eb66p_device_interrupt(vector, &regs);
 585 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB64P)
 586                         eb66_and_eb64p_device_interrupt(vector, &regs);
 587 #endif
 588                         return;
 589                 case 4:
 590                         printk("Performance counter interrupt\n");
 591                         break;;
 592                 default:
 593                         printk("Hardware intr %ld %lx? Huh?\n", type, vector);
 594         }
 595         printk("PC = %016lx PS=%04lx\n", regs.pc, regs.ps);
 596 }
 597 
 598 extern asmlinkage void entInt(void);
 599 
 600 void init_IRQ(void)
     /* [previous][next][first][last][top][bottom][index][help] */
 601 {
 602         wrent(entInt, 0);
 603         dma_outb(0, DMA1_RESET_REG);
 604         dma_outb(0, DMA2_RESET_REG);
 605         dma_outb(0, DMA1_CLR_MASK_REG);
 606         dma_outb(0, DMA2_CLR_MASK_REG);
 607 #if defined(CONFIG_ALPHA_CABRIOLET) || defined(CONFIG_ALPHA_EB66P)
 608         outb(cache_804, 0x804);
 609         outb(cache_805, 0x805);
 610         outb(cache_806, 0x806);
 611 #elif defined(CONFIG_ALPHA_EB66) || defined(CONFIG_ALPHA_EB64P)
 612         outb(cache_26, 0x26);
 613         outb(cache_27, 0x27);
 614 #endif
 615 }

/* [previous][next][first][last][top][bottom][index][help] */