Commit Graph

473 Commits

Author SHA1 Message Date
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
tsutsui b208e285e6 Fix swapped model name and vendor name in struct platform. 2002-11-30 14:38:06 +00:00
lukem 0635de35a3 Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more. 2002-11-26 23:30:07 +00:00
christos 729ccbc9cd si_ -> sel_ 2002-11-26 19:49:00 +00:00
wiz e78e668887 Fix typo (responsiness -> responsiveness). 2002-11-22 12:20:58 +00:00
mrg 603098b9b5 implement separate read/write disk statistics:
- disk_unbusy() gets a new parameter to tell the IO direction.
	- struct disk_sysctl gets 4 new members for read/write bytes/transfers.
	when processing hw.diskstats, add the read&write bytes/transfers for
	the old combined stats to attempt to keep backwards compatibility.

unfortunately, due to multiple bugs, this will cause new kernels and old
vmstat/iostat/systat programs to fail.  however, the next time this is
change it will not fail again.

this is just the kernel portion.
2002-11-01 11:31:50 +00:00
jdolecek c82ab2eb79 now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
2002-10-26 13:50:17 +00:00
jdolecek a8dbe27136 add a missing opmskqfilter() prototype 2002-10-25 07:47:56 +00:00
jdolecek e0cc03a09b merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
junyoung e4b7588c28 Add NEW_BUFQ_STRATEGY (disabled by default). 2002-10-18 15:11:08 +00:00
elric 5ab71e20b0 Added commented out cgd(4)s to GENERIC configs. 2002-10-14 18:39:22 +00:00
provos 2f7a0aaac8 add SYSTRACE; approved perry. 2002-10-06 02:11:54 +00:00
elric d19d268a95 assign majors for raw and cooked cgd's. 2002-10-04 18:28:24 +00:00
thorpej c5e91d447d Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
thorpej 9a711d6985 Declare all cfattach structures const. 2002-09-27 20:29:02 +00:00
provos 0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
thorpej d1ad2ac4f2 Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
thorpej 3280b330bb Get the pointer to the driver name early, rather than constantly
deferencing the cfdriver pointer.
2002-09-26 20:18:24 +00:00