History log of /openbsd-current/sys/arch/alpha/pci/pci_kn20aa.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_2_BASE
# 1.29 08-Sep-2017 deraadt

If you use sys/param.h, you don't need sys/types.h


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.28 26-Jul-2015 miod

Make sure pci_intr_map() will perform proper interrupt swizzling for devices
behind a bridge, if the SRM didn't pick an interrupt line for them.


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.27 08-May-2014 miod

Format string fixes for alpha kernels, and remove -Wno-format


Revision tags: 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
# 1.26 30-Sep-2009 miod

Fix various off-by-ones in irq number validation.


# 1.25 30-Sep-2009 miod

Remove unused last argument of alpha_shared_intr_disestablish().


# 1.24 22-Aug-2009 mk

Constify the what/name parameter of pci_intr_establish().

Tested by myself, sthen, oga, kettenis, and jasper.
Input from sthen and jasper.

ok kettenis

(Manpage follows shortly.)


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.23 22-Jul-2008 miod

Modify pci_intr_map() implementation to pass the pci_attach_args to the
per-platform implementation, instead of selected members of it; this allows
us to get rid of some globals, and paves the way for better bridge support
on some models.


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.22 15-Jun-2006 brad

Rework the interrupt code, shaving some cycles off in the process.
Rather than an "iointr" routine that decomposes a vector into an
IRQ, we maintain a vector table directly, hooking up each "iointr"
routine at the correct vector. This also allows us to hook device
interrupts up to specific vectors.

From thorpej NetBSD

Tested by myself and a number of end-users.


Revision tags: OPENBSD_3_9_BASE
# 1.21 29-Jan-2006 martin

Add a alpha_shared_intr_reset_strays() function that resets the stray
interrupt counter for a given shared interrupt descriptor.
When an interrupt is successfully handled, reset the strays counter,
thus preventing a "slow leak" from eventually shutting off the interrupt
vector.

from NetBSD via KUDO Takashi


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.20 28-Jun-2004 aaron

Use new event counter API for interrupt counting on alpha. By me, with some
edits by Theo. deraadt@ ok


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B UBC_SYNC_A
# 1.19 10-May-2003 deraadt

string cleaning; ok beck dhartmei


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
# 1.18 14-Mar-2002 millert

Final __P removal plus some cosmetic fixups


# 1.17 14-Mar-2002 millert

First round of __P removal in sys


Revision tags: UBC_BASE
# 1.16 14-Dec-2001 nate

branches: 1.16.2;
Don't use a single static struct alpha_bus_space since there are machines
that can have more than one system bus attached to mainbus


# 1.15 06-Nov-2001 miod

Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.
(Look ma, I might have broken the tree)


Revision tags: OPENBSD_3_0_BASE
# 1.14 29-Sep-2001 mickey

dec_kn20aa_intr_disestablish() implementation from netbsd; art@ ok


# 1.13 17-Aug-2001 mickey

provide a way to get the number used for irq line, not only a string
representation, this is needed for devices like cbb which pass
the interrupt line down to the cardbus attachment and not
getting the right line before pci_intr_map() has done it's
dirty deed.
tested on i386 by jason@, compiles on alpha by art@.
ppc and mveppc are to be test-compiled, but should work (;


# 1.12 25-Jun-2001 csapuntz

Add disestablish for pciide on Alpha


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE SMP_BASE kame_19991208
# 1.11 11-Jan-1999 millert

branches: 1.11.6;
panic prints a newline for you, don't do it in the panic string


Revision tags: OPENBSD_2_4_BASE
# 1.10 01-Jul-1998 angelos

First shot for EB164SX/LX support; kernels for those should be much
more stable now, but by no means production-strong. A lot of code from
NetBSD.


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.9 24-Jan-1997 niklas

Sync with NetBSD 961207


# 1.8 08-Dec-1996 niklas

Merge to NetBSD 961107, i.e. mostly new bus.h


# 1.7 30-Oct-1996 niklas

Merge to NetBSD 961020. Retained our kernel APIs where NetBSD has changed.
-Wall -Wstrict-prototypes -Wmissing-prototypes too.


Revision tags: OPENBSD_2_0_BASE
# 1.6 04-Oct-1996 deraadt

sync


# 1.5 29-Jul-1996 niklas

Add OpenBSD tags. Adapt to OpenBSD *_intr_establish calling convention


# 1.4 18-Jun-1996 deraadt

sync to 0616, retaining local diffs


# 1.3 20-Feb-1996 tholo

Pass device name to interrupt establish routines so it can be recorded in
the device interrupt chain structures (isa, pci)

Move interrupt chain structure definition to <machine/psl.h> so vmstat can
get at it (i386)

Remove hack to count interrupts the old way (i386)


# 1.2 27-Dec-1995 deraadt

from netbsd:
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.


# 1.1 14-Dec-1995 deraadt

update to netbsd