]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoStart using the new SWI registration system instead of hardwiring everything.
dfr [Sat, 26 Sep 1998 14:25:32 +0000 (14:25 +0000)]
Start using the new SWI registration system instead of hardwiring everything.

25 years agoUnderlying ,v files were copied and detagged. Re-commit old versions
peter [Sat, 26 Sep 1998 14:00:29 +0000 (14:00 +0000)]
Underlying ,v files were copied and detagged.  Re-commit old versions
onto the head revision.  (mainly using sys/bus.h etc for alpha)

25 years agoUpdated ext2_reload() and ext2_sync(). Locking was broken, and MNT_LAZY
bde [Sat, 26 Sep 1998 12:42:17 +0000 (12:42 +0000)]
Updated ext2_reload() and ext2_sync().  Locking was broken, and MNT_LAZY
syncs weren't optimized properly (they probably still aren't, but are bug
for bug compatible with ffs).  These fixes are mostly academic, since
ext2fs is too broken to mount read-write (it apparently doesn't clear
indirect blocks).

Obtained from: mostly from Lite2

25 years agoAdd some new functionality which I promised to add over a year a go and
jkh [Sat, 26 Sep 1998 12:29:57 +0000 (12:29 +0000)]
Add some new functionality which I promised to add over a year a go and
shamefully dropped on the floor.  I need to add it now since it does a
minor number bump, but otherwise the current functionality of libdialog
is unchanged (in all its evil glory) and the change is non-intrusive.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>

25 years agoAutomatically detect which disk was booted and change the root to that disk.
dfr [Sat, 26 Sep 1998 12:22:53 +0000 (12:22 +0000)]
Automatically detect which disk was booted and change the root to that disk.

25 years agoMake a /usr/lib/compat/aout directory. Folks should remember to
jkh [Sat, 26 Sep 1998 11:56:35 +0000 (11:56 +0000)]
Make a /usr/lib/compat/aout directory.  Folks should remember to
re-run mtree over this if they want to populate the compat dirs
during a build or that step will fall over.

25 years ago/usr/lib/compat -> /usr/lib/compat/aout
jkh [Sat, 26 Sep 1998 11:54:02 +0000 (11:54 +0000)]
/usr/lib/compat -> /usr/lib/compat/aout

This change will need to be reviewed just as soon as we start generating
ELF compat libs, but for now it does the right thing for a.out libs.

25 years ago* Add old UFS compatibility code to alpha/boot1.
dfr [Sat, 26 Sep 1998 10:51:38 +0000 (10:51 +0000)]
* Add old UFS compatibility code to alpha/boot1.
* Fix a raft of warnings, printf and otherwise.
* Allocate the correct amount in mod_searchmodule to prevent an overflow.
* Fix the makefiles so they work outside my home directory (oops).

25 years ago* Enable old UFS compatibility code for booting from Digital Unix formatted
dfr [Sat, 26 Sep 1998 10:48:50 +0000 (10:48 +0000)]
* Enable old UFS compatibility code for booting from Digital Unix formatted
  disks.
* Fix a whole raft of warnings, printf and otherwise.
* Make zalloc work for alpha (just a case of using the right typedef).
* Add some (disabled) malloc debug printing to stand.h.

25 years agoFixed missing newlines in messages in ext2_check_descriptors().
bde [Sat, 26 Sep 1998 07:16:41 +0000 (07:16 +0000)]
Fixed missing newlines in messages in ext2_check_descriptors().

Fixed vnode and memory leaks after an unlikely (?) error in
ext2_mountfs().

Fixed an unconditional memory leak in ext2_unmount().

25 years agoFixed clean flag handling:
bde [Sat, 26 Sep 1998 06:18:59 +0000 (06:18 +0000)]
Fixed clean flag handling:

Fixes for bugs not shared with ffs:
- don't mount unclean filesystems rw unless forced to.
- accept EXT2_ERROR_FS (treat it like !EXT2_VALID_FS).  We still don't set
  this or honour the maximal mount count.
- don't attempt to print the name of the mount point when mounting an
  unclean file system, since the name of the previous mount point is
  unknown and the name of the current mount point is still "".

Fixes for bugs shared with ffs until recently:
- don't set the clean flag on unmount of an initially-unclean filesystem
  that was (forcibly) mounted rw.
- set the clean flag on rw -> ro update of a mounted initially-clean
  filesystem.
- fixed some style bugs (mostly long lines).

The fixes are slightly simpler than for ffs, because the relevant on-disk
state is not a simple boolean variable, and the superblock has a core-only
extension.

Obtained from: parts from ffs_vfsops.c, parts from NetBSD

