Rework cbus(4) interrupt support a bit. Instead of merging devhandle and
authorkettenis <kettenis@openbsd.org>
Sun, 25 Jan 2015 21:42:13 +0000 (21:42 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 25 Jan 2015 21:42:13 +0000 (21:42 +0000)
commitb3a497ed788fbc90cc3de0447cc05b01ba4d02e2
treef9d4b3e37db1d9954f145bc4515fa9810cb8d954
parentc1c6fa7b04175d1255e543345d0ffcf6cee44dca
Rework cbus(4) interrupt support a bit.  Instead of merging devhandle and
devino into a pseudo-sysino, directly use the devino as the ihandle.  The
devhandle is stored in the cbus softc, and accessed through the bus space
tag.  This allows us to have more than 256 interrupts on a single cbus, and
avoids relying on the lower bits of the devhandle being zero.
sys/arch/sparc64/dev/cbus.c
sys/arch/sparc64/dev/cbusvar.h
sys/arch/sparc64/dev/vcctty.c
sys/arch/sparc64/dev/vdsk.c
sys/arch/sparc64/dev/vdsp.c
sys/arch/sparc64/dev/vldcp.c
sys/arch/sparc64/dev/vnet.c