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

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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.17 15-Aug-2015 miod

No need to cargo-cult include <alpha/pci/sioreg.h> here.


Revision tags: OPENBSD_5_8_BASE
# 1.16 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_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
# 1.15 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.14 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.


# 1.13 26-Jun-2008 ray

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.12 02-May-2007 martin

supply the real devicename to sio_intr_establish() instead a generic
platform interrupt string when establishing pciide interrupts


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 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.


# 1.10 26-Mar-2006 brad

Replace usage of alpha_pci_decompose_tag() with pci_decompose_tag() and
remove alpha_pci_decompose_tag().

From NetBSD

ok martin@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.9 18-Jul-2004 deraadt

shrink


# 1.8 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_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.7 14-Dec-2001 nate

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.6 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.5 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.4 25-Jun-2001 csapuntz

Fix earlier commit of pciide disestablish


# 1.3 25-Jun-2001 csapuntz

Add disestablish for pciide on Alpha


Revision tags: OPENBSD_2_9_BASE
# 1.2 17-Apr-2001 art

branches: 1.2.2;
OpenBSD tags


# 1.1 14-Apr-2001 art

Add support for Alpha Processor, Inc. UP1000.
From NetBSD.