Commit Graph

523 Commits

Author SHA1 Message Date
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
perseant
eab869e1c0 Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
tsutsui
3bb612938d - Enable options SYMTAB_SPACE by default.
- Use options<space><tab> .
2003-02-11 12:13:41 +00:00
tsutsui
2dbe6275c3 It seems the ARC BIOS can't load too large kernel,
so prepare a shrinked config for RAMDISK kernel.
2003-02-11 12:03:18 +00:00
tsutsui
3e78f52de4 Switch fdc_jazzio.c to use bus_dma(9) with BUS_DMA_ALLOCNOW flag
and to use bus_space(9) for jazzio DMAC access.
2003-02-10 15:19:44 +00:00
tsutsui
438b17bf15 Changes needed to bus_dma'fy fdc_jazzio.c and asc.c:
Modify jazz_bus_dmamap_create() to allocate jazz dmatlb
 if BUS_DMA_ALLOCNOW flag is specified and nsegment is 1.
 In this case, jazz_bus_dmamap_load() just call
 jazz_dmatlb_map_va() to map CPU VA space into jazzio
 VA space with pre-allocated TLB entries (like dma.c does).
 bus_dmamap_load_{mbuf,uio,raw} functions are not allowed
 if dmamap is created with BUS_DMA_ALLOCNOW flag.
 (i.e. ALLOCNOW is valid only for linear buffers.)
2003-02-10 14:58:37 +00:00
tsutsui
f80f1b2213 Call jazz_dmatlb_init() from jazzioattach() directly and
remove picaDmaInit() in dma.c.
2003-02-10 11:43:28 +00:00
tsutsui
cf7ee4e531 Bump md_root size to 2.5Mbytes. 2003-02-10 11:18:55 +00:00