25 years agoFixed clean flag handling:
bde [Sat, 26 Sep 1998 04:59:42 +0000 (04:59 +0000)]
Fixed clean flag handling:
- don't set the clean flag on unmount of an unclean filesystem that was
  (forcibly) mounted rw.
- set the clean flag on rw -> ro update of a mounted initially-clean
  filesystem.
- fixed some style bugs (mostly long lines).

This uses the fs_flags field and FS_UNCLEAN state bit which were
introduced in the softdep changes.  NetBSD uses extra state bits in
fs_clean.

Reviewed by: luoqui

25 years agoCosmetic changes:
yokota [Sat, 26 Sep 1998 03:38:40 +0000 (03:38 +0000)]
Cosmetic changes:
- there were too many global variables (there still are :-).
- the data section was bloated by explicit initializations of static
  variables to 0 (only fixed the recently changed ones).
- WRAPHIST() had silly parentheses around foo->bar.
- the comment about inline functions was stale.
- the comment about Userconfig presumes too much about the boot environment.
- `i' was reused confusingly in scioctl().
- the declaration of `butmap' used a deprecated K&R misfeature.
- the initializeation of `butmap' had an unnecessary line break.
- `unsigned char' was not consistently (mis)spelled as u_char.
- English was poor in a comment in videoio.c.
Submitted by: bde

25 years ago- Use `u_long cmd' ioctl arg.
yokota [Sat, 26 Sep 1998 03:34:10 +0000 (03:34 +0000)]
- Use `u_long cmd' ioctl arg.
- Fix some external function declaration.
Submitted by: bde

25 years ago Fixed setting of mp_End in zextendPool(). A case was missing and mp_Size
dillon [Sat, 26 Sep 1998 03:24:14 +0000 (03:24 +0000)]
Fixed setting of mp_End in zextendPool().  A case was missing and mp_Size
    no longer reflects the mp_End - mp_Base equivalent.

25 years agoReplace the old and extremely icky Mach/NetBSD allocator with a similarly
msmith [Sat, 26 Sep 1998 01:42:40 +0000 (01:42 +0000)]
Replace the old and extremely icky Mach/NetBSD allocator with a similarly
compact and much better one donated by Matt Dillon.  Implement a simple
sbrk() which uses the existing setheap() api.

Remove the custom allocator from the UFS code.  It wasn't working quite
right, and it shouldn't be needed with the new allocator.

Fix a serious problem with changing the value of already-existent
environment variables.  Don't attempt to modify the supposedly-const
argument to putenv()

Fix an off-by-one sizing error in the zipfs code detected by the new
allocator.

Submitted by: zmalloc from Matt Dillon <dillon@backplane.com>

25 years agoRecover the arguments passed in from the previous load stage, use them to set
msmith [Sat, 26 Sep 1998 01:31:10 +0000 (01:31 +0000)]
Recover the arguments passed in from the previous load stage, use them to set
the default console.
Print malloc stats from the new libstand allocator.

25 years agoBackout my last commit.
sos [Sat, 26 Sep 1998 01:30:36 +0000 (01:30 +0000)]
Backout my last commit.
Find another way to get the LKM's rebuild.

25 years agoThe BIOS can't perform a floppy operation where the destination crosses
msmith [Sat, 26 Sep 1998 01:30:20 +0000 (01:30 +0000)]
The BIOS can't perform a floppy operation where the destination crosses
a physical 64k boundary.  Allocate a bounce buffer for such a transaction.

25 years ago#ifdef out DES ioctls which don't exist in FreeBSD. These originated
wpaul [Sat, 26 Sep 1998 01:29:51 +0000 (01:29 +0000)]
#ifdef out DES ioctls which don't exist in FreeBSD. These originated
with the SunRPC code to allow the use of hardware DES on certain Sun
hardware that supported it (if you installed the appropriate kit). We
don't have them and they apparently break the ioctl table
generation for kdump.

Pointed out by: bde

25 years agoconsole.c
msmith [Sat, 26 Sep 1998 01:29:13 +0000 (01:29 +0000)]
console.c
Allow the MI code to override the preferred console (eg. so that
an RB_SERIAL flag from the i386 boot2 can override the default
first active console)

isapnp.c
Use the standard format for ISA PnP IDs.

pnp.c
Allow trailing comments on lines, be less picky about line
contents.

ls.c
Cosmetic error message fix.

panic.c
Print the right arguments.

25 years agoSilence a harmless warning.
des [Sat, 26 Sep 1998 00:55:53 +0000 (00:55 +0000)]
Silence a harmless warning.

