96500 Commits

Author SHA1 Message Date
atatat
e621222ce7 Add stat(1) to sets lists 2002-04-27 19:17:16 +00:00
bouyer
027861788c Regen: use a u_int32_t in script RAM to pass flags between script and driver. 2002-04-27 18:47:31 +00:00
bouyer
eea7ef4c53 Use a u_int32_t in script RAM instead of the SEM bit in ISTAT to pass flags
between script and driver. This allows more than one flag, and is easier to
manage (we almost can't read/write istat outside of the irq handler).
2002-04-27 18:46:49 +00:00
bouyer
b66175fa2b Regen: implement done command ring. 2002-04-27 17:40:19 +00:00
bouyer
5387f035d3 Implement a ring for the completed commands. This avoid a (problematic only
if error occurs after status is collected) race condition
when using the status byte to detect completed commands (a command descriptor
could be recycled before the device disconnected), and make the
interrupt routine handling completed commands more efficient (no need to
scan target * lun * tag array any more).
2002-04-27 17:39:51 +00:00
tsutsui
142133ad1d Fix IMAGESIZE. (typo in rev 1.4?) 2002-04-27 17:15:48 +00:00
atatat
ba4e8c9674 Add a stat(1) program to /usr/bin. It provides a simple formatting
interface, with reasonable defaults, to the information provided by
stat(2) so that scripts can use the data therein much more easily.
2002-04-27 16:37:19 +00:00
bjh21
0080fde9da Define _PATH_BSHELL to the first "sh" on the PATH when bootstrapping
nbmake.  This should remove our dependency on a nobbled /bin/sh on
Solaris.
2002-04-27 16:36:30 +00:00
ichiro
4e89501466 add CPU ID of IXP1200 network processor 2002-04-27 15:50:59 +00:00
bjh21
b846107274 Rather than hardcoding "/bin/sh", use _PATH_BSHELL. To allow bootstrapping,
provide a default for this in pathnames.h, and only include <paths.h> ifndef
MAKE_BOOTSTRAP.
2002-04-27 15:14:30 +00:00
shin
0201440bd2 * make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 12:36:47 +00:00
shin
e81d147a25 add INTERTOP CX310 to supported machine. 2002-04-27 12:21:30 +00:00
chris
8480bd8390 Correct typo.
Remove tabs, !Edit on Risc OS shows tabs as [09] by default.
2002-04-27 10:48:13 +00:00
tsutsui
0ab399cb54 Add bbinfo.h. 2002-04-27 10:22:36 +00:00
tsutsui
d60ade3462 Install bbinfo.h. 2002-04-27 10:20:38 +00:00
tsutsui
9f51b11c37 Use a magic structure with a magic number instead of using nlist(3)
for installboot(8) to patch proto bootblocks.
(This is a preparation to migrate MI installboot.)
2002-04-27 10:19:57 +00:00
lukem
f9eb7d99f0 run "./etc/postinstall check" in afterinstall: 2002-04-27 08:11:53 +00:00
mrg
5bd8d70795 bump version to nb2. 2002-04-27 04:31:16 +00:00
gson
ae16970106 Add myself. 2002-04-27 03:49:06 +00:00
enami
064142edd8 Use ETHER_HDR_LEN instead of 14. 2002-04-27 02:38:47 +00:00
thorpej
9054daca3e * Instrument tcp_build_datapkt().
* Remove the code that allocates a cluster if the packet would
  fit in one; it totally defeats doing references to M_EXT mbufs
  in the socket buffer.  This drastically reduces the number of
  data copies in the tcp_output() path for applications which use
  large writes.  Kudos to Matt Thomas for pointing me in the right
  direction.
2002-04-27 01:47:58 +00:00
perseant
76d2795556 Make exported LFSes not panic on the first file create. 2002-04-27 01:00:46 +00:00
matt
e18dedbd2f switch from addis R,0,... to the simplified mnemonic of lis which is
typically used for this.
2002-04-26 23:28:53 +00:00
thorpej
2ddda24f28 53c1010 chips are ultra3, not ultra2. 2002-04-26 19:44:52 +00:00
groo
c82eeddb2d dreamcast dependent set list 2002-04-26 19:17:38 +00:00
groo
d11fdcc492 Complete the switch to NEW_TOOLCHAIN for sh3e[lb]. 2002-04-26 19:16:04 +00:00
bjh21
caaf2ee30b Include <arpa/inet.h> for ntohl and htonl on POSIX systems.
Also include its prerequisites for compiling on older NetBSD versions.
2002-04-26 18:04:58 +00:00
thorpej
bfd9280083 Issue a CPWAIT sequence after enabling the MMU to make sure
it's really enabled.
2002-04-26 18:01:21 +00:00
bjh21
bde73607cc Pull in config.h when we're building zic as a host tool.
This makes zic compilable with Sun WorkShop C 5.0.
2002-04-26 17:31:54 +00:00
matt
f9f502221e Use the correct name of the INSTALL kernel. 2002-04-26 17:30:00 +00:00
christos
a82db51f4d disable profiling set{u,g}id binaries. 2002-04-26 16:39:52 +00:00
lukem
3fa66e9068 - use "cp" instead of "cp -p", as the files in ${SRC_ETC} might not be owned
by root
- set umask to 022
2002-04-26 16:32:49 +00:00
lukem
248bbf896e Document NETBSDSRCDIR & UNPRIVED.
Reword BSDOBJDIR and BSDSRCDIR descriptions.
2002-04-26 16:24:06 +00:00
lukem
8feb052770 s/_SRC_TOP_/NETBSDSRCDIR/ 2002-04-26 16:23:14 +00:00
lukem
bb2f4a8f06 s/BSDSRCDIR/NETBSDSRCDIR/ 2002-04-26 15:54:41 +00:00
lukem
9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem
9830579350 add 'help' as a synonym for 'usage' 2002-04-26 15:49:09 +00:00
lukem
5363a55b99 s/REV/DISTRIBREV/ 2002-04-26 15:47:21 +00:00
lukem
560c3ebc52 add etc/postinstall 2002-04-26 15:46:13 +00:00
lukem
9ada96166d install postinstall 2002-04-26 15:43:39 +00:00
lukem
6cc319cec4 postinstall -- check for or fix configuration changes that occur over time
as NetBSD evolves.

checks/fixes supported in initial version:
  defaults      /etc/defaults being up to date
  mtree         /etc/mtree being up to date
  rc            /etc/rc* and /etc/rc.d/ being up to date
  periodic      /etc/{daily,weekly,monthly,security} being up to date
  ssh           ssh configuration file relocation
2002-04-26 15:37:25 +00:00
bjh21
dad5e0c347 Change RCS/SCCS IDs to our usual style. 2002-04-26 15:32:45 +00:00
lukem
7bbec49f2a remove unused REV & VER 2002-04-26 15:27:02 +00:00
lukem
29d47e20ef s/VER/DISTRIBVER/ 2002-04-26 15:25:33 +00:00
lukem
5bf6e9db83 use RELINSTALL 2002-04-26 15:05:29 +00:00
lukem
9074deb758 use gzip -9f 2002-04-26 15:05:18 +00:00
lukem
f845b9752d use RELINSTALL 2002-04-26 15:04:30 +00:00
lukem
82172c42f6 Implement NETBSDSRCDIR, which is the top level of the NetBSD source tree.
Defaults to the directory determined by the _SRC_TOP_ logic (if != ""),
and the BSDSRCDIR.

NETBSDSRCDIR has been provided for use by the various NetBSD source
Makefiles to find the top of the NetBSD source tree, and isn't
affected by the inheritance properties of _SRC_TOP_, nor does it
have the magic BSDOBJDIR baggage that BSDSRCDIR is stuck with.
2002-04-26 15:02:02 +00:00
bjh21
2277ee229b This header needs struct in_addr from <netinet/in.h>, so include that.
POSIX-2001 says exposing the contents of <netinet/in.h> here is OK.
2002-04-26 14:56:16 +00:00
lukem
46569c985e Revert part of previous; don't set _SRC_TOP_ to BSDSRCDIR if it can't be
determined, since BSDSRCDIR's default of /usr/src might not exist and the
calculation of _SRC_TOP_OBJ_ would then generate a warning :-(.
_SRC_TOP_ can now == "" if make(1) (or a parent make(1)) was started
outside of the NetBSD source tree.

Now, if _SRC_TOP_ != "",  BSDSRCDIR defaults to ${_SRC_TOP_} and
BSDOBJDIR defaults to the objdir of ${BSDSRCDIR}.

Failsafe defaults for BSDSRCDIR (/usr/src) and BSDOBJDIR (/usr/obj)
are provided later in the file.

This should result in a usable BSDSRCDIR default (i.e, _SRC_TOP_ if
running from within the source tree), with safe fallbacks as appropriate
(/usr/src, as always), meaning that BSDSRCDIR should be able to be used
instead of _SRC_TOP_ in the source tree, although I need to carefully
test this.  *aaaiiiieeee!!!*.  (Now I understand some of Todd's pain :)
2002-04-26 14:27:23 +00:00