Commit Graph

33203 Commits

Author SHA1 Message Date
brian
9e850ba8f4 Fix a few typos
Submitted by: Forgotten (sorry)
1998-11-08 13:05:30 +00:00
dfr
cda8a342be * Fix a couple of places in the device pager where an address was
truncated to 32 bits.
* Change the calling convention of the device mmap entry point to
  pass a vm_offset_t instead of an int for the offset allowing
  devices with a larger memory map than (1<<32) to be supported
  on the alpha (/dev/mem is one such).

These changes are required to allow the X server to mmap the various
I/O regions used for device port and memory access on the alpha.
1998-11-08 12:39:07 +00:00
gpalmer
5a8921b934 dig, dnsquery & host seem to work on the alpha now 1998-11-08 12:37:30 +00:00
asami
c1c389e55b (1) New variable MAKE_ARGS: will be appended to build/install make argument
list.  The old MAKE_FLAGS was a little hard to use since it had a weird
    default ("-f").
Suggested by:	Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>

(2) Add new targets clean-restricted and clean-for-cdrom, which will
    delete RESTRICTED and NO_CDROM packages and distfiles from the top.
Reviewed by:	jkh

(3) Add depends to list of things to recurse on.  It will help people
    who are trying to fetch some ports plus their dependencies.

Requested by:	Chris Dillon <cdillon@wolves.k12.mo.us>
1998-11-08 10:29:53 +00:00
peter
be4a48fe99 Missing newline at end of file causes syntax error. 1998-11-08 09:57:28 +00:00
dima
2215710c14 64bit clean now 1998-11-08 08:27:16 +00:00
msmith
50c207cd0e Enable 686 class optimisations for all 686-class processors, not just the
Pentium Pro.  This resolves the "Dog slow SMP" issue for Pentium II
systems.
1998-11-08 02:26:14 +00:00
wpaul
82c45919b6 Spell November correctly. 1998-11-07 17:54:11 +00:00
wpaul
494031c8f8 Add man page for the RealTek 8129/8139 driver. 1998-11-07 17:40:18 +00:00
jkh
759a9b6b00 o Add proper stack checking to all file words
o add fkey and fread
o eliminate fexists now that this can be expressed in HLL forth
  ( : fexists fopen dup -1 <> if fclose 1 else drop 0 then ; ) :-)

Once we get the ability to write files, it should be possible to do
stand-alone rescue work from the 3rd stage boot. :)
1998-11-07 17:38:40 +00:00
nsouch
8ffcf3d619 Change METHODE (french) to METHOD.
Submitted by: Nick Hibma <nick.hibma@jrc.it>
1998-11-07 14:56:04 +00:00
nsouch
d446bd7575 Define DEBUG only if not already defined, avoiding confusions with
opt_global.h
1998-11-07 14:35:41 +00:00
nsouch
62e30fa2d7 Add iic driver iff the corresponding devclass exists. 1998-11-07 14:33:46 +00:00
nsouch
2628e5544d Return to previous check_for_i2c_devices() behaviour.
Cast the cmd parameter to unsigned char in every smbus call.

Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
1998-11-07 14:30:48 +00:00
des
e4c71cd391 fetch_err.h is a generated file, so don't look for it in ${.CURDIR}. 1998-11-07 08:59:38 +00:00
jkh
24dd9999f4 Eliminate much code cruft by extending simple file I/O API to include
fopen and fclose.
1998-11-07 06:18:06 +00:00
jkh
6901718ae1 Eliminate much code cruft by extending simple file I/O API to include
fopen and fclose.  Also look for /boot/boot.4th now and, if found,
load its contents.
1998-11-07 06:18:00 +00:00
jkh
c2367684c4 Take init out of here - it's a layering violation. 1998-11-07 05:01:25 +00:00
peter
c5ab27e586 oops! s/vfs_register/vfs_unregister/ in the unload case..
Mentioned by: dfr
1998-11-07 04:51:36 +00:00
peter
aaa24cb3d8 Don't define the module glue if building as an LKM, this happens to have
a same symbol name as the LKM glue.
1998-11-07 04:34:02 +00:00
jkh
4a00a3763a Don't have debugging on by default - it makes testing annoying. :) 1998-11-07 03:44:10 +00:00
jdp
c2e4cecfcd Fix a bug in the handling of minor version numbers. Formerly, the
rtld would accept the first shared library it found with the right
major version number, even if the minor version number was too low.
If a different version of the shared library with an adequate minor
version number appeared later in the search path, it would not be
found.

