tsutsui
cc8f388df1
Make sure to call c_nec_eisa_cons_init() also on RISCserver 2200
...
so that its Cirrus VGA console is properly initialized.
Fixes problem reported by Bob Meader.
2003-06-19 16:00:19 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
fvdl
7dd7f8baa2
Handle 64bit DMA addresses on PCI for platforms that can (currently only
...
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
tsutsui
a3631eeb28
Add isapnp0 at isa and enable working isa/isapnp devices.
2003-06-15 06:10:42 +00:00
tsutsui
964d2f945e
Remove nonexistent we* at isapnp.
2003-06-15 06:08:12 +00:00
tsutsui
55dd06d718
Don't enable both pc0 and vga0 at isa.
2003-06-15 06:05:31 +00:00
tsutsui
7826bdce78
Initialize and use extent maps for ISA bus space allocation.
...
Now isapnp on Tyne works properly.
2003-06-15 05:58:45 +00:00
tsutsui
109624a869
Fix a bug in isabr_dti_intr_status(), as per "re-look this" comment.
...
Now Tyne boots into single user (though it's still unstable). Woohoo!
2003-06-14 21:10:20 +00:00
tsutsui
ddeb889ae9
Add a file definition for isapnp.
2003-06-14 19:14:52 +00:00
tsutsui
5c69b73566
Set intrtype[] properly.
...
XXX ISA interrupts on Tyne does not work yet.
2003-06-14 19:13:42 +00:00
tsutsui
afa910a4ed
Add isa_intr_alloc() for isapnp support.
2003-06-14 19:11:40 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
tsutsui
fdcf304c05
Set LINKFORMAT=-N.
...
ARCBIOS on Tyne can recognize only ECOFF with OMAGIC header.
XXX The real fix is implementing native bootloader.
2003-06-14 09:55:10 +00:00
tsutsui
d096df8f90
Fix CPU clock for Tyne. It has 133MHz R4600.
2003-06-14 08:11:56 +00:00
tsutsui
27ad3392b9
Change DESKstation -> DeskStation, as per spelling on the Tyne board.
2003-06-14 08:09:47 +00:00
tsutsui
3baa558986
Rewrite arc/isa/isapnp_machdep.c (based on i386).
...
It seems no one tried the previous code.
2003-06-14 07:58:16 +00:00
tsutsui
e1c1a8283d
Add missed "\n" in attach message.
2003-06-14 02:57:03 +00:00
tsutsui
f215f507a2
Don't enable both pc0 and vga0 at isa.
2003-06-14 02:40:42 +00:00
simonb
789329a94f
Remove definitions and usage of MIPS_COP_0_STATUS_REG and
...
MIPS_COP_0_CAUSE_REG - use MIPS_COP_0_STATUS and MIPS_COP_0_CAUSE
instead.
2003-06-09 12:20:37 +00:00
tsutsui
173d4eacee
- Remove softintr(9) stuff.
...
- Fix a typo.
2003-05-25 15:46:15 +00:00
tsutsui
51260decbe
Add generic software interrupt support with mips/softintr.c.
2003-05-25 14:00:11 +00:00
tsutsui
eab3a69dca
Uppercase PICA.
...
"PICA" stands for "Performance-enhanced I/O and CPU Architecture."
2003-05-22 17:16:19 +00:00
tsutsui
8b9155e085
Remove MI ncr53c9x SCSI from TODO list.
2003-05-22 17:10:27 +00:00
tsutsui
30f71213c8
Remove unused file since asc.c switched to MI ncr53c9x.
2003-05-18 04:28:33 +00:00
thorpej
e43fecb228
Change bounds_check_with_label() to take a pointer to the disk structure,
...
rather than the label itself. This paves the way for some future changes.
2003-05-10 23:12:28 +00:00
thorpej
2a90e2a9c9
Remove redundant bounds_check_with_label() prototype.
2003-05-10 16:12:02 +00:00
fvdl
d88cf589cb
A few ISA sound drivers like to share dma channels, and hence deferred
...
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.
To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.
All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.
2003-05-09 23:51:25 +00:00
fvdl
6bd0c9f44d
Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h.
2003-05-05 12:55:41 +00:00
tsutsui
2fb7363e5d
Check arc_displayc_id before calling vga_isa_cnattach().
2003-05-04 10:37:48 +00:00
tsutsui
ff776a0f93
Remove (deprecated) DMA functions in jazz/dma.c which are no longer used.
...
jazz/dma.h now only contains DMAC register definitions.
2003-05-04 10:07:50 +00:00
tsutsui
0bcf529e7f
Rewrite jazzio asc SCSI driver to use MI ncr53c9x and bus_dma(9) with
...
BUS_DMA_ALLOCNOW flag for jazzio bus DMAC.
Tested on Soda's NEC Image RISCstation (which is an OEM of Acer PICA),
and should fix port-arc/13388.
2003-05-04 10:01:19 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
dsl
d91455ce26
Change return type of readdisklabel() to const char *
...
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
tsutsui
4661d01ee2
options MIPS3_L2CACHE_PRESENT was gone long ago.
2003-04-28 05:03:44 +00:00
tsutsui
a29ca71393
KNF and cosmetics.
2003-04-27 17:13:01 +00:00
tsutsui
8e19dfb2ae
Remove register declarations.
2003-04-27 17:05:55 +00:00
tsutsui
97adf01fed
Fix pasto.
2003-04-27 11:33:36 +00:00
ragge
d8c8fa8111
Add pseudo-device ksyms.
2003-04-26 14:10:04 +00:00
ragge
69a66687f8
Call ksyms_init() instead of ddb_init() in case of
...
NKSYMS || defined(DDB) || defined(LKM)
2003-04-26 11:05:05 +00:00
ragge
766d04f56a
Add ksyms device major.
2003-04-25 21:10:46 +00:00
bouyer
aec10dd80c
Nake return values from bounds_check_with_label() conform to the man
...
page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit
message, pointed out by Miod Vallat in private mail.
vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how
other places handle return values from bounds_check_with_label().
2003-04-16 15:00:59 +00:00
thorpej
0871fe346f
Use PAGE_SIZE rather than NBPG.
2003-04-09 01:54:42 +00:00
tsutsui
972480b272
- update TODO list to reflect current status
...
- sort entries in some particular order
2003-04-06 17:48:51 +00:00
tsutsui
823585def2
Enable oosiop at jazzio.
...
While I'm here, use wildcard for osiop unit.
2003-04-06 10:00:00 +00:00
tsutsui
f640b8f9fc
Add MD attachment of the 53c700 SCSI controller on arc jazzio.
2003-04-06 09:55:50 +00:00
thorpej
30c345408f
Use PAGE_SIZE rather than NBPG.
2003-04-01 22:37:25 +00:00
simonb
0a30e5fb17
Fix a grammatical nit.
2003-03-22 14:26:41 +00:00
tsutsui
1654f7e057
Yet another leftover of struct consdev changes..
2003-03-21 04:35:02 +00:00
tsutsui
9053a4f127
NEC RISCstation 2200 (NEC-R94) doesn't have the secondary SCSI,
...
so prepare struct pica_dev for R94 in p_nec_r94.c to handle its quirk.
The problem was reported by David Hopper on port-arc.
XXX We should use ARC BIOS to get info of these devices.
2003-03-13 13:52:09 +00:00
tsutsui
12a8e27857
Remove .pdr section which is created by binutils-2.13.2.1
...
on objcopy call to make ECOFF kernels.
2003-03-08 02:58:55 +00:00