thorpej
02d221f94a
Fix printf format problems on Alpha.
1999-02-12 06:25:13 +00:00
mjacob
82b48f66b6
If NSIO not defined, compile errors.
1998-10-31 23:51:05 +00:00
thorpej
8eeb95fce4
Implement pci_intr_disestablish().
1998-08-01 20:25:12 +00:00
thorpej
de83dce0de
On second thought, call that like the rest of the shared intr functions.
1998-07-07 22:24:38 +00:00
thorpej
be83de18fd
Use ALPHA_SHARED_INTR_DISABLE() to test if a shared interrupt should
...
be disabled after a stray.
1998-07-07 21:44:57 +00:00
thorpej
b6eff278f2
Fix some whitespace lossage.
1998-04-25 00:12:44 +00:00
mjacob
6cd64be0b6
fix minor typo
1998-04-24 01:25:18 +00:00
thorpej
574b87a792
Initialize the PCI IDE compat interrupt PCI method to NULL; PCI IDE
...
compat interrupts are not currently supported on these platforms.
1998-04-18 01:12:23 +00:00
thorpej
815703e5ec
Make function names in printfs and panics consistent.
1998-04-16 19:50:55 +00:00
thorpej
4c01c3c48e
Pass the pci_chipset_tag_t to sio_intr_setup(). XXX This code should be
...
rearranged so that other non-PCI-but-in-all-other-ways-ISA-PIC-like
devices can share code.
1998-04-14 22:20:59 +00:00
thorpej
f203067ae3
Adjust for changes to bus space tag initialization.
1997-09-02 20:10:28 +00:00
thorpej
693b3e7262
Nuke the idea of <machine/options.h>. It completely defeats the purpose
...
of fine-grain option dependencies.
1997-09-02 13:17:47 +00:00
cgd
429a941288
don't expect/provide pci_decompose_tag to be a MI, public function. It
...
wasn't intended to be to begin with, and uses of it (e.g. the one in the
'de' driver) are quite likely to be incorrect.
1997-07-19 09:49:39 +00:00
cgd
90789b53dd
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
...
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
1997-04-07 23:39:37 +00:00
cgd
a60b90caa9
clean up NetBSD RCS ID strings, include machine/options.h
1997-04-07 02:01:16 +00:00
cgd
ccc668e0d7
use the new common chained-interrupt support code.
1996-11-17 02:05:26 +00:00
cgd
6c9cb4aa9b
compile cleanly with:
...
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
1996-11-13 21:13:04 +00:00
cgd
1b03f1bca7
update for new bus.h macros. bus_io_* and bus_mem_* integrated into
...
single bus_space_* framework. Unfortunately, bus_space_{read,write}_*
operations still imply barriers. That will change soon.
1996-10-23 04:12:13 +00:00
christos
8d9699acda
backout previous kprintf change
1996-10-13 02:59:55 +00:00
christos
a60beecedb
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:44:49 +00:00
cgd
15f9c59baf
check in the code used to build the kernel that Andrew Gallatin used to
...
figure out the correct IRQ for the ethernet on the AlphaStation 500.
That code is enabled via KN20AA_BOGUS_IRQ_FROB (but hopefully won't be
needed any time soon, and won't link w/o slight changes to other code).
Basically, when establishing an interrupt that we don't know what to
do with, prompt the user for what interrupt line to enable. If you
get stray interrupts when you try to use the device (but not before),
then you've got the right line.
1996-08-19 04:28:25 +00:00
cgd
3c7eaa04e2
fix typo in comment
1996-08-19 04:19:01 +00:00
cgd
b4bfcf063f
21040 ethernet chip on AlphaStation 500 lives in slot 6 (a slot not
...
found on the AlphaStation 600), and interrupts on interrupt line 13.
Thanks to Andrew Gallatin for booting a test kernel 32 times (trying
each interrupt line, looking for the right one) to find this.
1996-08-19 04:14:58 +00:00
cgd
e295ad51df
clean up stray interrupt handling a bit.
1996-08-15 22:17:44 +00:00
cgd
b3703a8fcd
oops; fix bogon in last.
1996-08-14 05:47:39 +00:00
cgd
1f675e847d
say 'stray kn20aa irq' rather than 'stray PCI irq'; former is more correct.
1996-08-14 05:45:52 +00:00
cgd
a96b24415d
fix inadvertent reordering of switch which cases by slot number but
...
is ordered by interrupt number.
1996-08-14 05:44:31 +00:00
cgd
440a942944
fix bogus returns from dec_kn20aa_intr_map(), and slightly simplify interrupt
...
mapping code. (instead of using a "slot" and multiplying by 4 and adding the
pin number later to get the IRQ, just use base IRQ value and add the pin
number.)
1996-08-07 04:33:21 +00:00
cgd
efec732f4d
fix a typo, add a function kn20aa_disable_intr() to disable a given
...
kn20aa interrupt line.
1996-08-07 04:22:40 +00:00
cgd
f72a611ccc
(1) Clean up interrupt handling slightly.
...
(2) Include more headers to bring necessary prototypes into scope.
1996-07-14 04:08:56 +00:00
cgd
0cefc7ef74
clean and update for new defintions, prototypes, etc.
1996-07-09 00:53:48 +00:00
cgd
386aeb320f
clean up copyright notices
1996-06-13 18:31:49 +00:00
cgd
37ec86f0cc
avoid lots of upper-case letters in interrupt names. prettier that way.
1996-06-05 03:38:02 +00:00
cgd
21ac0b2a36
update for new ISA/EISA/PCI/'bus' interfaces. Untested
1996-04-13 00:24:30 +00:00
mycroft
3da4b2a160
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
...
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
cgd
deb4082f80
wholesale update from my NetBSD/Alpha source tree. Includes:
...
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
1995-11-23 02:33:17 +00:00