CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2018/05/14 07:54:39

Modified files:
        sys/arch/hppa/conf: GENERIC RAMDISK 
        sys/arch/hppa/dev: apic.c asp.c dino.c lasi.c wax.c 
        sys/arch/hppa/gsc: gscbus.c gscbusvar.h 
        sys/arch/hppa/hppa: intr.c mainbus.c 

Log message:
Relax the way irqs are assigned.  This diff does:
- dynamic allocation of interrupts for dino(4) and gsc(4)
- only mention irq locators for devices which use interrupts.
- for gsc(4), this actually postpones interrupt allocation until gsc(4)
attaches, so asp(4)/lasi(4)/wax(4) won't route the interrupt yet, but
the gsc(4) child will take care of this.
- remove the irq locator for the drivers which do not need a fixed
assignment. siop and moongoose could benefit from this but don't work
at the moment so this is left as an exercize to future kernel hackers.
A side effect from this is that we do not need multiple sti(4)
attachment lines, so PCI sti(4) devices will now attach as sti0 rather
than sti2.

With this diff, multiple dino(4) devices attached to the same parent
will use different interrupt sources, and more than two dino(4) devices
can attach.

Tested on 715/75 (old-gen using asp), 715/100/XC (new-gen using lasi),
B132L+, B180L, C240, B2000, C3650.

>From miod@

Reply via email to