Commit Graph

115638 Commits

Author SHA1 Message Date
bsh
3a51a1be48 move KERNEL_BASE_PHYS from mk.smdk2xx0 to std.smdk2800, to share
mk.smdk2xx0 with SMDK2410.
2003-07-31 20:25:28 +00:00
bsh
76df5f270b the first cut for Samsung SMDK2410 support.
It is an evaluation board for S3C2410.

XXX: not tested much yet.
XXX: smdk2410_machdep.c and smdk2410_start.S are almost identical
     to SMDK2800's.  One day I'll merge them.
2003-07-31 20:11:45 +00:00
bsh
86ab1d6591 the first cut of Samsung S3C2410 support.
It is Samsung's another ARM920 based SoC.

XXX: not tested much yet.
2003-07-31 19:49:41 +00:00
bsh
eb6fd47108 split sscomintr() to sscomtxintr() and sscomrxintr(). 2003-07-31 19:08:10 +00:00
he
5b3551df93 Initialize one more arm32_bus_dma_tag's _cookie to NULL. 2003-07-31 17:51:09 +00:00
yamt
428f108569 remove remaining v_id. 2003-07-31 15:43:06 +00:00
matt
d89b685a6e Switch to regiser prefixes. Also change numeric constants to symbolic ones. 2003-07-31 15:30:41 +00:00
matt
f9c46681fd Change switchframe to use register_t (anything that uses stmX/lmX needs
to be defined as register_t).
2003-07-31 15:29:29 +00:00
yamt
2dc3c0a90c for NCHASH, obtain bits from the vnode pointer as well
to achieve a better hash distribution.
2003-07-31 15:14:08 +00:00
yamt
378afd773a when casting a pointer to an integer,
cast it to uintptr_t so that 64-bit archs will be happy.

pointed by Juergen Hannken-Illjes.
2003-07-31 15:13:05 +00:00
matt
18a1f8d4c7 Switch to m[tf]sprg[0-3] 2003-07-31 14:02:22 +00:00
matt
52bfbfda86 Use register prefixes and load/store pseudo-instructions. 2003-07-31 13:59:54 +00:00
lukem
403ce9dc0c simplify and use ${DEPENDSRCS} as a target as appropriate 2003-07-31 13:54:30 +00:00
hubertf
e13dec7b2a Making device files -> Making device nodes 2003-07-31 13:50:05 +00:00
scw
bc25d2ab5f Const poisoning. 2003-07-31 13:48:11 +00:00
lukem
a504cd2911 bsd.dep.mk: add a dependency for *.d on ${SRCS} ${DPSRCS}. this should fix
some build problems where DPSRCS contains .h files that need to exist to
build the .d file.

document that bsd.dep.mk should be included after anything that might
update SRCS or DPSRCS so that the above works correctly, and actually
ensure this is the case.
2003-07-31 13:47:32 +00:00
lukem
7b3a8b8486 tweak this unconventional (some might say "baroque") Makefile to work
with the new <bsd.dep.mk> *.d semantics.
fixes problems highlighted by Martin Husemann <martin@>
2003-07-31 12:46:00 +00:00
dsl
c841017dd9 Do something more sensible for waddbytes(..., "\r\n", ...);
I'm not sure about the clrtoeol() at all though - maybe it should
be done as part of scroll()?
Leave 'x' alone when __NONL set.
2003-07-31 10:36:00 +00:00
lha
a6393a1286 libkrb depends on libdes (add)
libkrb5 depends on libcrypto (move from comon part)
2003-07-31 10:02:22 +00:00
itojun
5de5abdd3d consistently use new DES API, re-enable des regression test 2003-07-31 08:53:58 +00:00
matt
478364a5c5 Convert to the load/store pseudo-instructions. 2003-07-31 08:04:21 +00:00
matt
e51e13713a Use symbolic register names (%rN and %crN) throughout. Change a few more
numeric constants to their symbolic counterparts.
2003-07-31 07:51:16 +00:00
matt
cef74eb810 Add #define _NOREGNAMES (to suppress asm.h from #define r1 1 ...) 2003-07-31 07:50:02 +00:00
lukem
462f170e30 crank version for:
* Work around broken ftp servers (notably ProFTPd) that can't even follow
  RFC 2389, and skip any amount of whitespace before a FEATure response.
  The RFC says 'single space' yet ProFTPd puts two.
  Noted by DervishD <raul@pleyades.net>.
* Improve formatting of features[] debug dump.
* Invalidate remote directory completion cache if any command which
  may change the remote contents completes successfully, including:
  del, mdel, ren, mkdir, rmdir, quote, and all upload commands
  Patch from Yar Tikhiy <yar@freebsd.org>.
2003-07-31 07:13:01 +00:00
lukem
8d51fbf035 Invalidate remote directory completion cache if any command which
may change the remote contents completes successfully, including:
del, mdel, ren, mkdir, rmdir, quote, and all upload commands
Patch from Yar Tikhiy <yar@comp.chem.msu.su>.
2003-07-31 07:06:41 +00:00
lukem
90bb61be44 * Work around broken ftp servers (notably ProFTPd) that can't even follow
RFC 2389, and skip any amount of whitespace before a FEATure response.
  The RFC says 'single space' yet ProFTPd puts two.