25 years agoPR: kern/7418
dillon [Sat, 26 Sep 1998 00:12:35 +0000 (00:12 +0000)]
PR:  kern/7418
Reviewed by: Luoqi Chen <luoqi@watermarkgroup.com>

    Fixed problem where write()s can get lost due to buffers flagged B_DELWRI
    being improperly released in brelse().

25 years agoCorrect problems with xpt_set_transfer_settings and async transfer
gibbs [Fri, 25 Sep 1998 22:35:56 +0000 (22:35 +0000)]
Correct problems with xpt_set_transfer_settings and async transfer
negotiation changes with wildcarded paths.

25 years agoAdd an entry for the HAYES OPTIMA 28.8k
brian [Fri, 25 Sep 1998 22:08:53 +0000 (22:08 +0000)]
Add an entry for the HAYES OPTIMA 28.8k

25 years agoThis commit was generated by cvs2svn to compensate for changes in r39652,
rvb [Fri, 25 Sep 1998 17:51:44 +0000 (17:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r39652,
which included commits to RCS files with non-trunk default branches.

25 years agolkm for coda
rvb [Fri, 25 Sep 1998 17:51:44 +0000 (17:51 +0000)]
lkm for coda

25 years agolkm for coda
rvb [Fri, 25 Sep 1998 17:51:44 +0000 (17:51 +0000)]
lkm for coda

25 years agoDon't lose this file
rvb [Fri, 25 Sep 1998 17:40:50 +0000 (17:40 +0000)]
Don't lose this file

25 years agoPut "stray" printouts under DIAGNOSTIC. Make everything build
rvb [Fri, 25 Sep 1998 17:38:32 +0000 (17:38 +0000)]
Put "stray" printouts under DIAGNOSTIC.  Make everything build
with DEBUG on.  Add support for lkm.  (The macro's don't work
for me; for a good chuckle look at the end of coda_fbsd.c.)

25 years agoGoodbye BOUNCE_BUFFERS, for a hack it has served us well.
peter [Fri, 25 Sep 1998 17:34:49 +0000 (17:34 +0000)]
Goodbye BOUNCE_BUFFERS, for a hack it has served us well.

The last consumer of this code (the old SCSI system) has left us and
the CAM code does it's own bouncing.  The isa dma system has been
doing it's own bouncing for a while too.

Reviewed by: core

25 years agoApply patch graciously provided by Jason Wright <jason@thought.net> from
wpaul [Fri, 25 Sep 1998 17:34:19 +0000 (17:34 +0000)]
Apply patch graciously provided by Jason Wright <jason@thought.net> from
the OpenBSD group to fix a problem with the default ifmedia not being
set properly in some cases with a 3c905B, leading to a panic in ifmedia_set().

Also apply a patch to force the transmit start routine to check the
transmitter to make sure it isn't wedged if the outbound tx queue appears
full. This seems to cure some problems with 'watchdog timeout' errors
cropping up in some cases. I tried to do this before by checking for the
IFF_OACTIVE flag on entry to xl_start(), but if the IFF_OACTIVE flag is
set, ether_output() won't even call xl_start(). It should work now.

Lastly, increase the size of the TX queue from 10 descriptors to 16 to
hopefully make it less likely that the TX queue will fill up.

25 years agoMake these compile when there is an obj dir.
peter [Fri, 25 Sep 1998 17:14:16 +0000 (17:14 +0000)]
Make these compile when there is an obj dir.

25 years agoRewrite the bits of the solib code to handle implentations where dlopen
dfr [Fri, 25 Sep 1998 14:39:52 +0000 (14:39 +0000)]
Rewrite the bits of the solib code to handle implentations where dlopen
may insert into the list of loaded libraries (ours is one) instead of
appending to the end of the list.  Also cope with dlclose() removing
libraries from the list.

25 years agoApply patch to properly sscanf(3) when there is whitespace in the format
obrien [Fri, 25 Sep 1998 12:20:27 +0000 (12:20 +0000)]
Apply patch to properly sscanf(3) when there is whitespace in the format
string.  From the submitted patch:

Credit for patch: Chris Torek <torek@bsdi.com>
Tod Miller  <millert@openbsd.org>

This makes us in line with SunOS 4.1.3_U1, Solaris 2.6, OpenBSD 2.3,
HP-UX 10.20, Irix 5.3.  The previous behavior was in line with Ultrix 4.4.

PR: bin/7970
Submitted by: Niall Smart nialls@euristix.ie

25 years agoCosmetic change: adjust copyright notice.
yokota [Fri, 25 Sep 1998 11:55:46 +0000 (11:55 +0000)]
Cosmetic change: adjust copyright notice.

25 years agoinclude <pthread.h>
obrien [Fri, 25 Sep 1998 11:43:48 +0000 (11:43 +0000)]
include <pthread.h>

Submitted by: Alexander Leidinger <netchild@wurzelausix.CS.Uni-SB.DE>

25 years agoSlightly adjust the description on SC_ALT_SEQACCESS in the previous
yokota [Fri, 25 Sep 1998 11:38:30 +0000 (11:38 +0000)]
Slightly adjust the description on SC_ALT_SEQACCESS in the previous
commit.

25 years agoMatch LINT with SC_BAD_FLICKER change.
jkh [Fri, 25 Sep 1998 11:00:11 +0000 (11:00 +0000)]
Match LINT with SC_BAD_FLICKER change.
Submitted by: Sheldon Hearn <axl@iafrica.com>

25 years agoAdd entry for ThunderLAN NIC.
jkh [Fri, 25 Sep 1998 09:04:24 +0000 (09:04 +0000)]
Add entry for ThunderLAN NIC.

25 years agoBuild the LKM's both on aout & ELF systems.
sos [Fri, 25 Sep 1998 08:58:49 +0000 (08:58 +0000)]
Build the LKM's both on aout & ELF systems.

Reviewed by: jkh

25 years agoBackout my previous commit. Oops.
dima [Fri, 25 Sep 1998 08:21:15 +0000 (08:21 +0000)]
Backout my previous commit. Oops.

25 years ago${DISTDIR}/bin/etc/objformat -> ${DISTDIR}/etc/objformat
dima [Fri, 25 Sep 1998 07:42:29 +0000 (07:42 +0000)]
${DISTDIR}/bin/etc/objformat -> ${DISTDIR}/etc/objformat

25 years agoTake doscmd back out - it relies on installed X components to build (!).
jkh [Fri, 25 Sep 1998 02:15:56 +0000 (02:15 +0000)]
Take doscmd back out - it relies on installed X components to build (!).

25 years agoFix a few problems with the tag delay code:
gibbs [Thu, 24 Sep 1998 22:43:54 +0000 (22:43 +0000)]
Fix a few problems with the tag delay code:

 - Tagged devices were limited to one transaction (oops)
 - We revert to untagged with a tag delay if the user changed the
   transfer negotiation values (via perhaps camcontrol some day).
 - xpt_async did not use the expanded path in some cases which could
   cause a panic.

25 years ago- Fix a bug where a "power_off_slot' timeout was not cancelled when the
nate [Thu, 24 Sep 1998 17:56:31 +0000 (17:56 +0000)]
- Fix a bug where a "power_off_slot' timeout was not cancelled when the
  computer 'suspended', although the slot was powered off.  There was a
  race where the slow could be powered off *after* it was assigned a
  new driver when the computer was 'resumed'.

Noticed by: Brian Somers <brian@Awfulhak.org>

25 years agoPart #2 (final) of suidperl repair.
markm [Thu, 24 Sep 1998 17:25:26 +0000 (17:25 +0000)]
Part #2 (final) of suidperl repair.

25 years agoPart #1 of suidperl repair.
markm [Thu, 24 Sep 1998 17:20:46 +0000 (17:20 +0000)]
Part #1 of suidperl repair.

25 years agoSmall tweak: force another reset of the adapter after probing for all the
wpaul [Thu, 24 Sep 1998 17:14:23 +0000 (17:14 +0000)]
Small tweak: force another reset of the adapter after probing for all the
PHYs in tl_attach(). This is mainly to suck away any possible stray
interrupts.

This prevents an intermittent problem on some systems where the adapter
probes correctly but yields a device timeout (and possible subsequent adapter
check) when configured. When I originally tested the driver, I ifconfig'ed
the interface after the system had already been booted and didn't notice
any problems, but when configuring the interface immediately at startup,
it would occasionally timeout and hang, until an adapter check interrupt
came along and reset things again. I'm not exactly sure if this is a
general problem of just something peculiar to this hardware (there are
three devices, including the tlan, all on IRQ 11) but the extra reset
shouldn't hurt anything. (It works fine with my 100Mbps Olicom adapter too.)

Thanks to Mark Taylor from Cybernet (mtaylor@cybernet.com) for allowing
me remote access to a Compaq system for debugging purposes.

25 years agoTurn off options BRIDGE and DUMMYNET again - there are still some pieces
abial [Thu, 24 Sep 1998 16:39:55 +0000 (16:39 +0000)]
Turn off options BRIDGE and DUMMYNET again - there are still some pieces
missing. But I hope this will be ready before 3.0-R.

25 years agoRemove superfluous (and old) copies.
abial [Thu, 24 Sep 1998 16:37:37 +0000 (16:37 +0000)]
Remove superfluous (and old) copies.

There are still many more things to clean up here...

25 years agoMinimal change for #if __FreeBSD__ >= 3 to check __FreeBSD_version instead.
peter [Thu, 24 Sep 1998 16:00:30 +0000 (16:00 +0000)]
Minimal change for #if __FreeBSD__ >= 3 to check __FreeBSD_version instead.

25 years agoEliminate a race in VOP_FSYNC() when softupdates is enabled.
luoqi [Thu, 24 Sep 1998 15:02:46 +0000 (15:02 +0000)]
Eliminate a race in VOP_FSYNC() when softupdates is enabled.
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
Two minor changes are also included,
1. Remove gratuitious checks for error return from vn_lock with LK_RETRY set,
   vn_lock should always succeed in these cases.
2. Back out change rev. 1.36->1.37, which unnecessarily makes async mount
   a little more unstable. It also keeps us in sync with other BSDs.
Suggested by: Bruce Evans <bde@zeta.org.au>

25 years agoChange #if __FreeBSD__ >= 3 to #if __FreeBSD_version >= 300000 to aid
peter [Thu, 24 Sep 1998 13:31:01 +0000 (13:31 +0000)]
Change #if __FreeBSD__ >= 3 to #if __FreeBSD_version >= 300000 to aid
bootstrapping from a 2.2.x system.

25 years agoMF22: revert time bogon.
jkh [Thu, 24 Sep 1998 13:25:43 +0000 (13:25 +0000)]
MF22: revert time bogon.

25 years agoSC_BAD_FLICKER -> SC_ALT_SEQACCESS
yokota [Thu, 24 Sep 1998 13:20:47 +0000 (13:20 +0000)]
SC_BAD_FLICKER -> SC_ALT_SEQACCESS
Now supposedly less harmful way of accessing VGA sequencer registers
is default. An alternative, often troublesome, I/O access is optional.

Discussed with: sos, jkh

25 years agoAdd a note on the VESA support.
sos [Thu, 24 Sep 1998 13:11:08 +0000 (13:11 +0000)]
Add a note on the VESA support.
Delete the note on the -b boot option.

25 years agoRemoved unused include of "ioconf.h" again. The CAM changes made ioconf.h
bde [Thu, 24 Sep 1998 10:43:42 +0000 (10:43 +0000)]
Removed unused include of "ioconf.h" again.  The CAM changes made ioconf.h
empty but regressed to including it here.

25 years agoRemoved a stale comment about "ioconf.h".
bde [Thu, 24 Sep 1998 10:41:13 +0000 (10:41 +0000)]
Removed a stale comment about "ioconf.h".

25 years agoFixed disorder and long lines.
bde [Thu, 24 Sep 1998 10:28:28 +0000 (10:28 +0000)]
Fixed disorder and long lines.

Decrypted a comment.

25 years agoDon't redefine kernel. Makefile.i386 now defines it.
bde [Thu, 24 Sep 1998 10:22:21 +0000 (10:22 +0000)]
Don't redefine kernel.  Makefile.i386 now defines it.
Removed some unused includes.

25 years agoPut MSDOSFS back - I'm going to try and find space another way.
jkh [Thu, 24 Sep 1998 02:01:07 +0000 (02:01 +0000)]
Put MSDOSFS back - I'm going to try and find space another way.

25 years agoDon't assume that we have extended modes on all platforms.
gpalmer [Thu, 24 Sep 1998 01:36:36 +0000 (01:36 +0000)]
Don't assume that we have extended modes on all platforms.

25 years agoEnable elf build for doscmd.
luoqi [Thu, 24 Sep 1998 01:15:56 +0000 (01:15 +0000)]
Enable elf build for doscmd.

25 years agoELFize. In fact, doscmd is ELF natural -- there is no need for a loader
luoqi [Thu, 24 Sep 1998 01:11:45 +0000 (01:11 +0000)]
ELFize. In fact, doscmd is ELF natural -- there is no need for a loader
since ELF executables are loaded well above the low memory region that
DOS operates in.

25 years agoTrim more stuff off the boot floppy - we're overflowing again! :(
jkh [Thu, 24 Sep 1998 00:57:05 +0000 (00:57 +0000)]
Trim more stuff off the boot floppy - we're overflowing again! :(

Partially suggested by: abial

25 years agoUse unsigned chars instead of signed chars when extracting bits of the
dfr [Wed, 23 Sep 1998 21:35:40 +0000 (21:35 +0000)]
Use unsigned chars instead of signed chars when extracting bits of the
inet address.

25 years agoUse 8k pagesize on alpha, not 4k.
dfr [Wed, 23 Sep 1998 21:26:04 +0000 (21:26 +0000)]
Use 8k pagesize on alpha, not 4k.

25 years agoFix type 0 configuration accesses, and use a virtual rather than physical
msmith [Wed, 23 Sep 1998 21:23:51 +0000 (21:23 +0000)]
Fix type 0 configuration accesses, and use a virtual rather than physical
address for the LCA PCI configuration register address.

FreeBSD/Alpha now boots on the NoName (aka AXPpci 33, Alpha PC), and probably
also on the Multia (mine hasn't arrived yet, so I can't tell for sure).

Submitted by: Doug Rabson <dfr@freebsd.org>

25 years agoUpdate for ELF
jkh [Wed, 23 Sep 1998 16:00:07 +0000 (16:00 +0000)]
Update for ELF
Submitted by: abial

25 years agoTurn on support for bridging statistics.
abial [Wed, 23 Sep 1998 15:22:14 +0000 (15:22 +0000)]
Turn on support for bridging statistics.

25 years agoTurn on support for bridging and b/w limiting.
abial [Wed, 23 Sep 1998 15:20:55 +0000 (15:20 +0000)]
Turn on support for bridging and b/w limiting.

25 years agoCorrect comment in the "build" script about aout/ELF.
abial [Wed, 23 Sep 1998 14:54:46 +0000 (14:54 +0000)]
Correct comment in the "build" script about aout/ELF.

25 years agoHmm.. Looks like new ar(1) adds trailing '/' to each object's name...
abial [Wed, 23 Sep 1998 14:51:34 +0000 (14:51 +0000)]
Hmm.. Looks like new ar(1) adds trailing '/' to each object's name...

25 years agoreturn time in proper format for linux.
jkh [Wed, 23 Sep 1998 14:50:26 +0000 (14:50 +0000)]
return time in proper format for linux.

25 years agoMF22: Important fixes for loading XFree86 distributions I forgot to
jkh [Wed, 23 Sep 1998 12:13:51 +0000 (12:13 +0000)]
MF22: Important fixes for loading XFree86 distributions I forgot to
merge after 2.2.7 (I was wondering why that bug looked so familiar!).
Also update some docs accordingly.

25 years agoAdd printf(1) to the list of early-build tools.
obrien [Wed, 23 Sep 1998 10:30:43 +0000 (10:30 +0000)]
Add printf(1) to the list of early-build tools.
(needed to build Amd, and causing the -jN crowd problems w/o being here)
((I will revisit the usage of printf(1) in building Amd at a later time))

25 years agoVESA BIOS support update in syscons.
yokota [Wed, 23 Sep 1998 10:00:15 +0000 (10:00 +0000)]
VESA BIOS support update in syscons.

- Accept generic video mode names: 80x25, 80x30, etc. Specific video
  mode names, VGA_80x25, VESA_132x25, are still accpeted too.
- Update the man page accordingly.

25 years agoFix and update for VESA BIOS support in syscons.
yokota [Wed, 23 Sep 1998 09:59:00 +0000 (09:59 +0000)]
Fix and update for VESA BIOS support in syscons.

- Handle pixel (raster text) mode properly.
   - Clear screen and paint border right.
   - Paint text attribute (colors).
   - Fix off-by-one errors.
   - Add some sanity checks.
- Fix some function prototypes.
- Add some comment lines.
- Define generic text mode numbers so that the user can just give
  "80x25", "80x60", "132x25"..., rather than "VGA_xxx", to `vidcontrol'
  to change the current video mode.  `vidoio.c' and `vesa.c' will map
  these numbers to real video mode numbers appropriate and available
  with the given video hardware.  I believe this will be useful to make
  syscons more portable across archtectures.

25 years agoinitialize /etc/objformat for new installs, just to be sure.
jkh [Wed, 23 Sep 1998 08:06:30 +0000 (08:06 +0000)]
initialize /etc/objformat for new installs, just to be sure.

25 years agoBuild the GENERIC kernel on the alpha too. And don't expect a MFS kernel
gpalmer [Wed, 23 Sep 1998 07:38:51 +0000 (07:38 +0000)]
Build the GENERIC kernel on the alpha too. And don't expect a MFS kernel
yet, nor will fbsdboot.exe be too useful :)

Reviewed by: jkh

25 years agoRemove the reference to the -b option; it's gone.
yokota [Wed, 23 Sep 1998 06:54:14 +0000 (06:54 +0000)]
Remove the reference to the -b option; it's gone.

25 years agoRemove the -b boot option. It is no longer necessary now that the VESA
yokota [Wed, 23 Sep 1998 06:50:45 +0000 (06:50 +0000)]
Remove the -b boot option.  It is no longer necessary now that the VESA
BIOS support is optionally available for syscons.

25 years agoComplete the Perl NOSHARED repair. I had not ensured that the shared library
markm [Wed, 23 Sep 1998 06:11:35 +0000 (06:11 +0000)]
Complete the Perl NOSHARED repair. I had not ensured that the shared library
was constructed early enough, so perl was linking against the static lib.
This was breaking perl under ELF, as perl could not load shared objects
(in fact would dump core).

25 years agoMore make cleanups.
markm [Wed, 23 Sep 1998 06:05:28 +0000 (06:05 +0000)]
More make cleanups.

1) Part of the NOSHARED fix; I messed this up and managed to get
   perl installed without being linked to the shared library libperl.so.
   This broke Perl in ELF when linking in shared objects.

