bjh21
b64c13c96f
ANSIfy, un-__P().
2003-12-29 16:11:38 +00:00
igy
758273ce95
throw error status when erase command timed out
2003-12-29 12:59:54 +00:00
igy
34a32ca09b
using compile option "-G 0" (default)
2003-12-29 12:51:48 +00:00
igy
bd3a594116
make sure variables initialized
2003-12-29 12:31:48 +00:00
igy
1a4bd745a6
remove unused functions to make compile
2003-12-29 12:28:14 +00:00
sekiya
bc5774497e
Fixes to HPC abstraction layer from Steve Rumble:
...
- hpc1_hdd_{ctl,bufptr} and hpc3_hdd_{ctl,bufptr} are
established in hpcreg.h. All references to these fields
are updated with the exception of if_sq: (haltwo,
hpcdma). This makes reading the code and spotting bugs
easier.
- hpcdma.c was applying EOCHAIN to the wrong descriptor
word for the hpc1 case.
- I added scsi_max_xfer to the abstraction layer, and it
allows some crusty #defines in wdsc.c to be removed.
hpc1 now doesn't waste descriptors as it once did.
- hpcreg.h was updated to reflect the lack of XMITDONE
bit in hpc1. HPC1_REV15 added for a test in hpc.c
- hpc.c now verifies HPC1 revisions (1.0 vs 1.5) and
prints the output a little prettier ;)
- power interrupts shouldn't establish on non-IP22
platforms.
2003-12-29 06:33:57 +00:00
sekiya
8a08952e14
Fix typo ("ARCBIOS_MEM_ExecptionBlock"). From Steve Rumble.
2003-12-29 06:26:41 +00:00
christos
a438c6286d
make the printf statement a complete line.
2003-12-28 01:20:23 +00:00
mjl
df0cb86d0d
Add some casts to printf() args to make it compile w/ DEBUG set.
2003-12-27 13:35:52 +00:00
mjl
054d8c4946
Initialize some auto vars to appaise gcc3.
2003-12-27 13:34:36 +00:00
shin
cb18d8058e
fix indentation.
2003-12-27 07:36:06 +00:00
shin
17435165fa
Add MobilePro 880 (MC/R730A), MC/R730 support for USB/"pci".
...
Addresses PR/23654.
2003-12-27 07:34:21 +00:00
shin
26ccb9c6d2
Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags.
...
Addresses PR/23653.
2003-12-27 07:29:56 +00:00
shin
1316c9944d
Add MobilePro 880 (MC/R730A) to stylus calibration table.
...
Addresses PR/23652.
2003-12-27 07:28:21 +00:00
takemura
a09206fd99
Initialized variables and added error handling in mq200_pllparam().
2003-12-27 05:47:54 +00:00
grant
9427a0c717
add support for the Keywest I2C and snapper audio device, as found on
...
some iBook and PowerBook models.
this driver was written by Tsubai Masanari and further hacked on by
Jared D. McNeill to work on his iBook.
the driver is limited (master volume control only, and I haven't
tested recording) but has been functioning perfectly on my PowerBook
g4 DVI (ivory) for some time.
ok'd by matt.
2003-12-27 02:19:34 +00:00
aymeric
341f54debe
revert previous. -fwritable-strings is not needed now that the ld script
...
does TRT.
2003-12-26 20:01:15 +00:00
aymeric
3c91265513
merge any section that starts in ".rodata." into the text section.
...
This matches sections generated by newer versions of gcc to handle the sharing
of constant strings.
2003-12-26 19:59:31 +00:00
aymeric
652090f272
ANSIfy and clean up prototypes.
...
This has been lying around in my tree for too long now.
2003-12-26 13:43:29 +00:00
aymeric
86b6db2f13
add -fwritable-strings to DBG, so that gcc doesn't generate a ".rodata" section.
...
I believe this fixes PR port-macppc/23206 and the "ofwboot.xcf issues" reported
on the lists since november.
2003-12-26 13:25:00 +00:00
yamt
1d4f93e85b
postpone freeing PTPs until TLBs are flushed
...
to avoid loading invalid TLB entries. from Stephan Uphoff.
for more details,
see "i386 pmap bug" thread on port-i386@ around Feb, 2003.
2003-12-26 11:50:51 +00:00
shin
c126403055
suppress false alarm from gcc -Wuninitialized.
2003-12-26 11:13:40 +00:00
shin
0ffac1acf7
initialize variable 'err' properly.
...
found by gcc -Wuninitialized.
2003-12-26 11:10:08 +00:00
mrg
490518af32
convert __ldstub() from a ({}) macro into a properly static inline function.
...
the latter is not valid for C++ so says GCC3.
2003-12-26 06:00:58 +00:00
jmc
0fe36533f0
Wrap some areas with #ifndef _LOCORE so assembly files can pick up some defs
...
from here. Needed for bioscall fixes in PR#14946
2003-12-25 21:03:55 +00:00
jmc
f84b0cd795
Partial fix for PR#14946. Make sure x86 symlinks exist also
2003-12-25 21:02:58 +00:00
uwe
2e00e2438d
If "pause before boot" is not set (i.e. user will not be given last
...
chance to cancel the boot), give user a hint by using MB_ICONWARNING
for the "Are you sure?" dialog.
2003-12-25 03:44:11 +00:00
uwe
376514e2fe
Lowercase labels of the "Boot" and "Cancel" buttons.
...
Init progress bar step/position in ProgressBar::create.
Specify WS_EX_CLIENTEDGE style for the progress bar, an empty gray
area between the buttons looks stupid. With 3d edge a user has a hint
there's a progress bar there. While here, make it PBS_SMOOTH, it
looks nicer that way.
2003-12-25 03:19:53 +00:00
briggs
5786d9fb02
Configuration file for the TeamASA NPWR-FC.
...
XXX - Note that, because the serial interrupt uses the i80321's HPI, this
configuration will not work as-is without some changes in i80321_icu.c.
2003-12-24 19:41:09 +00:00
uwe
a766825ba3
Trim trailing whitespace.
2003-12-23 17:22:20 +00:00
uwe
37536630d1
Make the progress bar use the whole width between the Boot and Cancel
...
buttons. Since there are 11 calls to menu.progress() in hpcboot, set
the progress bar range to 0..11, not 0..12.
In RootWindow::WMCreate - when we mean to adjust the top of the client
are by the button height, use _button_height, instead of cmdbar_height
(they now happen to be equal).
2003-12-23 17:18:25 +00:00
uwe
0c9676c97b
Set meaningful error_message is attachLoader fails.
...
Tweak the way we set "default" error_message.
2003-12-23 16:50:22 +00:00
uwe
55cc78e064
Trim trailing whitespace.
2003-12-23 16:26:48 +00:00
uwe
780ccfc58e
Move IDC_OPT_AUTO_INPUT after IDC_OPT_AUTO to get the expected tab-order.
2003-12-23 16:25:35 +00:00
uwe
849e108215
Reverse the order of IDC_CONS_CHK* checkboxes so that they have
...
"expected" left-to-right Tab-order.
2003-12-23 15:37:11 +00:00
uwe
15cd36d7f0
Widen the "root file system" group to line up with the controls above it.
2003-12-23 15:29:36 +00:00
uwe
789be11611
In MainTabWindow::layout don't touch the Z-order of IDC_MAIN_OPTION_*
...
controls as this has a nasty side effect of messing the Tab-order as
well.
2003-12-23 15:24:26 +00:00
uwe
734ce0e5ab
Trim trailing whitespace.
2003-12-23 15:10:01 +00:00
uwe
f35f57125f
Do not replace the boot log text completely on every print - that
...
causes horrible flicker. Instead append it and scroll to the caret.
2003-12-23 15:08:33 +00:00
kochi
71ef8c54d3
add ACPICA_PEDANTIC option.
2003-12-23 10:11:42 +00:00
ad
520489e15a
MAXINE keyboard and mouse now works, albeit with some minor issues.
2003-12-23 09:39:46 +00:00
hamajima
14ee57b05b
only aceride nedds in L-Router
2003-12-23 08:40:55 +00:00
uwe
c87372b749
Load ".symtab" section before ".strtab". The code to pack the symbol
...
table (kern_ksyms.c:addsymtab) relies on that order.
2003-12-23 04:59:44 +00:00
uwe
36fce64101
Call UpdateWindow after user responded to the safety message dialog,
...
so that the window can repaint areas damaged by the dialog before the
message pump is stopped while the boot is in progress.
2003-12-23 04:41:13 +00:00
uwe
816df014fc
Oops, add braces forgotten in 1.8.
2003-12-23 03:18:13 +00:00
dyoung
66e744eb8b
Fix typo: atw(4) was listed as an Aironet card instead of ADMtek.
2003-12-22 10:10:41 +00:00
dsl
4bf8ba6f30
Fix problems booting disks with extended partition from grub (and other
...
non-netbsd mbr code) - thanks to Joe Thiemann for finding this...
2003-12-21 20:56:40 +00:00
nisimura
eef6d5b9ab
Vr4100 and Vr4300 are not capable of having external caches.
2003-12-21 07:59:25 +00:00
uwe
e769028e50
Fix indentation in previous.
2003-12-21 03:22:20 +00:00
uwe
f94c4399a5
Move progress bar management to rootwindow.cpp so that hpcmenu.cpp
...
doesn't need to know about the GUI hierarchy, etc.
If boot is aborted, rewind the progress bar.
2003-12-21 03:18:31 +00:00
jdolecek
1895548280
comment out COMPAT_NETBSD32 - it doesn't compile, some required
...
datatypes are not defined
2003-12-20 22:12:21 +00:00
is
cbe2f83110
man/prod id submitted by Pavel Chwalowski in PR 23789.
2003-12-19 22:33:30 +00:00
manu
61257a84f2
fixes for Brazilian keyboard from Rafael Diniz <rafael2k@terra.com.br>
...
http://mail-index.netbsd.org/port-hpcarm/2003/12/18/0000.html
2003-12-19 12:16:36 +00:00
tsutsui
10a356924e
- add options COMPAT_16
...
- Netbsd -> NetBSD
- use options<space><tab>
2003-12-19 11:39:30 +00:00
tsutsui
77cc90f021
- Netbsd -> NetBSD
...
- use options<space><tab>
2003-12-19 11:38:18 +00:00
gavan
f2c2467d5c
Correct masks for PCIXSR decomposition
2003-12-19 10:08:11 +00:00
thorpej
54da81c66c
A kernel configuration file suitable for Connectix Virtual PC 6.
2003-12-18 17:08:35 +00:00
pk
5218af0651
Use uvm_km_zalloc(...) instead of uvm_km_alloc1(...,1).
2003-12-18 14:15:55 +00:00
uwe
53680504af
Add MB_ICONQUESTION style to the message box.
2003-12-18 12:34:10 +00:00
uwe
d3dfc4c864
Add MB_ICONWARNING style to the message box. Use explicit MB_OK.
2003-12-18 12:25:03 +00:00
uwe
e696bfb83c
Tweak error message.
2003-12-18 12:21:36 +00:00
uwe
545bd4c3b1
Add MB_ICON* styles to message boxes. Use explicit MB_OK.
...
Capitalize messages. Minor tweaks.
2003-12-18 12:18:53 +00:00
uwe
f578e43dec
Capitalize error messages. Consistently use "can't". Minor tweaks.
2003-12-18 12:15:40 +00:00
uwe
8b377aad68
Add MB_ICONEXCLAMATION style to the "Last chance..." dialog. Change
...
the text to "Push YES...", because that's a Yes/No dialog, not Ok/Cancel.
If the user cancels the boot, set error_message appropriately.
Add MB_ICONERROR style to the "BOOT FAILED" dialog. Explicitly make
it MB_OK, don't rely on the numerology.
2003-12-18 00:00:19 +00:00
abs
7b5d232918
Small fixed to tense in comment.
2003-12-17 22:03:24 +00:00
bsh
7ff9ddf063
mask all interrupts during bootstrap *correctly*.
...
call s3c2xx0_intr_bootstrap() to initialize variables used by splfoo().
2003-12-17 13:21:33 +00:00
bsh
7020653430
add a function to initialize variables used by splfoo().
...
This should be called in bootstrap so that splfoo() doesn't touch illegal address.
2003-12-17 13:20:04 +00:00
tls
c58ee50077
Add "sk" driver for SysKonnect/Marvell GigE cards.
2003-12-17 09:18:45 +00:00
martin
6c7d761c0e
Fix commented out pcmcia entries: adjust comments, add FULL_SPARC_BUS_SPACE,
...
adapt wd* at pcmcia to new atabus attachment, and add wi* at pcmcia.
Noticed by Michael Wolfson.
2003-12-17 08:08:02 +00:00
uwe
ad370cb0ff
Provide dummy machine/mcontext.h.
2003-12-17 06:17:03 +00:00
simonb
4805123b12
Nuke register prefix for local variables, clean up indentation a little.
2003-12-17 04:04:40 +00:00
uwe
6854a82ca1
Add btodb() define.
2003-12-16 18:59:10 +00:00
uwe
2b3e06be32
Add directory "res" to INCDIR_LIST and drop the "res/" prefix from
...
#include's in hpcmenu.rc. This makes it possible to open hpcmenu.rc
in the eVC resource editor.
2003-12-16 18:23:36 +00:00
uwe
5f83499620
Protect __KERNEL_RCSID with #if !defined(_WIN32) for the sake of
...
hpcboot.exe, that uses this file too. Compiling for WinCE defeats the
logic in cdefs_aout.h.
2003-12-16 17:16:43 +00:00
uwe
a8250ce937
Drop adler32.c from SRCFILE_LIST, it's no longer in sys/lib/libz.
2003-12-16 15:26:37 +00:00
he
a5915f4ecb
Replace cmd_ioh with cmd_baseioh, to track changes to wdcvar.h, so
...
that this compiles again. Untested for now.
Reviewed by leo.
2003-12-16 14:07:20 +00:00
manu
d2b4a2c0fa
Enable SA_SIGINFO for COMPAT_DARWIN
2003-12-16 13:38:25 +00:00
manu
c3eb252046
GPR5 does not hold code, it holds the signal number (this is the first
...
argument to the signal handler). It's an extraordinary luck that test
programs worked so far.
2003-12-16 13:36:18 +00:00
keihan
35ef6c8653
netbsd.org -> NetBSD.org
2003-12-16 12:22:24 +00:00
sekiya
af4ac18e50
Introduce abstraction layer for HPC registers and values, which addresses the
...
divergence between HPC revision 1.5 and revision 3.
The wdsc driver has been updated to reflect this layer (and may now work on
IP20). The sq driver needs a bit more work before it can be committed.
2003-12-16 11:59:04 +00:00
sekiya
c7a0d0b9f4
iocreg.h has moved.
2003-12-16 10:20:10 +00:00
sekiya
b91ae185fb
A slighly more descriptive iocreg.h now lives in ../ioc.
2003-12-16 05:27:40 +00:00
gavan
5232db351e
The PIRSR is at location 0xffffe1ec, not 0xffffe2ec.
...
Source: Intel(R) 80321 I/O Processor Developer's Manual, page 578
2003-12-16 00:04:09 +00:00
jmc
d9948df6dd
Clean up tmp files on exit. Fixes PR#23723
2003-12-15 20:07:39 +00:00
martin
b7019538c6
Add config files for Mr.Coffee JavaStatin 1 machines.
...
Unfortunately we need two slightly different ones for now (OBP vs. OF)
2003-12-15 19:33:01 +00:00
martin
170c19e9bf
Rename the JavaStation network boot loader: bootjs.elf -> bootjs.net.
2003-12-15 17:34:36 +00:00
manu
aad6b2204e
Brazilian keymap, submitted by Rafael Diniz
...
http://mail-index.netbsd.org/port-hpcarm/2003/12/14/0000.html
2003-12-15 16:11:34 +00:00
sekiya
a51a4e0a69
Part two in the Great Renaming. ip22.c becomes ip2x.c, and all generic ip2x
...
routines become ip2x_*.
2003-12-15 13:02:28 +00:00
sekiya
01a7cd0853
Change all IP22 preprocessor conditionals to IP2X preprocessor conditionals.
...
Part one of two -- part two will be renaming ip22_*() to ip2x_*().
2003-12-15 12:48:37 +00:00
sekiya
441e82538f
IP20 belongs to the IP2x family, thus this should no longer exist.
2003-12-15 12:34:56 +00:00
sekiya
90e0aa001b
Add ioc driver to IP2x config file, pull in ioc/files.ioc as well. Note that
...
IP2x now has blinkenlitzen.
2003-12-15 10:26:38 +00:00
sekiya
3568a47283
Move IOC-specific initialization code from sgimips/ip22.c to ioc/ioc.c.
2003-12-15 10:24:47 +00:00
sekiya
aa10d0203e
Add dedicated IOC (I/O Controller) driver. pckbc, zstty, and lpt will each
...
receive *_ioc.c attachments; machines without IOC (i.e., IP20) will use *_hpc.c
stubs.
2003-12-15 10:23:52 +00:00
scw
5f0d6f1b24
Work-around an obscure bug (reported by a couple of people, and reproduced
...
exactly twice by me) which causes the code at the top of copyin which
word-aligns the destination pointer to copy more bytes than necessary,
resulting in an alignment fault later on.
The bug is difficult to reproduce, but as far as I can tell it seems
to be as a result of the condition codes being corrupted, possibly
following a page fault caused by the first ldrbt/strb instructions.
The subsequent ldr<cc>bt/str<cc>b instructions then _always_ execute.
I can't think of any obvious reason why this would happen, though.
2003-12-15 09:27:18 +00:00
scw
fbdf861fac
The last cpsr_all change was misguided. Just use cpsr_c wherever possible.
2003-12-15 09:18:21 +00:00
simonb
210a9530eb
Use UART_SIZE instead of a (redefined) COM_NPORTS.
2003-12-15 09:13:41 +00:00
jdolecek
e1a0411746
print complete contents of the second feature byte; this also fixes
...
printing of DMA32 bit
2003-12-15 08:38:01 +00:00
jmc
43bf89bfc6
Fixes from PR#23177. Various lint/logic fixes:
...
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing
Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
lonewolf
bf0b94a750
Add pckbc/wscons/newport related attachments.
2003-12-15 05:29:20 +00:00
lonewolf
280382edf9
Add support for attaching newport/pckbc as console on IP22 (Indy).
...
XXX Does this work on Indigo2 too?
XXX Ugly hardcoded bus_space_tags and stuff.
XXX This whole file is one damn ugly mess.
2003-12-15 05:28:14 +00:00