#
1.12 |
|
22-May-2024 |
jsg |
remove prototypes with no matching function; ok miod@
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
|
#
1.11 |
|
14-May-2018 |
kettenis |
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@
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.10 |
|
08-Nov-2004 |
miod |
Typo
|
#
1.9 |
|
28-Oct-2004 |
mickey |
wrong paste from lasi
|
#
1.8 |
|
15-Sep-2004 |
mickey |
scan cpu bus manually for some machines do not support that in prom
|
Revision tags: OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.7 |
|
07-Apr-2004 |
mickey |
update copyright; miod@ is fine w/ files where he holds it too
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE UBC_SYNC_A
|
#
1.6 |
|
08-Apr-2003 |
mickey |
just wate that debug altogether
|
#
1.5 |
|
08-Apr-2003 |
miod |
Make dmesg prettier if attachment fails and no option DEBUG
|
#
1.4 |
|
07-Apr-2003 |
mickey |
this makes wax interrupt
|
#
1.3 |
|
03-Apr-2003 |
mickey |
make it at least scan the bus
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
|
#
1.2 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
|
#
1.1 |
|
23-Nov-1998 |
mickey |
branches: 1.1.6; 1.1.16; ok, go in. we'll sync you later w/ asp and lasi
|
#
1.11 |
|
14-May-2018 |
kettenis |
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@
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.10 |
|
08-Nov-2004 |
miod |
Typo
|
#
1.9 |
|
28-Oct-2004 |
mickey |
wrong paste from lasi
|
#
1.8 |
|
15-Sep-2004 |
mickey |
scan cpu bus manually for some machines do not support that in prom
|
Revision tags: OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.7 |
|
07-Apr-2004 |
mickey |
update copyright; miod@ is fine w/ files where he holds it too
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE UBC_SYNC_A
|
#
1.6 |
|
08-Apr-2003 |
mickey |
just wate that debug altogether
|
#
1.5 |
|
08-Apr-2003 |
miod |
Make dmesg prettier if attachment fails and no option DEBUG
|
#
1.4 |
|
07-Apr-2003 |
mickey |
this makes wax interrupt
|
#
1.3 |
|
03-Apr-2003 |
mickey |
make it at least scan the bus
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
|
#
1.2 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
|
#
1.1 |
|
23-Nov-1998 |
mickey |
branches: 1.1.6; 1.1.16; ok, go in. we'll sync you later w/ asp and lasi
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.10 |
|
08-Nov-2004 |
miod |
Typo
|
#
1.9 |
|
28-Oct-2004 |
mickey |
wrong paste from lasi
|
#
1.8 |
|
15-Sep-2004 |
mickey |
scan cpu bus manually for some machines do not support that in prom
|
Revision tags: OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.7 |
|
07-Apr-2004 |
mickey |
update copyright; miod@ is fine w/ files where he holds it too
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE UBC_SYNC_A
|
#
1.6 |
|
08-Apr-2003 |
mickey |
just wate that debug altogether
|
#
1.5 |
|
08-Apr-2003 |
miod |
Make dmesg prettier if attachment fails and no option DEBUG
|
#
1.4 |
|
07-Apr-2003 |
mickey |
this makes wax interrupt
|
#
1.3 |
|
03-Apr-2003 |
mickey |
make it at least scan the bus
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
|
#
1.2 |
|
14-Mar-2002 |
millert |
First round of __P removal in sys
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
|
#
1.1 |
|
23-Nov-1998 |
mickey |
branches: 1.1.6; 1.1.16; ok, go in. we'll sync you later w/ asp and lasi
|