2) Start of a cleanup of the man3 page location. This will (eventually)
   allow for a the ports to put their pages in the "normal" ${PREFIX}-
   based location.

3) Nuke cruft.

25 years ago- Back out softupdate change that already existed in FreeBSD from V1.6,
nate [Wed, 23 Sep 1998 05:37:35 +0000 (05:37 +0000)]
- Back out softupdate change that already existed in FreeBSD from V1.6,
  which caused the reference count of a directory to get doubly
  decremented.

PR: bin/8030
Reviewed by: nate
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>

25 years agoOverhaul the ThunderLAN driver. This update includes the following
wpaul [Wed, 23 Sep 1998 05:08:54 +0000 (05:08 +0000)]
Overhaul the ThunderLAN driver. This update includes the following
changes:

- Cleaned up register access macros so that they work like the XL
  driver macros (you can switch from PIO to memory-mapped mode
  using a single #define -- default is still memory mapped mode).
  The old 'struct overlayed onto the memory mapped register space'
  cruft has been removed.

- Improved multicast filter code. The ThunderLAN has four entry
  perfect filter table in addition to the 64-bit hash table: we need
  one of the perfect filter entries for the station address, but we
  can use the other three for multicast filtering. We arrange to put
  the first three multicast group addresses in the perfect filter
  slots so that commonly joined groups like the all hosts group and
  the all routers group can be filtered without using up bits in the
  hash table.

  Note: in FreeBSD 3.0, multicast groups are stored in a doubly
  linked list, however new entries are added at the head of the list
  (thereby pushing existing entries down towards the tail). We want
  to update the filter starting from the oldest entry to the newest
  since the all hosts group is always joined first. This means we
  really want to start from the tail of the list, not the head, but
  to find the tail we first have to traverse the list all the way to
  the end and then add entries working backwards. This is a bit of a
  kludge and could be inefficient if the list is long.

- Cleaned up autonegotiation code: tl_autoneg() wasn't always setting
  modes correctly.

- Cleaned up ifmedia update and status routines as well.

- Added tl_hardreset() routine to initialize the internal PHY according
  to the ThunderLAN manual.

- Did away with the kludge where PHYs were treated as separate logical
  interfaces. This didn't really work, especially in the case of the
  newer Olicom 2326 adapters which use a Micro Linear ML6692 PHY which
  provides only 100Mbps support, relying on the internal PHY for 10Mbps
  support (both PHYs share the RJ45 port, with the 6692 doing all the
  autonegotiation work). This kludge resulted from my misunderstanding
  of the operation of the Compaq Netelligent Dual Port card (the tlan
  manual mentions multiple channels, but in a different context; this
  got me a little confused). The driver has been reported to work
  correctly with the dual port card.

- Added dio_getbit/dio_setbit/dio_read/dio_write functions which carefully
  set the ThunderLAN's indirectly accessed internal registers. This makes
  the EEPROM reading code more reliable.

Hopefully I won't have to touch this again before 3.0 goes out the door.
I plan to import the 2.2.x version sometime this week.

Approved-by: jkh
25 years agoI'm not sure how/when router_enable got set to YES, but it doesn't
jkh [Wed, 23 Sep 1998 04:42:02 +0000 (04:42 +0000)]
I'm not sure how/when router_enable got set to YES, but it doesn't
seem right to me.
Noticed by: jkb

25 years agoFix proflibs again.
jkh [Wed, 23 Sep 1998 03:58:41 +0000 (03:58 +0000)]
Fix proflibs again.

25 years agoTreat not ready errors (asc 0x04) as non-fatal errors for attach. We
ken [Wed, 23 Sep 1998 03:17:08 +0000 (03:17 +0000)]
Treat not ready errors (asc 0x04) as non-fatal errors for attach.  We
already allowed medium not present type errors (0x3a), but some Philips and
HP WORM drives return 0x04,0x00 when you issue a read capacity without
media in the drive.

25 years agoAllow 5 untagged commands to go to a device before enabling tags after
gibbs [Wed, 23 Sep 1998 03:03:19 +0000 (03:03 +0000)]
Allow 5 untagged commands to go to a device before enabling tags after
enabling transfer negotiations, a BDR, or a bus reset to allow the controller
driver to negotiate without tagged messages getting in the way.  Some
devices are confused by attempts to negotiate and tag at the same time.
Some controllers (e.g. BT MultiMaster with certain firmware revs) will
never negotiate if you don't give them an untagged "window" to perform
negotiation in.

Bump the maximum tag count to 255.  The system reclaims unused tag space
as the tag count is dropped anyway, so we might as well try the max.

We should probably use a larger type than u_int8_t to hold our tag value
as SCSI over certain mediums allows for higher values.

Reviewed by:  Kenneth Merry <ken@FreeBSD.org>

25 years agoChange 3.0-CURRENT to 3.0-BETA when deciding if the installed system
jb [Wed, 23 Sep 1998 01:46:25 +0000 (01:46 +0000)]
Change 3.0-CURRENT to 3.0-BETA when deciding if the installed system
is current-enough (or is that beta-enough?).

Add a NOCONFIRM test for those brave souls who are game to upgrade
a system in blind faith.

25 years ago(1) Add BROKEN_ELF variable, similar to BROKEN. (There is no BROKEN_AOUT,
asami [Tue, 22 Sep 1998 23:58:49 +0000 (23:58 +0000)]
(1) Add BROKEN_ELF variable, similar to BROKEN.  (There is no BROKEN_AOUT,
    since ports are not supposed to be broken during the process of
    conversion to ELF -- please proceed with caution.)

(2) Support for checking file size before fetching.  The essential
    parts are commented out for now, so I won't lose the submission
    while we discuss how to do it.
Submitted by: se (mostly)

(3) Don't run "fetch" twice.  It was due to the change in checksum
    target chaining.  It used to be fetch -> checksum -> extract,
    after 1.285 it was fetch -> checksum and checksum was also
    explicitly called from extract.  Fix it by not calling fetch from
    checksum when it's invoked by extract.
Noticed by: pre-fetch target of lesstif being run twice

(4) Don't try to remove non-existent distfiles and patchfiles in
    distclean.
Submitted by: anto@netscape.net
PR: 7988

25 years agoA fix from Justin for the NCR bug that caused panics on 875 (and possibly
ken [Tue, 22 Sep 1998 21:42:46 +0000 (21:42 +0000)]
A fix from Justin for the NCR bug that caused panics on 875 (and possibly
other) chips.

The script pointer was getting set to NULL instead of the right value.

Submitted by: gibbs

25 years agoAdd several quirks:
ken [Tue, 22 Sep 1998 20:41:12 +0000 (20:41 +0000)]
Add several quirks:

Western Digital Enterprise drives have sorry performance (1.5MB/sec versus
8MB/sec) when doing tagged queueing.  Disable tagged queueing for them.

Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>

Some Sony CDROM drives don't like it when we probe more than one LUN.

Verified by:    Jean-Marc Zucconi <jmz@FreeBSD.ORG>

Some Sony CD-R's don't like multi-LUN probing either.

Submitted by:   Parag Patel <parag@cgt.com>

25 years agoTerminate our output string correctly if we've got
brian [Tue, 22 Sep 1998 18:39:47 +0000 (18:39 +0000)]
Terminate our output string correctly if we've got
an ``a'' command that has an escaped newline on the
last line of the last script that we're processing.

This fixes exmh2/scripts/build when /etc/malloc.conf -> AJ

25 years agoSync with sys/i386/isa/clock.c revision 1.127.
kato [Tue, 22 Sep 1998 16:12:00 +0000 (16:12 +0000)]
Sync with sys/i386/isa/clock.c revision 1.127.

25 years agoSync with sys/i386/conf/majors.i386 revision 1.50.
kato [Tue, 22 Sep 1998 16:11:38 +0000 (16:11 +0000)]
Sync with sys/i386/conf/majors.i386 revision 1.50.

25 years agoSync with sys/i386/conf/Makefile.i386 revision 1.124.
kato [Tue, 22 Sep 1998 16:11:08 +0000 (16:11 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.124.

25 years agoSync with sys/i386/conf/GENERICupgrade revision 1.3.
kato [Tue, 22 Sep 1998 16:10:40 +0000 (16:10 +0000)]
Sync with sys/i386/conf/GENERICupgrade revision 1.3.