[BACK]Return to aha1742.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / eisa

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/i386/eisa/Attic/aha1742.c between version 1.32 and 1.33

version 1.32, 1994/05/05 07:41:44 version 1.33, 1994/07/27 01:50:57
Line 503  ahbprobe1(ahb, ia)
Line 503  ahbprobe1(ahb, ia)
         if (ahb_find(ahb) != 0)          if (ahb_find(ahb) != 0)
                 return 0;                  return 0;
   
 #ifdef NEWCONFIG          if (ia->ia_irq != IRQUNK) {
         if (ia->ia_irq == IRQUNK) {  
                 ia->ia_irq = (1 << ahb->irq);  
         } else {  
                 if (ia->ia_irq != (1 << ahb->irq)) {                  if (ia->ia_irq != (1 << ahb->irq)) {
                         printf("ahb%d: irq mismatch, %x != %x\n",                          printf("ahb%d: irq mismatch; kernel configured %d != board configured %d\n",
                                 ahb->sc_dev.dv_unit, ia->ia_irq,                                  ahb->sc_dev.dv_unit, ffs(ia->ia_irq) - 1,
                                 1 << ahb->irq);                                  ahb->irq);
                         return 0;                          return 0;
                 }                  }
         }          } else
 #endif                  ia->ia_irq = (1 << ahb->irq);
   
         ia->ia_drq = DRQUNK;          ia->ia_drq = DRQUNK;
         ia->ia_msize = 0;          ia->ia_msize = 0;

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

CVSweb <webmaster@jp.NetBSD.org>