]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoAdd ISDN (i4b) documentation and examples
hm [Mon, 18 Jan 1999 14:05:23 +0000 (14:05 +0000)]
Add ISDN (i4b) documentation and examples

25 years agoAdd directory /usr/share/examples/isdn
hm [Mon, 18 Jan 1999 13:58:47 +0000 (13:58 +0000)]
Add directory /usr/share/examples/isdn

25 years agoFix "make world" breakage because MT_RTABLE was still referenced here.
roberto [Mon, 18 Jan 1999 12:40:44 +0000 (12:40 +0000)]
Fix "make world" breakage because MT_RTABLE was still referenced here.

25 years ago- Added Spanish messages.
yokota [Mon, 18 Jan 1999 12:38:59 +0000 (12:38 +0000)]
- Added Spanish messages.
Submitted by: J M Alcaide <jose@we.lc.ehu.es>

- Fixed typo in the last commit: IS-8859-1 -> ISO-8859-1

25 years agoSync with sys/i386/i386/userconfig.c revision 1.126.
kato [Mon, 18 Jan 1999 11:01:57 +0000 (11:01 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.126.

25 years agoSync with sys/i386/conf/Makefile.i386 revision 1.135.
kato [Mon, 18 Jan 1999 11:00:29 +0000 (11:00 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.135.

25 years agoFix copy & paste error.
abial [Mon, 18 Jan 1999 10:17:38 +0000 (10:17 +0000)]
Fix copy & paste error.

Submitted by: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>

25 years agoSwitched to new syscons driver.
kato [Mon, 18 Jan 1999 08:38:08 +0000 (08:38 +0000)]
Switched to new syscons driver.

Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp> and
              Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>

25 years agoFrom inspection, ISA interrupts were completely broken..
julian [Mon, 18 Jan 1999 07:55:02 +0000 (07:55 +0000)]
From inspection, ISA interrupts were completely broken..
revert some of the old ISA code.
(I can't test this but I'm working on the file.)

25 years agoClean new index file(GPATH) of global.
simokawa [Mon, 18 Jan 1999 07:48:41 +0000 (07:48 +0000)]
Clean new index file(GPATH) of global.

Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>

25 years agoUpdate to Global-3.42.
simokawa [Mon, 18 Jan 1999 07:38:13 +0000 (07:38 +0000)]
Update to Global-3.42.

25 years agoMerge from verdor branch (v_3_4_2) and remove obsolete files.
simokawa [Mon, 18 Jan 1999 07:32:38 +0000 (07:32 +0000)]
Merge from verdor branch (v_3_4_2) and remove obsolete files.

25 years agoThis commit was generated by cvs2svn to compensate for changes in r42788,
simokawa [Mon, 18 Jan 1999 06:59:18 +0000 (06:59 +0000)]
This commit was generated by cvs2svn to compensate for changes in r42788,
which included commits to RCS files with non-trunk default branches.

25 years agoImport Global v3_4_2 sources.
simokawa [Mon, 18 Jan 1999 06:59:18 +0000 (06:59 +0000)]
Import Global v3_4_2 sources.

Ok'd by: peter
Discussed with: msmith

25 years agoMove to a uniform '\ooo' (VIS_OCTAL) encoding for special characters.
jkoshy [Mon, 18 Jan 1999 06:58:25 +0000 (06:58 +0000)]
Move to a uniform '\ooo' (VIS_OCTAL) encoding for special characters.
The previous commit broke mtree(8) when file names using certain 8-bit
characters ended up being encoded with '/', '*', and other shell
metacharacters.

PR: bin/9538
Submitted by: "Eugene M. Kim" <astralblue@usa.net>
Reviewed by: jkoshy
Bug-missed-last-time-by: jkoshy
25 years agoStyle police, inline ifs.
billf [Mon, 18 Jan 1999 03:54:17 +0000 (03:54 +0000)]
Style police, inline ifs.

Submitted by:  Brian Feldman <green@unixhelp.org>

25 years agoOnly start vinum if vinum_slices variable is non-empty
grog [Mon, 18 Jan 1999 03:25:10 +0000 (03:25 +0000)]
Only start vinum if vinum_slices variable is non-empty

Reported-by: roberto

25 years agoAdd Portuguese keymaps.
yokota [Mon, 18 Jan 1999 03:08:34 +0000 (03:08 +0000)]
Add Portuguese keymaps.
Submitted by: Paulo Menezes <pm@dee.uc.pt>

25 years agoCorrect Hungarian keymap file names.
yokota [Mon, 18 Jan 1999 03:06:16 +0000 (03:06 +0000)]
Correct Hungarian keymap file names.

25 years agoFix some symbol keys, accented chars, and capslock state flags.
yokota [Mon, 18 Jan 1999 03:04:41 +0000 (03:04 +0000)]
Fix some symbol keys, accented chars, and capslock state flags.

Submitted by: Thordur Ivarsson <thivars@est.is>

25 years agorevoke(2) is supported on regular files under current. Change wording
jkoshy [Mon, 18 Jan 1999 02:37:03 +0000 (02:37 +0000)]
revoke(2) is supported on regular files under current.  Change wording
in manual page that indicated otherwise.

PR: docs/9517
Submitted by: David Malone <dwmalone@maths.tcd.ie>

25 years agoUse the correct type for uid and gid in struct passwd. Document it.
des [Mon, 18 Jan 1999 02:14:20 +0000 (02:14 +0000)]
Use the correct type for uid and gid in struct passwd. Document it.

25 years agoGet rid of MT_RTABLE; multicast routing no longer uses it.
fenner [Mon, 18 Jan 1999 02:09:52 +0000 (02:09 +0000)]
Get rid of MT_RTABLE; multicast routing no longer uses it.

25 years agoDon't use ip_mrtproto to determine whether multicast routing is in
fenner [Mon, 18 Jan 1999 02:09:15 +0000 (02:09 +0000)]
Don't use ip_mrtproto to determine whether multicast routing is in
 the kernel; this was left over from the earlier protocol-dependent
 kernel multicast routing code.

Learn how to handle the malloc'd multicast routing table (instead of
 expecting it to be in mbufs)

25 years agoUse dynamic memory allocation instead of mbuf's for multicast routing
fenner [Mon, 18 Jan 1999 02:06:59 +0000 (02:06 +0000)]
Use dynamic memory allocation instead of mbuf's for multicast routing
 state.

Note: this requires a recompilation of netstat (but netstat has been
broken since rev 1.52 of ip_mroute.c anyway)

Obtained from: Significantly based on Steve McCanne's
<mccanne@cs.berkeley.edu> work for BSD/OS

25 years agoRename igmp's MALLOC; it doesn't have anything to do with multicast routing.
fenner [Mon, 18 Jan 1999 01:56:31 +0000 (01:56 +0000)]
Rename igmp's MALLOC; it doesn't have anything to do with multicast routing.

25 years agoIf arpresolve() gets passed a route with a null llinfo, call
fenner [Mon, 18 Jan 1999 01:54:36 +0000 (01:54 +0000)]
If arpresolve() gets passed a route with a null llinfo, call
 arplookup() to try again.  This gets rid of at least one user's
 "arpresolve: can't allocate llinfo" errors, and arplookup() gives
 better error messages to help track down the problem if there really
 is a problem with the routing table.

25 years agoInstall <sys/aio.h> as <aio.h>.
dt [Sun, 17 Jan 1999 22:35:09 +0000 (22:35 +0000)]
Install <sys/aio.h> as <aio.h>.

25 years agoBring a bit closer to the normal form. (In particular, add
dt [Sun, 17 Jan 1999 22:33:08 +0000 (22:33 +0000)]
Bring a bit closer to the normal form. (In particular, add
__BEGIN_DECLS/__END_DECLS).

25 years agoReplaced by /usr/bin/gensetdefs a few months ago.
peter [Sun, 17 Jan 1999 21:18:19 +0000 (21:18 +0000)]
Replaced by /usr/bin/gensetdefs a few months ago.

25 years agoUse the gensetdefs that is now in /usr/bin, it's a superset of the
peter [Sun, 17 Jan 1999 21:17:27 +0000 (21:17 +0000)]
Use the gensetdefs that is now in /usr/bin, it's a superset of the
one in the kernel source, and that one is already used for modules.

I don't _think_ this will hurt releases, aout-to-elf, etc, but it is
possible.  In all the cases I've looked at, config(8) has been
generated straight after a make world, so if /usr/sbin/config exists and
is the right version for the kernel, then we can pretty much count on
/usr/bin/gensetdefs being there too.

25 years agoMissed a stray LKM #ifdef
peter [Sun, 17 Jan 1999 21:04:53 +0000 (21:04 +0000)]
Missed a stray LKM #ifdef

25 years agoUndo #undef KERNEL hack for vnode.h to avoid vnode_if.h.
peter [Sun, 17 Jan 1999 20:53:48 +0000 (20:53 +0000)]
Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h.
XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these
    rules.
XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw
    read or write "flag" context.  Perhaps a redundant declaration
    somewhere like sys/conf.h might help remove the need for vnode.h in
    these device drivers in the first place.

25 years agoMountroot could concievably make sense to a KLD though, in the preload
peter [Sun, 17 Jan 1999 20:41:02 +0000 (20:41 +0000)]
Mountroot could concievably make sense to a KLD though, in the preload
case.  I'm not sure the autoconf code is up to it though...

25 years agoRemove references to an LKM that isn't built any more.
peter [Sun, 17 Jan 1999 20:39:08 +0000 (20:39 +0000)]
Remove references to an LKM that isn't built any more.

25 years agoMinor cleanup; no more references to LKM's.
peter [Sun, 17 Jan 1999 20:36:14 +0000 (20:36 +0000)]
Minor cleanup; no more references to LKM's.

25 years agoRemove the LKM glue since the support (src/lkm) has been gone a while.
peter [Sun, 17 Jan 1999 20:30:13 +0000 (20:30 +0000)]
Remove the LKM glue since the support (src/lkm) has been gone a while.
This was impossible to use as an LKM anyway, but does work as a preloaded
kld module though.

25 years agoRemove LKM support, src/lkm that built it is gone and it never worked as an
peter [Sun, 17 Jan 1999 20:28:12 +0000 (20:28 +0000)]
Remove LKM support, src/lkm that built it is gone and it never worked as an
LKM anyway.  It does work as a preloaded KLD module though.

25 years agoClean up the KLD/LKM goop a bit.
peter [Sun, 17 Jan 1999 20:25:22 +0000 (20:25 +0000)]
Clean up the KLD/LKM goop a bit.

25 years ago"fix" long standing aicasm build glitch. The problem was the
peter [Sun, 17 Jan 1999 19:56:02 +0000 (19:56 +0000)]
"fix" long standing aicasm build glitch.  The problem was the
reorganization in rev 1.16 of i386/include/types.h which changed
stdlib.h's use of <machine/types.h>.  The problem was the -I. was causing
machine/types.h to come from the current kernel source, while stdlib.h was
coming from /usr/include.  /usr/include/stdlib.h is as old as the last
'make world', the machine/types.h was as new as the current source.

25 years agoAdd LKM option so that the remaining code (hopefully) doesn't go stale.
peter [Sun, 17 Jan 1999 19:09:41 +0000 (19:09 +0000)]
Add LKM option so that the remaining code (hopefully) doesn't go stale.

25 years agoAdd the lkm module
peter [Sun, 17 Jan 1999 19:06:06 +0000 (19:06 +0000)]
Add the lkm module

25 years agoWorld, please meet the kld module called "lkm". If you have an a.out
peter [Sun, 17 Jan 1999 19:05:40 +0000 (19:05 +0000)]
World, please meet the kld module called "lkm".  If you have an a.out
kernel and you forgot to add 'options LKM', you can kldload this module
and get LKM compatability. (!)

25 years agoLKM kernel support becomes optional on "options LKM". (Bear in mind
peter [Sun, 17 Jan 1999 19:02:39 +0000 (19:02 +0000)]
LKM kernel support becomes optional on "options LKM".  (Bear in mind
that the default kernel is now ELF and cannot load these LKM's).

25 years ago- Move lkmnosys() to kern_syscall.c
peter [Sun, 17 Jan 1999 19:00:58 +0000 (19:00 +0000)]
- Move lkmnosys() to kern_syscall.c
- Have the VFS lkm support use vfs_register() etc rather than having it's
  own version.
- Have the syscall lkm support use syscall_register() etc rather than
  having it's own verison.
- Convert the lkm driver to a module.

25 years agoMove lkmnosys() from kern_lkm.c to here.
peter [Sun, 17 Jan 1999 18:58:04 +0000 (18:58 +0000)]
Move lkmnosys() from kern_lkm.c to here.

25 years agoTry and clean up the multiple formal loading support a bit, based on
peter [Sun, 17 Jan 1999 17:58:52 +0000 (17:58 +0000)]
Try and clean up the multiple formal loading support a bit, based on
suggestions from Greg Lehey some time ago.  In the face of multiple
potential file formats, try and give a more sensible error than just
ENOEXEC.

XXX a good case can be made that the loading process is wrong - the linker
should locate the file first (using the search paths etc), then run the
loaders to see if they recognize it.  While the present system allows for
the possibility of different search paths for different formats, we do not
use it and it just makes things more complicated than they need to be.

25 years agoFix cut & paste mind-o: the entry for the xl driver should say ethernet,
wpaul [Sun, 17 Jan 1999 17:42:22 +0000 (17:42 +0000)]
Fix cut & paste mind-o: the entry for the xl driver should say ethernet,
not FDDI. *smak*

25 years agoRemove stray </a> html markers left in last commit.
imp [Sun, 17 Jan 1999 17:39:32 +0000 (17:39 +0000)]
Remove stray </a> html markers left in last commit.

Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>

25 years agoMake old syscons work. (New syscons driver for PC98 is still under
kato [Sun, 17 Jan 1999 15:42:27 +0000 (15:42 +0000)]
Make old syscons work.  (New syscons driver for PC98 is still under
development.)

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>

25 years agoenviornment -> environment
jseger [Sun, 17 Jan 1999 15:08:09 +0000 (15:08 +0000)]
enviornment -> environment
PR: docs/9534
Submitted by: rv@fore.com

25 years agoRetrun EAGAIN if the current video mode is a graphics mode.
yokota [Sun, 17 Jan 1999 14:25:19 +0000 (14:25 +0000)]
Retrun EAGAIN if the current video mode is a graphics mode.

25 years ago- Examine the error code from the screen saver and act accordingly.
yokota [Sun, 17 Jan 1999 14:23:15 +0000 (14:23 +0000)]
- Examine the error code from the screen saver and act accordingly.
0 success
EAGAIN try again later
other don't call this screen saver again
- Test flags consistently to examine the status of the screen saver.
scrn_blanked: the screen saver is running
scp->status & SAVER_RUNNING: the saver is running in this vty
- Correctlyu preserve status flag bits in set/restore_scrn_saver_mdoe().

25 years agoDon't forget copying video mode flags to the adapter info. block when
yokota [Sun, 17 Jan 1999 14:12:48 +0000 (14:12 +0000)]
Don't forget copying video mode flags to the adapter info. block when
changing video modes.

25 years agoSync with sys/i386/isa/wd.c revision 1.186.
kato [Sun, 17 Jan 1999 12:24:48 +0000 (12:24 +0000)]
Sync with sys/i386/isa/wd.c revision 1.186.

25 years agoBack out the last commit; it broke things.
markm [Sun, 17 Jan 1999 09:53:34 +0000 (09:53 +0000)]
Back out the last commit; it broke things.

NB! NB! NB! GUYS - the perl5 build is extremely nasty!! Please run all
changes to it past me _before_ committing. There are some very subtle
gotchas.

25 years agoRemoved the #defines of interrupt handlers to NULL. This hack was for
bde [Sun, 17 Jan 1999 06:33:43 +0000 (06:33 +0000)]
Removed the #defines of interrupt handlers to NULL.  This hack was for
old (> 3 months) versions of config(8).

25 years agoPass the unit number to the DMA cookie lookup routine and use it
bde [Sun, 17 Jan 1999 05:46:25 +0000 (05:46 +0000)]
Pass the unit number to the DMA cookie lookup routine and use it
to look up cookies properly, at least for standard controllers.
Cookies are used so that we don't have to pass around lots of args.
All of the dmainit functions use the unit number so it is essential
that we pass them a cookie with the correct unit number.

This may break working configurations if there are bugs in the
dmainit functions like the ones I just fixed for VIA chipsets.

Broken in: rev 1.4 of ide_pci.c and rev.1.139 of wd.c.

25 years agoFixed a 2-bit error in initializing MWDMA mode for VIA chipsets.
bde [Sun, 17 Jan 1999 05:18:54 +0000 (05:18 +0000)]
Fixed a 2-bit error in initializing MWDMA mode for VIA chipsets.
Prefetch/postwrite was enabled for the wrong controller.  (VIA
is bitwise big endian and we confused ourself by shifting left
instead of right.)

Extracted from: last set of patches from the author
(john hood <cgull@smoke.marlboro.vt.us>) on 7 Feb 1998

25 years agoAdd hooks for starting vinum at boot time. Set the variable
grog [Sun, 17 Jan 1999 03:32:07 +0000 (03:32 +0000)]
Add hooks for starting vinum at boot time.  Set the variable
vinum_slices to the names of all slices (block device) which are under
the control of vinum.  The configuration will be read in from each in
turn, starting with the most recently updated.

Reviewed-by: jkh
25 years agoAdd a new option for pkg_add, -r.
billf [Sun, 17 Jan 1999 01:22:55 +0000 (01:22 +0000)]
Add a new option for pkg_add, -r.

The remote option allows for automatic package fetching and installation
using the package repository found on wcarchive. Naturally, this site
can be overridden with a enviornment variable.

This code uses getobjformat() and getosreldate(). This means when some event
causes the package to be fetched to change (such as e-day) the logic also
needs to be changed.

Sorta reviewed by: jkh
Code suggestions: peter, jkh, eivind, msmith

25 years agoMore floppy size adjustments - I thought I'd already committed these, whoops!
jkh [Sat, 16 Jan 1999 22:42:25 +0000 (22:42 +0000)]
More floppy size adjustments - I thought I'd already committed these, whoops!

25 years agoSmall cosmetic tweak: in rl_rxeof(), use the constant RX_CMD_EMPTY_RXBUF
wpaul [Sat, 16 Jan 1999 21:03:57 +0000 (21:03 +0000)]
Small cosmetic tweak: in rl_rxeof(), use the constant RX_CMD_EMPTY_RXBUF
instead of the magic number 1.

25 years agoRemove the code that manually pads frames to at least 60 bytes;
wpaul [Sat, 16 Jan 1999 20:40:52 +0000 (20:40 +0000)]
Remove the code that manually pads frames to at least 60 bytes;
the ASIX chip supports auto-padding.

25 years agoFixed a 1-bit error in initializing UDMA mode for VIA chipsets.
bde [Sat, 16 Jan 1999 19:48:01 +0000 (19:48 +0000)]
Fixed a 1-bit error in initializing UDMA mode for VIA chipsets.
Instead of initializing UDMA mode, we turned it off and made sure that
it stays off by turning on the "UDMA enable by SET FEATURES" disable.

The damage was limited by bugs in cookie lookup, and suitable
initialization by some BIOSes.  The cookie list has slaves before
masters, and the unit number is ignored when cookies are looked up,
so cookie lookup always finds cookies for slaves and the bug only
clobbers slaves, so the bug was harmless for common configurations
with no slaves or only non-UDMA slaves.  UDMA initialization for
masters actually worked if the BIOS turns on the UDMA mode bit and
turns off the "UDMA enable by SET FEATURES" disable.

25 years agoSascha Blank <blank@uni-trier.de> convinced me I was an
mjacob [Sat, 16 Jan 1999 19:20:30 +0000 (19:20 +0000)]
Sascha Blank <blank@uni-trier.de> convinced me I was an
idiot about testing SA_QUIRK_2FM in samount. Fixed.

Removed the NORRLS quirk (to save quirk space) and left
the behaviour of being quiet about failed reserve/release
(failed due Illegal Request) the same.

Added a SF_QUIET_IR for prevent/allow for the same purposes.

25 years agoA few small improvements to the bus code:
dfr [Sat, 16 Jan 1999 17:44:09 +0000 (17:44 +0000)]
A few small improvements to the bus code:

* A function device_printf() to make pretty-printing driver messages easier.
* A function device_get_children() to query the children of a device.
* Generic implementations of BUS_ALLOC_RESOURCE and BUS_RELEASE_RESOURCE.
* Change bus_generic_print_child() so that it is actually useful.

25 years agoAdd kern_syscalls.c
dfr [Sat, 16 Jan 1999 17:29:56 +0000 (17:29 +0000)]
Add kern_syscalls.c

Submitted by: Assar Westerlund <assar@sics.se>

25 years agoThere are two models of AMD K6-2 Model 8 (c.f. AMD's document), so the
kato [Sat, 16 Jan 1999 13:41:33 +0000 (13:41 +0000)]
There are two models of AMD K6-2 Model 8 (c.f. AMD's document), so the
CPU stepping must be checked.  Also, fixed print_AMD_info.

Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>

25 years agoRemove BINFORMAT/a.out/elf default hackery, it's elf by default internally
peter [Sat, 16 Jan 1999 13:22:35 +0000 (13:22 +0000)]
Remove BINFORMAT/a.out/elf default hackery, it's elf by default internally
and doesn't need to use this.

25 years agoRevise sio entries to synchronize with current driver.
kato [Sat, 16 Jan 1999 13:20:42 +0000 (13:20 +0000)]
Revise sio entries to synchronize with current driver.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>

25 years agoFix palette save/load functions.
yokota [Sat, 16 Jan 1999 12:56:00 +0000 (12:56 +0000)]
Fix palette save/load functions.

# They have been unchanged since the introduction of the VESA support.
# But, we started seeing the problem only recently ;-<

25 years agoSync with sys/i386/isa/wd.c revision up to 1.185.
kato [Sat, 16 Jan 1999 11:43:12 +0000 (11:43 +0000)]
Sync with sys/i386/isa/wd.c revision up to 1.185.

25 years agoSync with sys/i386/isa/sio.c revision up to 1.223.
kato [Sat, 16 Jan 1999 11:42:16 +0000 (11:42 +0000)]
Sync with sys/i386/isa/sio.c revision up to 1.223.

25 years agoSync with sys/i386/isa/npx.c revision 1.65.
kato [Sat, 16 Jan 1999 11:41:18 +0000 (11:41 +0000)]
Sync with sys/i386/isa/npx.c revision 1.65.

25 years agoSync with sys/i386/isa/fd.c revision 1.131.
kato [Sat, 16 Jan 1999 11:40:02 +0000 (11:40 +0000)]
Sync with sys/i386/isa/fd.c revision 1.131.

25 years agoSync with sys/i386/i386/machdep.c revision up to 1.125.
kato [Sat, 16 Jan 1999 11:39:08 +0000 (11:39 +0000)]
Sync with sys/i386/i386/machdep.c revision up to 1.125.

25 years agoSync with sys/i386/i386/machdep.c revision up to 1.322.
kato [Sat, 16 Jan 1999 11:38:03 +0000 (11:38 +0000)]
Sync with sys/i386/i386/machdep.c revision up to 1.322.

25 years agoSync with sys/i386/conf/majors.i386 revision up to 1.64.
kato [Sat, 16 Jan 1999 11:36:28 +0000 (11:36 +0000)]
Sync with sys/i386/conf/majors.i386 revision up to 1.64.

25 years agoy2k nit: date +%y -> date +%Y
danny [Sat, 16 Jan 1999 10:57:01 +0000 (10:57 +0000)]
y2k nit: date +%y -> date +%Y

25 years agoMove the definition of set_origin from logo_saver.c to saver.h.
des [Sat, 16 Jan 1999 10:20:16 +0000 (10:20 +0000)]
Move the definition of set_origin from logo_saver.c to saver.h.

25 years agoa.out is default
peter [Sat, 16 Jan 1999 08:51:46 +0000 (08:51 +0000)]
a.out is default

25 years agoStability fixes:
wpaul [Sat, 16 Jan 1999 06:25:59 +0000 (06:25 +0000)]
Stability fixes:

- In wb_rxeof(), if the received packet is less than MINCLSIZE bytes,
  copy it to an mbuf chain so as to be more frugal in our use of mbuf
  clusters.

- The Winbond chip, like the ASIX, wants the 'TX interrupt request'
  bit set in the _first_ fragment of a transmitted frame, not the
  last. (At least the Winbond manual states this unambiguously; too
  bad I wasn't paying attention when I read it the first time.)

- Turn off the transmit threshold mechanism (initialize the threshold
  to 0). This effectively puts the chip in 'store and forward' mode
  which seems to cut down on transmit errors a little. It may also
  reduce transmit performace a bit, but I'm willing to do that if it
  means better reliability.

25 years agoFix some stability problems:
wpaul [Sat, 16 Jan 1999 06:19:38 +0000 (06:19 +0000)]
Fix some stability problems:

- Normally, the driver allocates an mbuf cluster for each receive
  descriptor. This is because we have to be prepared to accomodate up to
  1500 bytes (a cluster buffer can hold up to 2K). However, using up a
  whole cluster buffer for a tiny packet is a bit of a waste. Also,
  it seems to me that sometimes mbufs will linger in the kernel for
  a while after being passed out of the driver, which means we might
  drain the mbuf cluster pool. The cluster pool is smaller than the
  mbuf pool in general, so we do the following: if the packet is less
  that MINCLSIZE bytes, then we copy it into a small mbuf chain and
  leave the mbuf cluster in place for another go-round. This saves
  mbuf clusters in some cases while still allowing them to be used
  for heavy traffic exchanges with lots of full-sized frames.

- The transmit descriptor has a bit in the control word which allows
  the driver to request that a 'TX OK' interrupt be generated when
  a frame has been completed. Sometimes, a frame can be fragmented
  across several descriptors. The manual for the real DEC 21140A says
  that if this happens, the 'TX interrupt request' bit is only valid
  in the descriptor of the last fragment. With the ASIX chip, it seems
  the 'TX interrupt request' bit is only valid in the descriptor of
  the _first_ fragment. Actually, the manual contains conflicting
  information, but I think it's supposed to be the first fragment.
  To play it safe, set the bit in both the first and last fragment to
  be sure that we get a TX OK interrupt. Without this fix, the driver
  can sometimes be late in releasing mbufs from the transmit queue
  after transmission.

25 years agoMore bandaids. One important one from Sascha Blank
mjacob [Sat, 16 Jan 1999 04:02:31 +0000 (04:02 +0000)]
More bandaids. One important one from Sascha Blank
(<blank@fox.uni-trier.de>) about quirks being set as
arithmetic values, not as bitfields. Add HP, Kennedy
and M4 1/2" reel quirk entries.

Do a lot of gratuitous source changing.

Audit all functions that build ccbs for the tape driver
and decide whether each one can be retried or not.

Still to do is some more state management post errors.

25 years agoSpell "ctlr" consistently.
msmith [Sat, 16 Jan 1999 03:55:46 +0000 (03:55 +0000)]
Spell "ctlr" consistently.

25 years agoFix Makefile so it works.
danny [Sat, 16 Jan 1999 03:50:10 +0000 (03:50 +0000)]
Fix Makefile so it works.
Change date format to yyyy/mm/dd hh:mm:ss
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>

25 years agoReplace duplicated "old" linker set definitions with an include of
jdp [Sat, 16 Jan 1999 03:25:24 +0000 (03:25 +0000)]
Replace duplicated "old" linker set definitions with an include of
<sys/linker_set.h>.  Note, this isn't used on the i386.

25 years agoy2k nit: print 4 digit years correctly.
danny [Sat, 16 Jan 1999 01:51:03 +0000 (01:51 +0000)]
y2k nit: print 4 digit years correctly.
PR: 9506
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>

25 years agoDon't let bugs in ide_pci.c break wdprobe(), at least for standard
bde [Sat, 16 Jan 1999 01:06:23 +0000 (01:06 +0000)]
Don't let bugs in ide_pci.c break wdprobe(), at least for standard
IDE hardare.  The attempted fix in rev.1.182 was a no-op except for
adding dozens of style bugs.  The undocumented options ALI_V and
DISABLE_PCI_IDE go away as a side effect.  ALI_V was a no-op because
rev.1.182 was a no-op.  DISABLE_PCI_IDE didn't actually disable
PCI IDE.  It disabled the buggy code in wdprobe() at a cost of
completely breaking support for Promise controllers.

Broken in: rev.1.139

25 years agoFix breakage in rev 1.19; the second argument to ide_pci_candma is a
msmith [Sat, 16 Jan 1999 00:36:53 +0000 (00:36 +0000)]
Fix breakage in rev 1.19; the second argument to ide_pci_candma is a
controller number, not a unit number.  Make this clear.

25 years agoAdd two missing break statements.
gibbs [Fri, 15 Jan 1999 23:24:23 +0000 (23:24 +0000)]
Add two missing break statements.

25 years agoOops, add the NMBCLUSTERS initialiser for the Alpha as well.
msmith [Fri, 15 Jan 1999 18:00:19 +0000 (18:00 +0000)]
Oops, add the NMBCLUSTERS initialiser for the Alpha as well.

25 years agoAdd getenv_int(), specifically for retrieving integer values from kernel
msmith [Fri, 15 Jan 1999 17:25:02 +0000 (17:25 +0000)]
Add getenv_int(), specifically for retrieving integer values from kernel
environment variables.  This makes it easy to pass tuning parameters
in from the bootloader.

25 years agoFetch an overide for NMBCLUSTERS from the kernel environment. Never allow
msmith [Fri, 15 Jan 1999 17:24:05 +0000 (17:24 +0000)]
Fetch an overide for NMBCLUSTERS from the kernel environment.  Never allow
the value to be reduced below that defined when the kernel was built.

25 years agoMisspelt Eighth Edition.
wosch [Fri, 15 Jan 1999 17:21:39 +0000 (17:21 +0000)]
Misspelt Eighth Edition.
The Eighth Edition is *not* descended from the Seventh Edition.

Submitted by: Greg Lehey <grog@lemis.com>
              and Dennis Ritchie

Here's a quote from Dennis Ritchie, posted to Warren Toomey:
[January 1999]
----- Forwarded message from dmr -----

I also got mail from Norman Wilson today about the discussion.

This is mainly to confirm and fill out details of Wilson's account.

The Eighth Edition system started with (I believe) BSD 4.1c and
the work was done on VAX 11/750s -- our group did not get
a 780 until a while later.

Most of the operating system superstructure of BSD was retained
(in particular no one (even the indefatigable Norman)
wanted to get much into the paging code.  Norman is also
right that the competitor was John Reiser's (and Tom London's)
32V descendant from another group at the Labs.  In structure
this system had a lot to offer (in particular the buffer cache and the page
pool were unified, but it was clear that their work was not being
supported by their own management.  It was used for a while on
our first 750 and also our first 11/780 ("alice", a name that lives
in netnews fame preceding  the reach of Dejanews).

The big change leading to V8 was the scooping-out and replacement of
the character-device and networking part by the streams mechanism.  Later,
Peter Weinberger added the file-system switch that enabled
remote file systems and prescient things ideas like /proc).  Weinberger,
as Norman said, also did a simple-minded FFS.

The TCP/IP stack wasn't very important to us then and it has a mixed and
murky history.  Much of it came from early CSRG work, but it was converted
to a streams approach by Robert Morris and subsequently fiddled over a lot.

Likewise, as Norman said, the applications (/bin and whatnot) were somewhat
of a mixture.  Many were the locally-done versions, some were taken
from BSD in some incarnation, some from System V.

        Dennis

----- End of forwarded message from dmr -----

25 years agoFix logic error in RFC 850 kluge.
wollman [Fri, 15 Jan 1999 17:10:31 +0000 (17:10 +0000)]
Fix logic error in RFC 850 kluge.

25 years agoFor RFC 850 dates received in HTTP responses, implement the century pivot
wollman [Fri, 15 Jan 1999 16:56:22 +0000 (16:56 +0000)]
For RFC 850 dates received in HTTP responses, implement the century pivot
described in RFC 2068.  Include a reference to same in the manual page.

25 years agoUnbreak previous commit..
peter [Fri, 15 Jan 1999 12:49:53 +0000 (12:49 +0000)]
Unbreak previous commit..

25 years agoFix CVS merge breakage.
markm [Fri, 15 Jan 1999 12:38:11 +0000 (12:38 +0000)]
Fix CVS merge breakage.