Now the rtld searches all locations first looking for a library
with a minor version that is high enough.  Only if such a library
is not found will it fall back to accepting a minor version number
that is too low.  As before, a warning comes out in that case.

This solves some problems encountered when building an older world
on a -current system.
1998-11-07 01:59:39 +00:00
jkh
f6a4f0bcbb OK, fload/fexec work properly when both compiling and interpreting
now.  Gack.
1998-11-07 01:56:06 +00:00
des
3dd70c3a7b Bitch if both an id and a name are specified. Make the man page and usage
message reflect this. As a bonus, make the -n optional so that 'kldunload
name' works as one would expect.
1998-11-07 00:42:52 +00:00
des
b8501bafc3 Cosmetic fix (make header align with data) 1998-11-07 00:29:09 +00:00
jkh
5758ceac73 switch words to default mode. 1998-11-06 23:50:08 +00:00
jkh
25f1ad0807 Submit better fix to the prompt bug. 1998-11-06 23:22:26 +00:00
jkh
a171ebaacb Make fexists/fload work with existing string literals instead. Doing
my own string literal handling is just too wonky.
1998-11-06 23:20:32 +00:00
des
b9b8c5041e Second of a series of cleanups to libfetch.
This commit introduces the following features:

 a) the fetchStat*() functions, which return meta-information for a
    document, such as size, modification time, etc.

 b) the use of the com_err(3) facilities to report errors.

It also fixes a bunch of style bugs and a few logic bugs and somewhat
improves the man page.

Changed files, in alphabetical order:

 Makefile:
  Don't generate macros in {ftp,http}err.c.

  Generate category fields for the error message lists.

  Compile the error table.

  Install fetch_err.h along with fetch.h.

 common.c:
  Remove the _netdb_errstring() macro, and add FETCH_ERR_NETDB to the
  error code in the _netdb_seterr() macro.

  Add categories to the _netdb_errlist table.

  Report errors through the Common Error library.

 common.h:
  Add the DEBUG macros.

  Add prototype for fetchConnect().

  Remove the prototype for _fetch_errstring(), which is local to common.c

  Add a categroy field to struct fetcherr, and define constants for
  error categories.

  Define macros for _{url,netdb,ftp,http}_seterr().

 errors.et: (new file)
  List error categories.

 fetch.3:
  Document the fetchStat*() functions.

  Move the "unimplemented functionality" comments from NOTES to BUGS.

  Document that applications which use libfetch must also use
  libcom_err, and list existing error codes.

  Undocument fetchLastErr{Code,String}.

  Remove the (empty) DIAGNOSTICS section.

  Mention Eugene Skepner in the AUTHORS section.

 fetch.c:
  Move the DEBUG macros to common.c

  Add fetchStat() and fetchStatURL().

  Generate error messages for URL parser errors, and fix a minor bug
  in the parser.

  Use 'struct url' instead of 'url_t'.

  Remove fetchLastErr{Code,String}.

 fetch.h:
  Use 'struct url' instead of 'url_t', and remove the typedef.

  Define struct url_stat (used by fetchStat()).

  Add prototypes for fetchStat*().

  Remove the declarations for fetchLastErr{Code,String}.

  Include fetch_err.h.

 fetch_err.et: (new file)
  Error table for libfetch.

 file.c:
  Add fetchStatFile().

  Use 'struct url' instead of 'url_t'.

 ftp.c:
  Add fetchStatFTP().

  Use 'struct url' instead of 'url_t'.

  Don't use fetchLastErrCode.

 ftp.errors:
  Add categories to all error messages.

 http.c:
  Add fetchStatHTTP().

  Use 'struct url' instead of 'url_t'.

  Don't use fetchLastErr{Code,Text}.

 http.errors:
  Add categories to all error messages.

