Commit Graph

490 Commits

Author SHA1 Message Date
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
nakayama e3e4805068 Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
2003-02-05 13:57:50 +00:00
tsutsui 3fb3009a83 Enable vga0 at isa?, and add options VGA_RESET and
(commented out) options VGA_RASTERCONSOLE for NEC-J96A and NEC-R96.
2003-01-31 22:11:20 +00:00
tsutsui f9f27acbe7 Add c_nec_eisa_cons_init() for NEC-J96A and NEC-R96 which have
Cirrus Logic GD5428 ISA VGA console to initialize its registers properly
for generic vga(4) driver(s).
2003-01-31 22:07:52 +00:00
tsutsui 3061b2304e Call vga_isa_cnattach() in c_jazz_eisa_cons_init() if NVGA_ISA > 0. 2003-01-31 22:01:13 +00:00
kent cd7d9faeaf Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it. 2003-01-28 01:07:51 +00:00
tsutsui fbe7c30306 Remove trailing whitespace. 2003-01-27 15:33:36 +00:00
tsutsui eb506d3c00 Fix further printf format warnings for FD_DEBUG, in the wake of daddr_t
having changed.
2003-01-26 06:16:31 +00:00
tsutsui 61924d6eac Use PRId64 from <machine/int_fmtio.h> in printf format for daddr_t.
(Eventually jazzio would be moved into MI place :-)
2003-01-25 15:43:11 +00:00
jdolecek b8445f760f bump ramdisk image to 2330k 2003-01-22 21:16:32 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
tsutsui 59dafa2c6b TAB/space cleanup. 2003-01-19 10:06:12 +00:00
tsutsui 55b4104918 Fix pasto. 2003-01-19 03:36:58 +00:00
thorpej 23bc250391 Merge the nathanw_sa branch. 2003-01-17 21:55:23 +00:00
lukem 4bb41ae2f2 Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile.  Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
2003-01-06 17:40:18 +00:00
tsutsui 0d588a6b61 Add options MIIVERBOSE. 2003-01-04 21:09:31 +00:00
thorpej aec1389b37 Use aprint_normal for cfprint routines. 2003-01-01 00:32:04 +00:00
tsutsui 7bc5ebdb72 Wrap DELAY() macro with do { } while (/*CONSTCOND*/ 0). 2002-12-29 14:09:37 +00:00
tsutsui e60823f9f2 Fix typo in comment. 2002-12-28 16:52:02 +00:00
tsutsui 46cc633768 Oops, fix typo in the previous. 2002-12-28 16:44:43 +00:00
tsutsui da446ea2da Change device names in struct pica_dev to match ones used by ARC BIOS.
All of these parameters should be obtained from ARC BIOS, and we will
switch to the way in future. As per discussion with soda.
2002-12-28 16:25:38 +00:00
thorpej 78ea2dd367 Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
simonb 6a5e492b57 Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
2002-12-09 22:54:09 +00:00
tsutsui 8c3c217b4d cosmetics. 2002-12-09 13:38:30 +00:00
tsutsui a92570f14c As per discussion with soda, all EISA based Jazz machines seem to require
the same method to access TOD clock, so move chipset-dependent mcclock
routines to appropriate files.

This should also fix Express RISCserver and RISCserver2200 (aka R96) support
which has been broken since "struct platform" was introduced.
2002-12-09 13:36:26 +00:00
tsutsui 12a1bc1fff Add (commented out) options SYMTAB_SPACE. 2002-12-07 21:55:44 +00:00
tsutsui 005b76cc2a Call ${DBSYM} in SYSTEM_LD_TAIL_EXTRA. 2002-12-07 21:35:58 +00:00
tsutsui ecc82050ea Call ddb_init() unconditionally if SYMTAB_SPACE is defined. 2002-12-07 21:34:48 +00:00
tsutsui 40ca5f0895 - Add definitions RD_94_[PVS]_EISA_{IO,MEM} in rd94.h.
- J96A (Express5800/240 R4400 EISA) requires different method to access
  todclock from other NEC machines (it's similar with magnum),
  so handle it in p_nec_j96a.c.

Now my NEC Express5800/240 works. (and now I can test 53c700 SCSI.)
2002-12-07 13:09:46 +00:00
tsutsui a9df47a02d Some cosmetics. 2002-12-06 17:57:28 +00:00
imp 1d37d03cd9 Custom config file the the Deskstation rPC44 (aka ARCSTATION I and EPC44).
Untested on target hardware, but compiles and links.
2002-12-04 08:14:30 +00:00
imp cad09ef8c4 Include machine/kbdreg.h when NPCKBC > 0. This is necessary to pick up
the KBDCMDP definition.
2002-12-04 07:43:55 +00:00
tsutsui d658fd6e12 Add a configuration of struct platform for NEC-J96A,
NEC Express5800/240 with R4400 and EISA.

XXX not functionally working yet. (hangs after mountroot via NFS)
2002-11-30 19:23:44 +00:00
tsutsui 24a8d1e5a3 Remove extern from mach_init() prototype declaration. 2002-11-30 17:57:42 +00:00