History log of /src/sys/arch/alpha/sableio/lpt_sableio.c |
Revision | | Date | Author | Comments |
1.12 |
| 07-May-2021 |
thorpej | Liberally sprinkle static around to get more symbols out of the global namespace. A small bit of const poisoning in the TC code.
|
1.11 |
| 22-Sep-2020 |
thorpej | branches: 1.11.6; Changes to make MPSAFE interrupts work on Alpha:
- Remove the ipl argument to scb_set() and the associated array of "mpsafe" booleans initialized based on the ipl. It was bogus anyway; all IPL_{BIO,NET,TTY}, etc. values are aliases of IPL_VM, and for all practical purposes, there is really only one device interrrupt level on Alpha anyway. Intead, we now treat all dispatches from the SCB vector table as MP-safe, and it is now the handler for that vector who is responsible for acquiring the KERNEL_LOCK if needed.
- Update the direct interrupt vector handlers in jensenio and TURBOchannel to acquire the KERNEL_LOCK.
- Introduce a new ALPHA_INTR_MPSAFE flag, and add a flags argument to alpha_shared_intr_establish(). When it is set, indicate that the handler is MP-safe. Update alpha_shared_intr_dispatch() to pay attention and acquire the KERNEL_LOCK (or not) as indicated.
- Re-factor all of the PCI interrupt handling, providing "generic PCI" "PCI interrupts through ISA IRQs" implementations to significantly reduce code duplication. Supplement the PCI chipset tag with more info to facilitate this, and make the PCI interrupt-related routines take a pci_chipset_tag_t argument rather than a void * argument.
- Because PCI interrupts on KN8AE are dispatched directly from the SCB, provide a wrapper for non-MPSAFE interrupt handlers that acquires the KERNEL_LOCK.
- Change the pci_intr_handle_t type to be a struct rather than an integer type in order to catch any direct use of it as a value. Add a set of functions to interact with pci_intr_handle_t, including setting interrupt flags.
- Implement pci_intr_setattr() so that the PCI_INTR_MPSAFE attribute can be set on a pci_intr_handle_t.
- While I'm here, make all of the MI PCI back-end operations call through real functions rather than hopping directly through function pointers in the chipset tag.
This change looks a lot bigger than it really is because of the re-factor in the plethora of model-specific PCI interrupt back-ends. The KN8AE, KN300, and T2/T3/T4 (Sable) are largely un-changed.
|
1.10 |
| 29-Mar-2014 |
christos | make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
1.9 |
| 21-Mar-2014 |
christos | gc sprintf; reduce local static usage of interrupt strings that are only used once for autoconf printing.
|
1.8 |
| 01-Jul-2011 |
dyoung | branches: 1.8.2; 1.8.12; 1.8.16; #include <sys/bus.h> instead of <machine/bus.h>.
|
1.7 |
| 21-Nov-2009 |
rmind | - Use lwp_getpcb() on Alpha. - Replace and clean struct user usage, slightly simplify some code parts. - Include sys/user.h in MD proc.h .
|
1.6 |
| 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.5 |
| 07-Mar-2008 |
cube | branches: 1.5.2; 1.5.4; Split the softc from the device_t for all lpt(4) variants and attachments except the ppbus stuff (which doesn't compile) and ulpt(4) which is unrelated and can be dealt with separately.
As usual, it comes with related cosmetic changes.
|
1.4 |
| 02-Oct-2002 |
thorpej | branches: 1.4.22; 1.4.84; 1.4.104; 1.4.108; Use CFATTACH_DECL().
|
1.3 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.2 |
| 27-Sep-2002 |
thorpej | Rather than referencing the cfdriver directly in the cfdata entries, instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
|
1.1 |
| 21-Dec-2000 |
thorpej | branches: 1.1.2; 1.1.4; 1.1.6; Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A (Lynx), written from scratch by me over a year ago, but never committed to the tree because there was a bug I could never quite find. I have fixed a few problems in the code, but still don't know if that bug is quite fixed. Since I don't have access to the hardware directly, I'll have to call for testers again.
|
1.1.6.1 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.1.4.1 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.2.2 |
| 08-Jan-2001 |
bouyer | Files added on trunk.
|
1.1.2.1 |
| 21-Dec-2000 |
bouyer | file lpt_sableio.c was added on branch thorpej_scsipi on 2001-01-08 14:56:10 +0000
|
1.4.108.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.4.108.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.4.104.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.4.84.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.4.22.1 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.5.4.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.5.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.5.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.8.16.1 |
| 18-May-2014 |
rmind | sync with head
|
1.8.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.8.2.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.11.6.1 |
| 13-May-2021 |
thorpej | Sync with HEAD.
|