Commit Graph

38396 Commits

Author SHA1 Message Date
kochi
27435b5d7c use designated initializer for struct pic initializers.
just for readability.
2004-04-10 14:49:55 +00:00
kochi
743758bd35 whitespace nit 2004-04-10 14:17:21 +00:00
tsutsui
69e737058e Add a prompt to specify a kernel filename to be loaded on bootloader. 2004-04-10 12:30:26 +00:00
kochi
db7198d645 whitespace nit 2004-04-10 11:48:10 +00:00
tsutsui
ae6d7b8002 It turns out that not only HP425e but other HP4xx models also require
COM_HW_NOIEN for APCI com(4) ports.

Now I can login HP425t via both com[12] at frodo0.
2004-04-10 07:51:15 +00:00
matt
c3d082e35a Allow DHCP NFS roots 2004-04-10 07:41:32 +00:00
matt
1b0d774789 Up symtab space. 2004-04-10 07:41:06 +00:00
tsutsui
6052b99ae3 "extern char *us_keymap" is not equivalent with "extern char us_keymap[]"
in prototype declarations.
Now hilkbdcngetc() works on "unknown" keyboards with proper default map.
2004-04-10 04:06:48 +00:00
fair
e2b036a2e4 Add comment to indicate that the SunSwift Sbus HME/FAS366 SCSI
combination board attaches esp* at sbus*; it's not just "older proms"
2004-04-10 04:02:29 +00:00
petrov
d9120c091a Clean-up unused defines and variables. 2004-04-09 19:41:57 +00:00
pooka
ade6841fe5 If argv[1] doesn't exist, don't try to use it. 2004-04-09 16:41:23 +00:00
tsutsui
d010f57a21 Include "ite.h" before the first reference of NITE.
Fixes panic with unknown type keyboards (including JP one).
2004-04-09 11:55:27 +00:00
matt
a9903fcc11 When linking, use ${_MKTARGET_LINK} so that MAKEVERBOSE=1 looks right. 2004-04-09 04:01:42 +00:00
matt
2ce2389229 Deal with OFW trees that have interrupt nodes without an #address-cells
property.  Treat them as if they had such a property but its value was 0.
2004-04-08 23:58:24 +00:00
uwe
c22f771297 Register definitions for sh3 integrated DMA controller. 2004-04-08 21:02:57 +00:00
tsutsui
25fa76b1ba Don't panic when kernel tries to print a horizontal tab via itecnputc(). 2004-04-08 17:41:50 +00:00
tsutsui
68fc876f21 Check mapped device VA by badaddr() in cnattach functions for framebuffers.
Now consinit() no longer hangs at least on HP425t with Topcat console.
2004-04-08 17:39:37 +00:00
pooka
b11a60fb35 apply wide-angle KNFication beam 2004-04-08 14:45:13 +00:00
pk
f95fd4f56f compat mode: skip double map at VA 0 if the physical load address is 0.
This allows a much wider range of historic kernels to be booted (w/ `-C').
2004-04-08 07:35:34 +00:00
tsutsui
f8cd9ac4fd Adjust FRODO_BASE macro since com_frodo uses bus_space_map(9)
which takes offset from intiobase instead of KVA.

Now com* at frodo? is probed properly.
(but not tested because I don't have a special cable for apci ports yet)
2004-04-07 13:41:10 +00:00
tsutsui
0af71a11f1 Adjust fd_name in struct frodo_device frodo_subdevs[]
since MD apci(4) has been switched to MI com(4).
2004-04-07 13:34:47 +00:00
tsutsui
eb4893fd2e Fix yet another y2k+1 bug. 2004-04-07 13:29:26 +00:00
augustss
9224fd7b0a Put ichlpcib in alphabetical order. 2004-04-07 13:13:59 +00:00
wiz
8ad72c592f Revert previous: Linux' procfs spells "CPU" "cpu", so mimic it.
Closes PR 25076 by salo.
2004-04-06 20:37:07 +00:00
ross
e4baf7f2f0 * Bump up SYMTAB_SPACE slightly.
* Use the correct board name.
2004-04-06 20:00:54 +00:00
tv
1649429e19 Allow compilation without MQ200_DEBUG: mq200_clknames is used outside of
debugging-only code.
2004-04-06 16:49:56 +00:00
tv
ef3e0a3d4c Allow the codegen option to be specified in the config file rather than
being fixed at -mips2, by setting "makeoptions MIPSFLAGS".
2004-04-06 16:37:58 +00:00
cl
ea9aadc45a sync with arch/i386/isa/npx.c:
1.103/simonb
Only initialise ksi if we use it.
2004-04-06 16:23:33 +00:00
cl
428b54f8f6 sync with arch/i386/i386/identcpu.c:
1.9/kim
AMD CPUID 0x6a0 is an Athlon XP processor model 10, revision A2.
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/27532.pdf
1.10/minoura
Print better names for Pentium4-class processors (Xeon, Celeron, etc).
1.11/mrg
- fix i386_intel_brand[]: it was missing a empty reserved entry at 0xD
  causing Mobile Pentium 4 to be shown as a Mobile Celeron.
- fix intel_family6_name() for brand=0xB && signature >= 0xF13
- fix a potential out-of-bounds array reference
2004-04-06 16:20:29 +00:00
cl
cb8eb7578b update reference $NetBSD ID 2004-04-06 16:04:09 +00:00
cl
5bd1e12004 ANSIfy. 2004-04-06 16:01:50 +00:00
cl
0b3df53fa4 update reference $NetBSD ID 2004-04-06 15:56:32 +00:00
simonb
ad2144406e Bump NMBCLUSTERS to something a little more modern - 2048 for the
normal case and 4096 for the "options GATEWAY" case.
2004-04-06 14:56:13 +00:00
matt
949694f7d9 When seeing if the FP or VEC unit has been stolen by another process, check
PSL_{FP|VEC} instead of PCB_{FP|VEC}.  The former will only be set if the
process owned the {FP,VEC} unit when it trapped into the kernel.  The latter
would be set if the lwp ever used the {FP,VEC} unit.
2004-04-06 02:25:22 +00:00
bsh
6141a1e035 enable PS/2 mouse support.
Thanks to Ben Harris' pckbport, pms driver now attaches to sackbc
very cleanly.
2004-04-06 01:45:03 +00:00
bsh
34d29162ae fake that the PS/2 kbd/mouse controller of SA-1111 has two slots.
This is necessary to attach a pms driver to sackbc.
2004-04-06 01:32:17 +00:00
bsh
9a78d53bf0 whitespace nits. 2004-04-06 01:16:34 +00:00
tsutsui
646b733fd4 Tidy up total/avail memory message as well as other ports.
As per discussion on port-sgimips.
2004-04-05 16:01:43 +00:00
simonb
3ce5632009 Fix tyop. 2004-04-05 04:53:01 +00:00
mrg
1739cf2504 - fix i386_intel_brand[]: it was missing a empty reserved entry at 0xD
causing Mobile Pentium 4 to be shown as a Mobile Celeron.
- fix intel_family6_name() for brand=0xB && signature >= 0xF13
- fix a potential out-of-bounds array reference
2004-04-05 02:09:41 +00:00
matt
15fc41dbb0 When trying to figure out which code to return, use the exception enable
bits to mask out the undesired exceptions.  (Thanks to Todd Whitesel for
the idea).
2004-04-04 22:20:44 +00:00
matt
e7c76e51e6 Add SIGFPE handling code. Report the proper SIGINFO ksi_code when a SIGFPE
happens.  When a SIGFPE occurs, disable the exception enables in the FPSCR.
2004-04-04 19:21:36 +00:00
pk
12d5178857 For now, disable Hypersparc instruction cache on MP machines. 2004-04-04 18:54:01 +00:00
pk
8066aa3aa5 * Allow pv_link4_4c() to fail with ENOMEM on pool allocation failures
(catching up with pv_link4m()).
* Fix return code checking for pv_link4m() calls.
* Add low water setting to pv pool.
2004-04-04 18:34:35 +00:00
pk
486f4170eb Remove private declarations of maxdmap and maxsmap. 2004-04-04 18:24:22 +00:00
uwe
e548ab355a Correct the comment about contrast control in HD64461 GPIO port B:
6th bit is the least significant, 3rd is the most significant.
2004-04-04 17:49:38 +00:00
matt
bc8d283982 Reformat the __asm a bit. 2004-04-04 17:35:15 +00:00
matt
5bf797c2e1 Add int get_fpu_fault_code(void). 2004-04-04 17:26:58 +00:00
matt
481d181cd4 In cpu_getmcontext, make sure the returned MSR has the FP exception mode
(PSL_FE0|PSL_FE1) saved in the PSL.  In cpu_setmcontext, copy the FP
exception bits to the PCB where they live.
2004-04-04 17:26:10 +00:00
matt
847bed9428 Fix the way cpu_setmcontext was restoring FPSCR. Make the opposite of the
way that cpu_getmcontext was saving it.  (FPSCR was being saved incorrectly
before and thus obliterated when a signal happened).
2004-04-04 17:20:15 +00:00