Prompted by: jkh and Eugene Skepner
Numerous sugestions from: Garett Wollman and Eugene Skepner
1998-11-06 22:14:08 +00:00
dt
85c0134e6e Don't call pthread_mutex_lock with _SPINLOCK held.
Made pthread_cond_wait() more similar to pthread_cond_timedwait().

PR:		8375
1998-11-06 21:04:02 +00:00
msmith
da027ed539 USERCONFIG_BOOT -> INTRO_USERCONFIG
Submitted by:	des
1998-11-06 20:32:22 +00:00
dg
368d19bbcd Added info about non-blocking support. 1998-11-06 19:35:58 +00:00
jkh
1c6cbcdb63 Argh, I had this right[er] before. More commits to follow. 1998-11-06 19:17:03 +00:00
dg
fc0d420464 Added support for non-blocking sockets to sendfile(2). 1998-11-06 19:16:30 +00:00
jkh
053db512ad TEST -> test 1998-11-06 17:29:08 +00:00
jkh
7efd62d9d0 Alpha loader lives in /boot now; no need for a special hack. 1998-11-06 16:50:51 +00:00
peter
270f4d4aae Remove trailing ';' - use the one supplied by the caller: "VFS_SET(foo);" 1998-11-06 16:36:31 +00:00
peter
ad98a8ad49 Make this work now; fixing the kstack overflow allows the dependency to
be added to the symbol search order safely.
1998-11-06 16:02:14 +00:00
peter
370a5264a4 Don't use a glue file for the module; use the one in the kernel. 1998-11-06 16:01:19 +00:00
peter
d05c5c7ece Create an 'ibcs2' module so that scripts can tell if it's statically
linked in or needs to be loaded.
1998-11-06 16:00:47 +00:00
peter
61b12b2b2c Don't put aggregate structs 4K large on the kernel stack, especially when
we can recurse when loading dependencies and that the kstack is limited
to something like 6 or 7KB.  Having a single dependency caused an instant
double panic, and I stronly suspect some of the other strange "events"
that I have seen are possibly as a result of taking a couple of interrupts
with a large chunk of the stack already in use.

While here, fix a minor logic hiccup in a sanity check.
1998-11-06 15:16:07 +00:00
peter
dd06e0d654 Define the kld_debug variable if KLD_DEBUG is enabled 1998-11-06 15:10:17 +00:00
obrien
48cb010c82 Add a few HP's with on-board Ethernet controlers that are supported by
this driver.
1998-11-06 09:46:02 +00:00
obrien
9b1911381b make lnc0 definition in LINT match GENERIC 1998-11-06 09:37:38 +00:00
obrien
f0aa7b899f add AMD Am7990 & Am79C960 to description of lnc(4) 1998-11-06 09:35:32 +00:00
kato
eebefc0625 Sync with sys/i386/i386/userconfig.c revision up to 1.115. 1998-11-06 08:08:05 +00:00
kato
1580ea9d3b Sync with sys/i386/i386/machdep.c revision up to 1.315. 1998-11-06 08:07:32 +00:00
kato
0a6a5a17cd Sync with sys/i386/conf/options.i386 revision 1.91. 1998-11-06 08:07:00 +00:00
kato
1631a2edcd Sync with sys/i386/conf/Makefile.i386 revision 1.128. 1998-11-06 08:06:32 +00:00
roberto
bb27f00c35 Forgot the Makefile entry for the Latin9 font.
Caught by: Janick Taillandier <Janick.Taillandier@ratp.fr>
1998-11-06 07:59:11 +00:00