* Improve formatting of features[] debug dump.
2003-07-31 06:57:07 +00:00
matt
82ebd07f24 Convert most numeric constants to their symbolic equivalents. (step 2 of
cleaning up this file).
2003-07-31 06:49:32 +00:00
lukem
6874712934 Don't need -R/usr/lib; it will be searched at the end by ld.elf_so anyway.
Noted by matt green <mrg@>
2003-07-31 06:31:38 +00:00
matt
f5444cea2f Define SZREG {4,8} appropriately. Add pseudo-instructions (via #define)
to load/store int, long, pointer, register, multiple registers.  This is so
assembly files can be support IPL32 and LP64 PowerPC implementations.
2003-07-31 06:23:55 +00:00
matt
0039d6a257 Replace 'm[tf]sprg x,y' with the appropriate 'm[tf]sprg[0-3] r' (this makes the
SPRG used unambiguous).  This causes no change in the generated object.
2003-07-31 06:21:09 +00:00
lukem
29d4256657 ftp(1): $FTPUSERAGENT 2003-07-31 05:38:28 +00:00
lukem
6f5fbdb6de * $FTPUSERAGENT overrides the HTTP User-Agent header.
Based on patch from Douwe Kiela.
* Add about:tnftp
* Fix URL in about:netbsd
* Crank version
2003-07-31 05:23:59 +00:00
matt
18eb53cd22 add PSL_TGPR (for MPC603) 2003-07-31 01:25:38 +00:00
sjg
1ebbf35953 Test behavior of commandline variable assignments. 2003-07-31 00:46:15 +00:00
matt
5166de08fb back out inadvertant commit (however, -D_PTHREADS needs to be supplied
somewhere so that gthr-posix.h is included).
2003-07-30 21:21:46 +00:00
matt
e379d89a35 Remove the alpha specific -mieee flag 2003-07-30 21:20:33 +00:00
matt
774cd5317a Remove the alpha specific -mieee 2003-07-30 21:19:35 +00:00
bsh
8c0536d8f2 add SMDK2800 to supported platform. 2003-07-30 18:55:46 +00:00
bsh
7fc9d147bb gzboot for SMDK2800. 2003-07-30 18:54:18 +00:00
jonathan
dfdfebe4d9 Discard previous driver; it didnt really do anything.
Replace with  a new from-scratch port of  recent OpenBSD hifn7751 source,
with changes to the crypto-framework calls to fit Sam Leffler's rework.
(Some of the attach-time changes from the previous driver were carried over).
Many thanks to Quentin Garnier (cube@cubidou.net) for testing an pre-release
of the driver and finding a couple of missing initializations.

Note that RNG support is temporarily disabled, until a potential issue
with RNG quality is investigated and resolved.
2003-07-30 18:49:27 +00:00
jonathan
460c06b905 Move the initialization of the crypto framework from the userland
pseudo-device to init_main(), so the framework is ready for
registration requests at autoconfiguration time.

Thanks to Quentin Garnier for confirming the change was required, and
for testing a similar fix.
2003-07-30 18:45:31 +00:00
jonathan
4ccffbe938 Add ``needs-flag'' to opencrypto/crypto.c, so that init_main() can do
a feature-test and if present, initialize the crypto framework before
configuring hardware devices, so the crypto framework is ready to accept
attachment requests when crypto hardware are auto-configured and
try to register themselves with the framework.

Thanks to Quentin Garnier who, given a heads-up about the problem,
tested the same basic fix with a hardware device.
2003-07-30 18:28:58 +00:00
bsh
675f6328c9 + enable nested interrupts. This change stopped silo overflow messages
at 115200bps.

+ disable all hard interrupts by default.

+ rewrite s3c2xx0_(un)mask_interrupt() to make them faster.
2003-07-30 18:25:50 +00:00
jonathan
b2fb48e943 Garbage-collect references to OpenBSD-only <dev/rndvar.h>. 2003-07-30 18:20:15 +00:00
bsh
caf245db80 make this compile again. (arm32_bus_dma_tag._cookie) 2003-07-30 18:17:16 +00:00
he
d3c139da44 Initialize the new _cookie member of arm32_bus_dma_tag to NULL. 2003-07-30 17:28:19 +00:00
lha
cd8ee127f7 make the panic messages match reality 2003-07-30 17:27:23 +00:00
mrg
8a8d2aa063 sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)
2003-07-30 15:58:36 +00:00
yamt
bdbaf98d1e using normal bufcache buffer for cluster buffer head. 2003-07-30 13:36:40 +00:00
yamt
1bc98d3c14 - check EROFS earlier in lfs_markv.
- remove wrong error recovery code (fake buffers are never on bufqueue)
  and put a comment instead.
2003-07-30 12:38:53 +00:00