Commit Graph

121925 Commits

Author SHA1 Message Date
simonb
4805123b12 Nuke register prefix for local variables, clean up indentation a little. 2003-12-17 04:04:40 +00:00
ad
35a755ce3a - Restore the display to a sane state when leaving mapped mode.
- OR updates into sc_changed, and protect with spltty()/splx().
2003-12-17 03:59:32 +00:00
heas
16e5c22815 Initialize uid and gid so that the owner/group is not inadvertantly changed
when only one of -g or -o are given by the super-user and -g works for others.
2003-12-16 20:51:57 +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
manu
966a0ee30b Darwin's sigprocmask is an hybrid between or modern sigprocmak (old set
argument, large sigset), and the older sigprocset (no old set argument,
small sigset). It feature old set argument and small sigset.

We now emulates this correctly.
2003-12-16 16:13:59 +00:00
wulf
4a58b169c3 Fixed a bug that made lastlogin ignore the first user argument 2003-12-16 15:40:29 +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
mjl
550c4966cd Correct typo in page header for tpgid. 2003-12-16 14:26:46 +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
yamt
6b95193071 - reduce code duplication.
- use boolean_t where appropriate.
2003-12-16 13:47:48 +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
abs
8724ebf7f9 Comment out #undef LARGE_NAT so LARGE_NAT can be set in a kernel config file
without having to edit this file as well.
2003-12-16 12:15:04 +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
yamt
98e9a8c373 g/c lfs_no_inactive. 2003-12-16 11:45:07 +00:00
wiz
86599d7c52 Some fixes from jmc@openbsd. 2003-12-16 11:31:04 +00:00
sekiya
c7a0d0b9f4 iocreg.h has moved. 2003-12-16 10:20:10 +00:00
dyoung
59eb8ab913 Synchronize with FreeBSD:
* add constants to enums

 * HAL update: stops panics, fixes ad hoc-mode beacons, some API
   changes

 * get and use mac/phy/rf front-end revision codes

 * add a custom ath(4) ic_node_getrssi callback which does RSSI
   averaging

 * do not immediately scan, but re-associate after missing beacons.

 * bug fix: don't if_init after detach.

 * HAL diagnostics ioctl, SIOCGATHDIAG

 * send DS parameters element in beacons

 * const-ify some pointers

 * consolidate rx-filter settings into ath_calcrxfilter

 * abstract FreeBSD `ticks', NetBSD `hardclock_ticks' with ATH_TICKS()

 * misc. other changes
2003-12-16 06:48:08 +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
ffeeb30dd3 Add JavaStation kernels to KERNEL_SETS 2003-12-15 19:36:16 +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
61925d6833 bootjs.elf is gone, long live bootjs.net 2003-12-15 17:37:26 +00:00
martin
e5627c0207 bootjs.elf -> bootjs.net 2003-12-15 17:35:33 +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
martin
de87e33d67 More JavaStation setup instructions.
XXX - someone please demangle the common/netboot maze and fix the markup ;-)
2003-12-15 16:10:58 +00:00
tsutsui
b386fab8f8 Use aprint_debug() instead of aprint_normal() for debug info. 2003-12-15 15:13:55 +00:00
skrll
eba79970b1 Remove the -fno-gcse-lm hack now that it is no longer needed. 2003-12-15 14:57:54 +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
lukem
7eec24689d MAKEVERBOSE-ify MAKEDEV creation 2003-12-15 09:46:51 +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
2d5a801b27 add /rescue to the PATH to find chown if /usr is not available yet
XXX chown should either be moved or we should not depend on it here

fixes PR kern/23614 by Christian Biere
2003-12-15 08:57:52 +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
wiz
9efe6a5366 Bump date for previous. 2003-12-15 07:31:52 +00:00
lonewolf
b1661efe35 Note newport(4) and IP22 console support. 2003-12-15 06:36:05 +00:00
lonewolf
d3617a70ff Add haltwo(4) and newport(4) manpages. 2003-12-15 06:28:01 +00:00
lonewolf
bf0b94a750 Add pckbc/wscons/newport related attachments. 2003-12-15 05:29:20 +00:00