Commit Graph

32016 Commits

Author SHA1 Message Date
wpaul
1c09b1d942 #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
1998-09-26 01:29:51 +00:00
msmith
7e33170a26 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.
1998-09-26 01:29:13 +00:00
des
813a76e7c2 Silence a harmless warning. 1998-09-26 00:55:53 +00:00
dillon
9cb29011f9 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().
1998-09-26 00:12:35 +00:00
gibbs
49939b416d Correct problems with xpt_set_transfer_settings and async transfer
negotiation changes with wildcarded paths.
1998-09-25 22:35:56 +00:00
brian
0189e207a1 Add an entry for the HAYES OPTIMA 28.8k 1998-09-25 22:08:53 +00:00
rvb
30ffd484a6 This commit was generated by cvs2svn to compensate for changes in r39652,
which included commits to RCS files with non-trunk default branches.
1998-09-25 17:51:44 +00:00
rvb
5a8cd70229 lkm for coda 1998-09-25 17:51:44 +00:00
rvb
6e906a5c45 lkm for coda 1998-09-25 17:51:44 +00:00
rvb
01e3d85840 Don't lose this file 1998-09-25 17:40:50 +00:00
rvb
ebf7679a7e 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.)
1998-09-25 17:38:32 +00:00
peter
a2aeaf4564 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
1998-09-25 17:34:49 +00:00
wpaul
8b137e029a 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.
1998-09-25 17:34:19 +00:00
peter
9f5a84eacb Make these compile when there is an obj dir. 1998-09-25 17:14:16 +00:00
dfr
9abc86084b 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.
1998-09-25 14:39:52 +00:00
obrien
a0e1ce1284 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
1998-09-25 12:20:27 +00:00
yokota
2ceab1cc66 Cosmetic change: adjust copyright notice. 1998-09-25 11:55:46 +00:00
obrien
f6f60ebfb1 include <pthread.h>
Submitted by:	Alexander Leidinger <netchild@wurzelausix.CS.Uni-SB.DE>
1998-09-25 11:43:48 +00:00
yokota
8a242d4136 Slightly adjust the description on SC_ALT_SEQACCESS in the previous
commit.
1998-09-25 11:38:30 +00:00
jkh
4a0cbbddef Match LINT with SC_BAD_FLICKER change.
Submitted by:	Sheldon Hearn <axl@iafrica.com>
1998-09-25 11:00:11 +00:00
jkh
f3d5c521a6 Add entry for ThunderLAN NIC. 1998-09-25 09:04:24 +00:00
sos
30e7304e1e Build the LKM's both on aout & ELF systems.
Reviewed by: jkh
1998-09-25 08:58:49 +00:00
dima
477cd4c556 Backout my previous commit. Oops. 1998-09-25 08:21:15 +00:00
dima
de2a29bccd ${DISTDIR}/bin/etc/objformat -> ${DISTDIR}/etc/objformat 1998-09-25 07:42:29 +00:00
jkh
91874fe8cd Take doscmd back out - it relies on installed X components to build (!). 1998-09-25 02:15:56 +00:00
gibbs
80de91faa1 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.
1998-09-24 22:43:54 +00:00
nate
0fc8c42b5d - 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>
1998-09-24 17:56:31 +00:00
markm
76c6a23ce3 Part #2 (final) of suidperl repair. 1998-09-24 17:25:26 +00:00
markm
eb50082071 Part #1 of suidperl repair. 1998-09-24 17:20:46 +00:00
wpaul
e7f748a814 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.
1998-09-24 17:14:23 +00:00
abial
a4a8884afb Turn off options BRIDGE and DUMMYNET again - there are still some pieces
missing. But I hope this will be ready before 3.0-R.
1998-09-24 16:39:55 +00:00
abial
9be10994c6 Remove superfluous (and old) copies.
There are still many more things to clean up here...
1998-09-24 16:37:37 +00:00
peter
3661b62bcb Minimal change for #if __FreeBSD__ >= 3 to check __FreeBSD_version instead. 1998-09-24 16:00:30 +00:00
luoqi
10b8717849 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>
1998-09-24 15:02:46 +00:00
peter
b9b9de1a62 Change #if __FreeBSD__ >= 3 to #if __FreeBSD_version >= 300000 to aid
bootstrapping from a 2.2.x system.
1998-09-24 13:31:01 +00:00
jkh
13107fee74 MF22: revert time bogon. 1998-09-24 13:25:43 +00:00
yokota
40b0da60d7 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
1998-09-24 13:20:47 +00:00
sos
455ca58972 Add a note on the VESA support.
Delete the note on the -b boot option.
1998-09-24 13:11:08 +00:00
bde
e08c4a4b4e Removed unused include of "ioconf.h" again. The CAM changes made ioconf.h
empty but regressed to including it here.
1998-09-24 10:43:42 +00:00
bde
b72d71e9b0 Removed a stale comment about "ioconf.h". 1998-09-24 10:41:13 +00:00
bde
99280accd6 Fixed disorder and long lines.
Decrypted a comment.
1998-09-24 10:28:28 +00:00
bde
f6bd914bfd Don't redefine kernel. Makefile.i386 now defines it.
Removed some unused includes.
1998-09-24 10:22:21 +00:00
jkh
c320c94d53 Put MSDOSFS back - I'm going to try and find space another way. 1998-09-24 02:01:07 +00:00
gpalmer
143e37c722 Don't assume that we have extended modes on all platforms. 1998-09-24 01:36:36 +00:00
luoqi
db5b7b7bc6 Enable elf build for doscmd. 1998-09-24 01:15:56 +00:00
luoqi
1e573349aa 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.
1998-09-24 01:11:45 +00:00
jkh
c51ade1afe Trim more stuff off the boot floppy - we're overflowing again! :(
Partially suggested by:	abial
1998-09-24 00:57:05 +00:00
dfr
7c71d4162d Use unsigned chars instead of signed chars when extracting bits of the
inet address.
1998-09-23 21:35:40 +00:00
dfr
7fdf235da0 Use 8k pagesize on alpha, not 4k. 1998-09-23 21:26:04 +00:00
msmith
6140797f7f 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>
1998-09-23 21:23:51 +00:00