Commit Graph

22253 Commits

Author SHA1 Message Date
bjh21 b85a45b9f1 Move out spurious defines 2000-05-13 12:17:49 +00:00
jhawk d4091aa02e Add support for on-the-fly switching of console devices interactively
from biosboot via the "consdev" command.
2000-05-13 05:31:00 +00:00
jhawk a72e1e9c59 Add support for on-the-fly switching of console devices interactively
from the i386 biosboot via the "consdev" command.
2000-05-13 05:25:20 +00:00
jhawk 1dac4cd666 Add support for on-the-fly switching of console devices interactively
from biosboot via the "consdev" command.

Move "Press return" printf() out of print_banner() so we can
print_banner() reasonably after switching devices.
2000-05-13 05:23:37 +00:00
uch 62923b307e fix #define RGB24(r, g, b) 2000-05-13 03:12:56 +00:00
thorpej 26f56b9cab Only use __builtin_va_alist_t if using GCC 2.96 or later. Fixes
pkg/10080, from Matthias Scheler.
2000-05-12 23:49:11 +00:00
bouyer 9c43539f8f The VIA Technologies VT82C686A SMBus Controller claims to be a PCI/ISA
bridge, ignore it. Should fix kern/10093 by Mark Dohring.
2000-05-12 20:31:22 +00:00
uch f02836787f fix CLUT index bug. 2000-05-12 18:09:55 +00:00
shin e38d6212b9 make it compile again with '-Werror'. 2000-05-12 04:43:21 +00:00
jhawk ed3acc8fbb zsr has acquired a wi card 2000-05-12 03:14:21 +00:00
drochner d5d280d015 -attach auxilary PCI buses at the 450NX chipset,
tested by hubertf in a small configuration (1 PXB - 2 PCI buses)
-being here, remove the per-VID/DID matching code which was commented
 out for a while
2000-05-11 16:44:14 +00:00
jdolecek 8fedbd8497 Add i386-specific part of MicroChannel Architecture bus support, as
found in some older IBM PS/2 machines.

This code is based upon work by Scott D. Telford, with some minor bits
in arch/i386/mca/mca_machdep.c taken from FreeBSD.

XXX this is still very experimental and development version; use at your
XXX own risk
2000-05-11 16:38:10 +00:00
jdolecek 6c1643be43 minor adjustment for compiling with IBM_L40 2000-05-11 16:11:54 +00:00
jdolecek 98beeaa61d add commented out CPPFLAGS+= -DIBM_L40 - needed for PS/2 bootblocks 2000-05-11 16:05:51 +00:00
jhawk 2d2ad4f3e8 fix cosmetic brain-oh in last; s/attachonly/matchonly/g 2000-05-11 15:26:23 +00:00
jhawk a2606dbe80 Address PR#10042: instead of getting the dynamic configuration
all the time (which crashes some vaios), get the static configuration,
and if config_search() finds a node, then do the dynamic configuration.
This seems to work fine on multiple vaios (which seem to crash
in different places...go figure).

Also, bring prototypes in-line with KNF and declare static as appropriate.

"#if 0" out pnpbios_getapmtable() and pnpbios_setnode() as they
are not called.

Fix printf()s to print out dv_xname.

Fix a comment typo.

