leo
bbad0a5d5e
Checkpointing my work on the mach64 (with help from Dave Berger). There is
...
still one major show stopper here. The characters are nearly to dim to read.
This is weird since the same DAC settings as on the other cards are used.
2002-01-09 21:33:49 +00:00
leo
2112cf1085
Fix PCI interrupt allocation on the Milan.
...
Note that this _seems_ to work. It can't be really tested before my board
is upgraded.
2002-01-09 21:19:14 +00:00
leo
49009d088a
Import pciide_machdep.c from i386.
2001-05-29 06:26:08 +00:00
leo
60c1352cd4
Prototype milan_vga_init()
2001-05-29 06:02:26 +00:00
leo
73cc88a7dd
Whoops, where did the include of vga_pci.h go?
2001-05-29 06:01:27 +00:00
leo
b1ff453ae9
Add Milan console initialisation code.
2001-05-28 08:30:03 +00:00
leo
722a3ab56b
Add VGA console probes.
2001-05-28 08:12:47 +00:00
leo
a82df0faed
Pass iot and memt to check_for_vga()
2001-05-28 07:22:37 +00:00
leo
cded1f4afe
Initialize to CGA mode. Wscons expects this.
2001-05-21 14:30:41 +00:00
leo
68f5fe6e81
Split pci_machdep into a generic/hades/milan part. There is much difference
...
in configspace and interrupt handling.
2001-05-15 14:14:48 +00:00
leo
b44e732ff6
Expand bus_dma implementation. It will now handle the bounce buffer
...
extensions needed to make the isa floppy driver on the Milan work.
2001-03-09 20:55:46 +00:00
leo
427a7dcda0
Kill a typo.
2001-01-07 21:19:05 +00:00
sommerfeld
851de295eb
Change pci_intr_map to get interrupt source information from a "struct
...
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".
This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.
Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
leo
670b06c6e0
Move config_console() out of the grf-layer. This allows for more than just
...
grf-type consoles (wscons). Config_console() is now called from consinit(),
just after setting up the kernel msgbuf, so debugging is easy(er).
To further facilitate this move, the pcibus now allows for early-console
attaches by allocating static bus_space_tags (no mallocs possible at this
point).
2000-09-28 07:26:48 +00:00
leo
6cb04802f1
Nuke cf_unit abuse.
2000-09-28 06:39:52 +00:00
leo
af27893736
Correct some typos.
2000-09-28 06:32:10 +00:00
mrg
ca5133d3fb
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:22:17 +00:00
mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
leo
4911054546
Allow storage-space to be passed to the alloc_bus_space_tag() functions. This
...
permits static tags to be used during early console init.
2000-01-19 13:12:54 +00:00
thomas
938dcb33e9
Align IO and memory of PCI devices.
1999-11-07 22:23:05 +00:00
leo
48ddedb4e8
Fix pci-interrupt handling. It was broken by the latest slot numbering
...
changes.
1999-10-21 15:38:54 +00:00
leo
9251fedf5d
Do not enable VGA cards automatically. Since chances are high that they
...
claim overlapping memory areas. This causes only the 'console' VGA card
to be enabled.
1999-09-22 07:18:45 +00:00
leo
9a13ebbdd6
Fix lossage with the et4000. Some of the CRT registers were incorrect.
1999-06-03 12:38:50 +00:00
leo
6a477596b9
Add more fuzziness to the MDRAM initialisation. Seems to work on a broader
...
range of et6[01]00 cards now.
1999-03-26 08:21:49 +00:00
cgd
ed47999c60
Moved to arch/atari/include/pci_machdep.h,v
1999-03-19 03:35:59 +00:00
leo
b9cb0eefd0
First step to a framework that can be used to initialize vga-cards on the
...
pci-bus. The code is called early in the bootphase and tries to initialize
a known type of card into a 'standard' text mode. Wscons should be able
to handle these cards afterwards.
1999-03-15 15:47:11 +00:00
leo
89347a3159
Add <machine/bswap.h> in the list of include-files.
1999-02-19 20:57:03 +00:00
thomas
872b1a1f2a
PCI I/O Start 16k because some devices allow only addresses
...
up to 64k.
1999-01-01 19:54:52 +00:00
thomas
051cc552ae
New code to enable PCI devices.
1998-12-20 14:24:52 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
leo
b8dad8ab1f
Fix some severe bogons in the pci and isa interrupt system.
1998-05-25 10:42:21 +00:00
leo
bc9ebf17a7
Major overhaul of the atari bus_space implementation.
1998-04-10 08:19:53 +00:00
leo
0dd40d6952
Bus-dma implementation for the atari. Heavily based on the i386
...
implementation.
1998-03-10 11:42:53 +00:00
leo
c281cb0e23
Update Hades PCI support:
...
- Initialize the PCI bus and hand-out mem and i/o addresses. (there is
still lots of room for improvements here...)
- Implement the interupt functions
1998-02-19 16:16:51 +00:00
thorpej
2d73f5ea18
Update for changes to config.
1998-01-12 18:03:58 +00:00
cgd
cc93b2c4eb
pass memory- and i/o-enabled flags down via the PCI bus and device attach
...
arguments, so that a device can tell if its memory and I/O spaces are
enabled. The flags are cleared, depending on the contents of devices CSR
registers, in the machine-independent PCI bus code.
1997-04-10 23:12:16 +00:00
leo
eb6f94c925
Print a new-line in attach function.
1997-01-27 10:19:33 +00:00
leo
291ced55a4
Get rid of BROKEN_INDIRECT_CONFIG
1996-12-20 12:49:35 +00:00
leo
fb386a941d
pba_bc -> pba_pc
1996-11-08 14:18:20 +00:00
christos
17f5b2a175
backout previous kprintf changes
1996-10-13 04:10:34 +00:00
christos
60dd5ceebe
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:06:28 +00:00
leo
080ee49d98
minimal pci support
1996-10-05 21:41:36 +00:00