Commit Graph

113381 Commits

Author SHA1 Message Date
ichiro
0c9cb92a41 bug fix 2003-05-31 00:58:40 +00:00
kristerw
2794d56b90 Use __asm instead of asm, to make lint happy. 2003-05-31 00:38:05 +00:00
kristerw
19827361f5 Add some LINTSTUB comments. 2003-05-31 00:36:46 +00:00
petrov
b6d4c1c66b wsmouse for ms@tty. 2003-05-30 23:34:06 +00:00
salo
9a8fb24f43 Add ETIME translation. 2003-05-30 23:24:23 +00:00
wiz
26c0f55f7f Add translation for 92 (ETIME). 2003-05-30 23:10:42 +00:00
kristerw
f4b0e187e9 Fix some lint warnings. 2003-05-30 23:08:12 +00:00
uwe
a19b05b597 Oops, do not disable coprocessor in igsfb_init_ext. 2003-05-30 22:41:52 +00:00
kristerw
7e5434fe39 Remove stuff that are not needed any longer. 2003-05-30 22:33:58 +00:00
dsl
b62cbc21e9 Make all architectures (except amiga and mac68k) use the MI make_bsd_partitions.
This does change the default size of /, but I'm going to rewrite
make_bsd_partitions next to make it less user-hostile.
(I'm not sure adding in 2 * ram is actually useful! Especially size it left
/usr with a -ve size on all my test installs with 256MB ram and 1GB disk)
Make bootsel code delete menu names if the partition is unused.
Use raw device for cdrom access (I've a kernel that doesn't report an invalid
label so /dev/cd0a dosn't work).
2003-05-30 22:17:00 +00:00
kleink
aac347de72 Include <sys/unistd.h> for the definition of _SC_PAGESIZE, which is
required for run-time retrieval of SHMLBA.  While this does make visible
additional symbols which are not in the underscore-prefixed
implementation-reserved namespace, its impact should be negligible (and
most applications supposedly include <unistd.h> as well), and there is
prior art to that.  Fixes PR kern/19135 from Chris Demetriou.
2003-05-30 20:31:34 +00:00
jdolecek
0208373f7d add ETIME translation 2003-05-30 19:35:34 +00:00
jdolecek
c01f677379 ETIME is #92, not #91 2003-05-30 19:33:58 +00:00
thorpej
22791b9867 Add a CPUFLAGS variable which can be set by the user's mk.conf or in
the environment:

CPUFLAGS        Additional flags to the compiler/assembler to select
                CPU instruction set options, CPU tuning options, etc.

Since CPUFLAGS is not implicitly set by any part of the make infrastructure,
it is safe to set in mk.conf, unlike COPTS or DBG.
2003-05-30 18:43:23 +00:00
thorpej
6955d47610 Make big-endian mode a little closer to working on the BRH. I can talk
to both the EEPROM *and* the PHY on the Ethernet interface now, at least,
though it is still not completely working.

Many thanks to Stephen Goadhouse at ADI for some hints.
2003-05-30 18:38:02 +00:00
kristerw
b86c323d39 Simplify handling of memory allocation, and make sure all return values
from malloc etc. are handled.

This removes the old behavior to retry the operation with a less memory-
consuming method in case malloc failed (this mechanism has never really
worked, and is hard to test.  Besides, it is less useful now than it was
20 years ago when the code was written...)
2003-05-30 18:14:13 +00:00
dsl
b0b2a88fe2 KNF 2003-05-30 17:34:31 +00:00
dsl
028c9f0a91 KNF 2003-05-30 17:24:13 +00:00
christos
4e9f5413f5 Add RTLD_SELF, RTLD_NEXT, RTLD_DEFAULT, from FreeBSD 2003-05-30 15:44:03 +00:00
christos
683092605c Add RTLD_FIRST, RTLD_NEXT, RTLD_DEFAULT, from FreeBSD 2003-05-30 15:43:33 +00:00
dsl
127236bc6a KNF 2003-05-30 13:58:25 +00:00
perry
cd2741bcae Re-remove admin, port-arm32.
They were removed intentionally the first time.
2003-05-30 13:42:18 +00:00
christos
0eba3d0e7c Add regression test for cvt nodes in ?: expression 2003-05-30 13:39:39 +00:00
christos
fb6b32b11b Back out debugging Makefile. 2003-05-30 13:38:09 +00:00
christos
e3071c679b PR/21706: Krister Walfridsson: CVT nodes not handled in ?: expressions. 2003-05-30 13:37:49 +00:00
dsl
291768820b KNF 2003-05-30 13:34:58 +00:00
dsl
ad480b2e44 KNF 2003-05-30 13:23:26 +00:00
dsl
4948e51933 layout changes 2003-05-30 13:13:30 +00:00
simonb
f3c9a91eee Descend into the stdio directory (thanks Nick!). 2003-05-30 12:49:57 +00:00
simonb
544cefa2dd Add a regression test for PR lib/21691. 2003-05-30 12:46:05 +00:00
kleink
0c9499738e Add LC_MESSAGES to the listing of categories; fixes PR misc/19829 from
FUKAUMI Naoki.
2003-05-30 12:11:48 +00:00
dsl
4b8e98ee2a Further collapsing of MD code:
- make_bsd_partitions() correctly handles PART_BOOT
- use bsddisklabel.c for pc532 and sgimips (this does change the default size
  for the root partition, as it no longer includes twice the memory size).
- Change way ports define disk_names[] (in particular this lets me add "vnd"
  for testing), also ensures all ports pick up new drivers.
  I've make most ports use the default "wd", "sd", "ld".
  Abort the search for disk units if we get ENOENT (ie no /dev entry) to
  speed up the case where we are looking for a disk type that isn't
  supprted by the port.
  (it is possible we could just check all possible disks on all ports...)
2003-05-30 11:56:23 +00:00
scw
58c736d46f In dmio_read(), make sure to set DMIO_STATE_READ_WAIT in ds->ds_flags
before going to sleep.
2003-05-30 11:37:47 +00:00
kleink
9adea725c5 {u,}intptr_t are ints again. 2003-05-30 11:07:38 +00:00
dsl
eb9a70f8fb Another mistake in the ufs2 code - a missing else. 2003-05-30 09:22:50 +00:00
kleink
8929f86e50 Delint a use of uintptr_t; not strictly necessary with -current lint(1),
but consistent with makecontext.c.
2003-05-30 07:23:25 +00:00
simonb
94582f47bd #define<tab> 2003-05-30 06:41:00 +00:00
fair
3c344189a4 More completely document the bootstrap flags accepted by the NetBSD
secondary bootstrap and the NetBSD kernel. Document SRM a little more.
I think this satisfies PR 20557.
2003-05-30 05:34:46 +00:00
minoura
9e27136527 Correct some Japanese entries.
- Add New Year's Day
  - Adults Day -> Coming-of-Age day
  - Girl's Day is not a holiday
  - Constitution Day is 5/3
  - There's no Boy's Day on 5/1; maybe 5/5? (which is now Children's Day)
  - Add Ocean Day (7/20)

Need sort?
2003-05-30 05:11:25 +00:00
simonb
dbf00ebd13 Use the date I committed this, not the date I originally came up with
the changes.
2003-05-30 02:22:23 +00:00
matt
e7559eb17d Use proper shift marcos for EXT. This makes the PHY on i83543 get
recognized.  From Doug Donsbach <dldonsbach at tds dot net>
2003-05-30 02:08:55 +00:00
itojun
7cc3e999f7 inherit IPV6_V6ONLY from listening socket. PR 21713 2003-05-30 01:15:04 +00:00
simonb
ae46649fa5 Pass a NULL to getbsize() for any arguments that aren't needed, and
remove the otherwise unused variables.
2003-05-30 00:17:25 +00:00
simonb
20a5af5edd Allow either parameter to the getbsize(3) function to be a NULL, in
which case it is ignored.
2003-05-30 00:12:09 +00:00
fvdl
afff857edc Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.
2003-05-29 20:22:28 +00:00
nathanw
4ee0df68f2 Allocate and initialize dirp->dd_lock before calling telldir(), which
will try to lock it.

Addresses PR lib/21712.
2003-05-29 18:29:59 +00:00
christos
25cb0b1e94 de-lint pointer casts. 2003-05-29 18:15:25 +00:00
christos
7d2c2eeaea - make all targparam.h files consistent with the arch includes
- add a new INTPTR_IS_LONG define and use it.

- XXX: the PTRDIFF, SIZEOF, INTPTR defines really make lint more relaxed
  in some platforms than others. We should really be looking for the
  particular tokens to enable this kind of checking. I.e.
  now:

	char *p;
	int foo = (int)p;

  does not produce a warning on INTPTR_IS_LONG == 0 platformas.
  In reality it should only elide the warning if:

	char *p;
	int foo = (intptr_t)p;

  but it is not that smart (yet).
2003-05-29 18:12:13 +00:00
christos
0328813526 Back to unsigned int and int for {u,}intptr_t, otherwise java has no chance... 2003-05-29 18:06:55 +00:00
dsl
c522fd9f62 partsize and partstart don't need to be globals 2003-05-29 17:54:22 +00:00