Use manifest constants (PNP_CF_DEVCONF_DYNAMIC, etc.) in calls to
pnpbios_getnode() instead of hardcoded constants.
2000-05-11 05:54:49 +00:00
uch 742429ff1e #undef'ed debug routine. 2000-05-10 23:57:13 +00:00
msaitoh a797322f08 supports single step! 2000-05-10 20:28:33 +00:00
is 8f17fca445 fix tyop 2000-05-10 20:20:21 +00:00
thorpej c52b8eabae Make stdarg/varargs work with GCC 2.96. 2000-05-10 17:53:45 +00:00
pk bde258dc12 bus_dmamem_alloc: round-up `alignment' to a be a multiple of the page size. 2000-05-10 14:27:51 +00:00
pk fbd2523c70 * Fix thinko in offset computations.
* Add DIAGNOSTIC checks.
2000-05-10 11:17:50 +00:00
nisimura df234d8698 Take a straight way for pagemove() PTE manipulation, abandoning to
use MIPS_TBRPL().  When PTEs are modified, both src and dst TLBs
are invalidated.  MIPS3 single TLB entry has paired double PTE
and pagemove() likely walks through multiple pages.  The positive
effect of of MachTLBUpdate() or TBRPL() is unclear.
2000-05-10 08:55:22 +00:00
nisimura bd91f6f2e0 Adapt mips_locoresw[]. 2000-05-10 01:36:56 +00:00
nisimura de13b44edd Have mips_locoresw[] of 3 entry pointer array for different
implementation of locore routines between MIPS1 and MIPS3.  It's
independent from mips_locore_jumpvec_t which is for cache/TLB
manipulating routines peculiar to processor designs.  mips_locore_jumpvec_t
will be replaced with "processor closures" encapsulating implementation
parameters (cpuinfo) and pointers to conventaion routines (cpuops),
eventually.
2000-05-10 01:34:13 +00:00
pk 1bf775b965 Conform bus_dmamem_{alloc,map} usage to bus_dma(9) specs. 2000-05-09 22:42:08 +00:00
pk 2d12c9e33b The bus_dma(9) implementation now allocates DVMA addresses in
bus_dmamap_load_*() routines only. Note that DMA memory buffers
allocated with bus_dmamem_alloc() _must_ be loaded by bus_dmamap_load_raw().
2000-05-09 22:39:35 +00:00
bjh21 6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
ragge 6a36c27519 Get boot device CSR from RPB instead of trying to guess it. 2000-05-09 20:53:51 +00:00
pk 6411be9c63 Include <sparc/sparc/asm.h>, per PR#10082 2000-05-09 20:29:28 +00:00
ragge 94faa6da32 Change copy*str() functions. More paranoid checking of legal address space.
Fixes PR#7838.
2000-05-09 18:59:58 +00:00
leo eeecd4445a The console stuff might also be needed by 'ser'. Also update the names of
the serial ports in the comments.
2000-05-09 14:30:47 +00:00
shin a7dd7a7c0c bugfix: make sure there is no valid data in data cache, when last
mapping to the physical page is removed (R3000/MIPS1).

delete cache operations in pmap_zero_page_uncached().
2000-05-09 13:40:13 +00:00
shin 8587b62f36 call uvm_pageidlezero() while CPU is idle. 2000-05-09 13:23:57 +00:00
shin 2d39542769 deal with INT_MASK_REAL_DEV removal. 2000-05-09 13:20:55 +00:00
shin 51994cb450 make it compile again (add #include's). 2000-05-09 13:19:54 +00:00
leo 793cd652e3 Add some {u}vm includes for the sake of PHOLD(). 2000-05-09 10:29:01 +00:00
uch 86d1ce5fd8 fix WSDISPLAYIO_PUTCMAP return value. 2000-05-09 10:15:17 +00:00
nisimura 34a943161d Introduce mips3_TBRPL(); not used in this moment, to be useful to
discard MachTLBUpdate() calls, however, the necessity of TLB entry
modification in such a way is under question because implementation
glitches on ASID management was straightened, those calls can be
sanely removed after all.
2000-05-09 09:50:17 +00:00
soda 88c52c7335 mention MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV 2000-05-09 07:30:14 +00:00
soda e06738f06f back out previous changes as stopgap.
arc port still relies on MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV.
(cpu_intr() of arc port should be rewritten completely, but not yet.)
2000-05-09 07:27:04 +00:00
hubertf 9f48bba3ae Add "install" target, so "make install" after building the kernel
does something useful.  The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
2000-05-09 00:56:21 +00:00
thorpej 6a33c86623 HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
2000-05-09 00:32:19 +00:00
hubertf 30be57ab7b Disable DDB_ONPANIC=0. A plain reboot in case of problems isn't really
helpful at install times, regarding diagnostics.
2000-05-09 00:28:22 +00:00
uch 7ae9f5b5e9 -G 24 -> -G 20. TX3922 kernel became bigger. 2000-05-08 21:58:40 +00:00
uch cc01cd2448 implement 8bpp CLUT of Plum2, TX3912 video module. 2000-05-08 21:57:56 +00:00
uch e5ee37ffd9 add struct hpcfb_accessops to setclut method. TX3912 can't change
color map index (R:G:B = 3:3:2), so use this.
2000-05-08 21:56:32 +00:00
ragge 57115228ef Sorry, no KA680. 2000-05-08 19:46:12 +00:00
ragge 5fc118100e Add 4000/200 and 4000/500. 2000-05-08 19:09:49 +00:00
ragge 7f9df86ca6 Get correct MAC address out of rom on VAX 4000/200. From Michael Kukat. 2000-05-08 18:51:17 +00:00
ragge f511619a4f Some more CPUs... From Michael Kukat. 2000-05-08 18:48:30 +00:00
ragge 282320f7df Rudimentary CPU support files for VAX 4000/105, 4000/200 and 4000/500.
From Michael Kukat.
2000-05-08 18:45:26 +00:00
joda 89ef6f9a91 add viaenv template 2000-05-08 18:41:26 +00:00
thorpej d611fd596a Use vprintf() rather than the non-standard %: format. 2000-05-08 18:22:29 +00:00
ragge aedfd4de1c VAX 4000/200 support. From Michael Kukat. 2000-05-08 17:53:24 +00:00
ragge 0028464ae3 Add 4000/105 and VXT2000. From Michael Kukat. 2000-05-08 17:49:07 +00:00
ragge c17aed4bdc Console support for VXT 2000, VAX 4000/105 and VAX 4000/500.
From Michael Kukat.
2000-05-08 17:06:48 +00:00
joda 827056c9c3 add entry for viaenv 2000-05-08 16:42:36 +00:00
augustss 3a6e3a4670 Add (sometimes commented out) MIIVERBOSE option. 2000-05-08 13:49:44 +00:00
mycroft a7fb64072e Fix the RCS tag format. Duh. 2000-05-08 03:11:06 +00:00
mycroft f8e0411615 Make the audioamd assembler code compile again. 2000-05-08 03:09:54 +00:00
mycroft f5bd37be57 Make the SPARC audioamd driver at least *compile*. Well, the C code, that is.
*sigh*
2000-05-08 02:44:31 +00:00
fvdl 5ebece6b49 Use ES to address the partition table when checking if we need to use
int13 extensions. Fixes PR 9676.
2000-05-07 22:58:58 +00:00
veego 701eaba273 add the #71 NODEV entry for bktr to the chrtoblktbl list. 2000-05-07 08:32:50 +00:00
wiz 784bcfd6ba add bktr device 2000-05-07 00:41:06 +00:00
nisimura d8fe118608 - Remove three unused contants; KERNBASE, KERNTEXTOFF and BTOPKERNBASE.
- Protect #include <machine/intr.h> inclusion with #ifdef _KERNEL.
- Correct the case when "opt_gateway.h" is refered.
2000-05-06 05:55:09 +00:00
nisimura 0cb6da487c Remove unused mapin(pte, v, pfnum, prot) macro. 2000-05-06 05:19:32 +00:00
mrg 0ce52a2a08 implement U2P PCI support in psycho_init. this is completely untested. 2000-05-06 04:15:35 +00:00
hannken 0b2854eb6c Fix for lint during build of libc. 2000-05-05 20:12:00 +00:00
augustss e991ee6035 Use correct file name for amd7930. 2000-05-05 14:19:25 +00:00
pk f622dc8618 Define some more bits in the MXCC control register. 2000-05-05 11:07:15 +00:00
soren ee733492dd Add licenses. 2000-05-05 03:27:22 +00:00
soren 95f3c9498d MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV are deprecated. 2000-05-05 03:18:25 +00:00
thorpej b193ffa77c Use __GNUC_PREREQ__(). 2000-05-05 00:20:22 +00:00
jhawk c82c8655cf Add comment suggesting s/com[0-9]/com*/ and s/lpt0/lpt*/
if you enable com*/lpt* at pnpbios0, to avoid attaching
com0 as com3.
Don't actually change the "com0 at isa" line, since doing so
would cause some com* (e.g. pcmcia) to be renumbered from com3
to something lower, at least on some systems.
2000-05-04 19:41:44 +00:00
takemura 9601a833c3 Remove wmipsdbg and wmipsrel as well as WMIPSDbg and WMIPSRel for
case sensitive file system.
2000-05-04 11:58:22 +00:00
takemura f056a711d7 Add some lines to support ATAPI and SCSI devices.
This makes the kernel 60KB bigger.
2000-05-04 10:32:47 +00:00
takemura d865561de6 Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
2000-05-04 10:25:45 +00:00
takemura fe8142f713 Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
2000-05-04 08:18:59 +00:00
takemura 33698fcc25 Mouse move event should be made before mouse bown event. Without that,
you may got a mouse down event in strange plase.
2000-05-04 06:14:05 +00:00
shin f077f10640 fix scancode -> keycode mappings:
MC-CS	arrow keys
	PV-6000	semicolon and apostrophe
2000-05-04 02:24:13 +00:00
thorpej d3d81e3ad6 Make varargs and stdarg work with GCC 2.96 and later. 2000-05-03 21:54:06 +00:00
mycroft 468985f608 Adjust asm statement for newer GCCs. 2000-05-03 21:32:59 +00:00
mycroft f73803d1ce Fix printf() format. 2000-05-03 20:17:37 +00:00
mycroft 3afc302a93 ctob() -> ptoa(), to fix sign-extension issues when using >2GB. A more
comprehensive change will be necessary for >4GB, but that's a bigger issue.
2000-05-03 20:02:08 +00:00
kleink bd2d21b5d1 Display the VPD's PrintableModel item on startup. 2000-05-03 11:39:54 +00:00
nonaka ad9dd901f1 mbr partition table parameter is little endian.
need to bswap.
2000-05-02 18:19:01 +00:00
nonaka 93f867f485 LABELOFFSET 42 -> 64 2000-05-02 18:13:04 +00:00
nonaka 2ed0c0fe88 add cn_bell to struct consdevs pccons. 2000-05-02 18:11:07 +00:00
uch 89cb6ad8b8 forgot to commit TX3912. 2000-05-02 18:00:54 +00:00
uch 3c873423e1 add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
2000-05-02 17:50:51 +00:00
uch 9dccb575be change hpfcb_cnattach interface to adopt current implementation. 2000-05-02 17:45:15 +00:00
pk c49e7076d3 Simplify pmap_page_protect(); modelled after a similar change by
Art Grabowski in Openbsd.
2000-05-02 13:06:27 +00:00
augustss 9f9f06401c Add (commented out) cms(4) driver. 2000-05-02 11:00:56 +00:00
pk d46e0d77c0 Remove unused code: getptesw4m(),setptesw4m() 2000-05-02 10:35:06 +00:00
augustss 8abcd395fd Add bba(4) attachment. 2000-05-02 08:04:24 +00:00
augustss e15d2472fa Fix typo. 2000-05-02 08:03:53 +00:00
augustss 087a67c892 Add proper bba attachment. From Gregory McGarry <g.mcgarry@ieee.org> 2000-05-02 08:02:07 +00:00
augustss c6df4d8830 Comment out bba since I don't really know if it's right. 2000-05-02 07:23:56 +00:00
augustss 05ef4c3d35 Add bba(4) attachment at tc. 2000-05-02 07:22:26 +00:00