Commit Graph

55486 Commits

Author SHA1 Message Date
ru
0a8b50d911 Prepare for mdoc(7)NG. 2000-12-27 14:22:05 +00:00
ru
30978762ad Prepare for mdoc(7)NG. 2000-12-27 14:15:06 +00:00
ru
d6010fd0c0 Prepare for mdoc(7)NG. 2000-12-27 13:59:17 +00:00
msmith
4210affb2a Major bugfix and minor update. This should resolve the current issues
with the driver locking up under load.

 - Restructure so that we use a static pool of commands/FIBs, rather than
   allocating them in clusters.  The cluster allocation just made things
   more complicated, and allowed us to waste more memory in peak load
   situations.
 - Make queueing macros more like my other drivers.  This adds queue stats
   for free.  Add some debugging to take advantage of this.
 - Reimplement the periodic timeout scan.  Kick the interrupt handler
   and the start routine every scan as well, just to be safe.  Track busy
   commands properly.
 - Bring resource cleanup into line with resource allocation.  We should
   now clean up correctly after a failed probe/unload/etc.
 - Try to start new commands when old ones are completed.  We weren't doing
   this before, which could lead to deadlock when the controller was full.
 - Don't try to build a new command if we have found a deferred command.
   This could cause us to lose the deferred command.
 - Use diskerr() to report I/O errors.
 - Don't bail if the AdapterInfo structure is the wrong size.  Some variation
   seems to be normal.  We need to improve our handing of 2.x firmware sets.
 - Improve some comments in an attempt to try to make things clearer.
 - Restructure to avoid some warnings.
2000-12-27 13:14:56 +00:00
cg
956a455aa8 change irq handler slightly, get rid of superflous messages 2000-12-27 04:04:36 +00:00
assar
c992e63b51 include tcp header files to get the prototype for tcp_seq_vs_sess 2000-12-27 03:02:29 +00:00
assar
86072df72b Make zalloc and zfree non-inline functions. This avoids having to
have the code calling these be compiled with the same setting for
INVARIANTS and SMP.

Reviewed by:	dillon
2000-12-27 02:54:37 +00:00
dougb
04c9e5094f Fix a quoting problem I introduced.
Fix a tiny style problem while I'm here.

Submitted by:	knu
2000-12-26 20:55:18 +00:00
joerg
7dd1636f07 Fix an annoying message ``gdb: ptrace(PT_GETDBREGS) failed: No such process''
when using gdb on a remote target.  The fix is to restrict PT_GETDBREGS
calls to `child' and `freebsd-uthreads' targets solely.

I've been in some conversation with Brian about this, and this solution
seems to be the most appropriate one.

PR:		gnu/21685
Submitted by:	bsd
2000-12-26 20:38:46 +00:00
dillon
00135ff519 This implements a better launder limiting solution. There was a solution
in 4.2-REL which I ripped out in -stable and -current when implementing the
low-memory handling solution.  However, maxlaunder turns out to be the saving
grace in certain very heavily loaded systems (e.g. newsreader box).  The new
algorithm limits the number of pages laundered in the first pageout daemon
pass.  If that is not sufficient then suceessive will be run without any
limit.

Write I/O is now pipelined using two sysctls, vfs.lorunningspace and
vfs.hirunningspace.  This prevents excessive buffered writes in the
disk queues which cause long (multi-second) delays for reads.  It leads
to more stable (less jerky) and generally faster I/O streaming to disk
by allowing required read ops (e.g. for indirect blocks and such) to occur
without interrupting the write stream, amoung other things.

NOTE: eventually, filesystem write I/O pipelining needs to be done on a
per-device basis.  At the moment it is globalized.
2000-12-26 19:41:38 +00:00
sos
113436de68 Add CDR progress ioctl. 2000-12-26 15:24:53 +00:00
sos
2a9bfee2a9 Use M_ZERO flag on malloc when approbiate. 2000-12-26 12:05:49 +00:00
sos
5146ccfc03 Update to match the progress interface on blank command. 2000-12-26 11:56:15 +00:00
sos
0aedf7e64c Update the burncd interface a bit, dont block the ATA channel on
blank & fixate commands and provide a progress interface for the
blank command (for now)
2000-12-26 11:55:44 +00:00
sos
175251292e Use diskerr for printing disk hard/soft errors. 2000-12-26 11:49:57 +00:00
obrien
320a2975c3 Add these files that were used from contrib/gcc/. They are taken from
GCC 2.7.2.3 as that was the version of GCC in active use before the switch
to ELF.
The GCC 2.9[67] versions of these files carry more baggage and I'm not sure
the are appropriate for this linker.
2000-12-26 10:20:22 +00:00
will
39117ddb72 Fix for the case where the first two entries returned by readdir() are
actually NOT '.' and '..'.  Apparently this isn't the case when accessing
a directory via XFS over NFS on SGI systems.  Since I don't have access to
an environment like that, this will sit out in -current for at least six
weeks.  However, the patch proposed by the submitter seems acceptable, so
I've decided to commit it to the tree, in the hope that it will solve some
problems without bringing up others.

PR:		23300
Submitted by:	Jim Pirzyk <Jim.Pirzyk@disney.com>
2000-12-26 07:36:07 +00:00
tanimura
0b73ca46fd Add OZO8008 - Zoom (33.6k Modem).
PR:		kern/23336
Submitted by:	Paulo Menezes <root@samurai.dee.uc.pt>
2000-12-26 06:52:57 +00:00
imp
2f67670abe Minor newbus/style(9) cleanups.
o Move the ax88190 code to its own function.
o Move all device_method_t, driver_t and DRIVER_MODULE definitions to the
  end of files.
o Wrap a few lines > 80 characters.
o Use the same devclass for all ed drivers.  This allows machines with
  multiple types of cards to have their cards numbered correctly.  Before,
  you could wind up with two ed0's.
o Protect if_edvar.h from multiple includes because I was there.
2000-12-26 06:38:04 +00:00
sanpei
6e6aa3a50c add PC-Card entry, ELECOM Laneed LD-CDL/TX
ed1 at port 0x240-0x25f irq 3 slot 0 on pccard0
ed1: address 00:90:fe:xx:xx:xx, type Linksys (16 bit)

Submitted by:   taguchi@tohoku.iij.ad.jp
2000-12-26 00:59:34 +00:00
sanpei
7c4aa724e3 add Melco LPC2-TX 2000-12-26 00:47:41 +00:00
obrien
0834600a90 The change in rev 1.8 makes the C version of killall behave the same as the
old perl one.
2000-12-25 20:44:05 +00:00
ps
a7fe3f8159 Use the real user ID so non-root users can kill setuid processes
they started.

PR:		23356
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2000-12-25 19:26:07 +00:00
toshi
2d93aae515 Add support for PC-card router configuration. (MFPAO)
o Add the removable_interfaces variable for list of removable network
  interfaces (PC-card ethernet, wireless network and USB ethernet etc).
o ifconfig_<ifn>_alias0, static_routes_<ifn>, removable_route_flush,
  /etc/start_if.<ifn> and /etc/stop_if.<ifn> are support.
o removable_route_flush variable is set to "NO" if you want to use the
  machine as gateway using two or more removable network cards. If
  static routing is needed use static_routes_<ifn> instead of
  static_routes or defaultrouter.
o The optional static_routes_<ifn> variable is likely static_routes.
o /etc/start_if.<ifn> and /etc/stop_if.<ifn> are shell script to be
  specified that are called when a card is inserted or removed.
2000-12-25 09:21:18 +00:00
ru
ef65a9b079 mdoc(7) police: formatting fixes. 2000-12-25 09:08:44 +00:00
cg
fc262db160 move parametric defines and structure definitions from .h to .c 2000-12-25 02:49:28 +00:00
cg
08542edb95 indent debugging printfs, change a couple of messages slightly 2000-12-25 02:21:16 +00:00
cg
9c8b6ec646 update to return correct blocksize- these chips have a fixed irq rate, so
block size varies only with format and rate.
2000-12-25 01:42:13 +00:00
obrien
c19e92e308 Don't abuse the SCCS `@(#)' for RCS.
Requested by:	bde
2000-12-25 01:16:12 +00:00
iwasaki
6110576c61 Add ioctls to acpi_cmbat and acpi_acad. These use mike's acpi_register_ioctl().
Fix wrong AML method calling in acpi_cmbat.
2000-12-24 19:12:10 +00:00
dwmalone
175c5cac03 As far as I can tell, you have never been able to use 'ab' as a unit
name if 'a' and 'b' are unit names. You can use 'a b' though.
2000-12-24 16:15:28 +00:00
toshi
c18a00d95f o Almost all the config line changed to `auto', except for
multifunction cards and I recieved reports that the card does not
  workd by `config auto'. (MFPAO)
o Remove static assign of the IRQ number.
o Remove two duplicated entries.
o Join some entries using regex and fixed matching order problem.

These changes for boot.flp.

Suggested by: sanpei
2000-12-24 15:38:38 +00:00
toshi
2b9855af0a Fix output of -v option. 2000-12-24 15:30:36 +00:00
kato
35f0976305 Removed pc98-hack of aout tools. 2000-12-24 14:58:34 +00:00
kato
afb2bcb25d Disabled boot2 for the moment, because it needs aout tools. 2000-12-24 14:54:34 +00:00
obrien
d744bc8554 Back out the modules `make obj' speedup.
I cannot find a way to do this with the more esoteric source dir schemes
I thought of.
2000-12-24 13:29:58 +00:00
joe
766c10a107 Clean up the source directory finding code, and in the process fix a
problem that occurs when a program's source isn't found.
2000-12-24 12:21:15 +00:00
phk
f295d51c11 Update the "icmp_admin_prohib_like_rst" code to check the tcp-window and
to be configurable with respect to acting only in SYN or in all TCP states.

PR:		23665
Submitted by:	Jesper Skriver <jesper@skriver.dk>
2000-12-24 10:57:21 +00:00
obrien
57e62ed15d Clean up the -j/-y/--bzip entry in usage().
Add the -U and --unlink-first options which are the offical verions of our
--unlink localism.
Add support for the "TAR_OPTIONS" environmental variable.

Obtained from:	GNU tar 1.13.18
2000-12-24 10:52:23 +00:00
obrien
3f9fe69fa4 Add -j as the offical "pipe thru bzip2 compression program" option.
Make -I equivalent to -T for compatiblity with Solaris.

Obtained from:	GNU tar 1.13.18
2000-12-24 10:19:55 +00:00
cg
4c92948c06 fairly substantial rewrite- seperate out play/record code, implement
setblocksize, simplify resource allocation
2000-12-24 03:56:41 +00:00
cg
e0714c2e88 compensate for broken codecs that return 0xffff on unimplemented registers
instead of 0.
2000-12-24 03:33:21 +00:00
brian
96a884367e Handle multiple words in $daily_clean_disks_files
PR:			23805
Submitted mostly by:	Norbert Papke <npapke@telus.net>
2000-12-24 03:22:45 +00:00
bmilekic
6b508f3996 Change M_WAIT to M_TRYWAIT, the new name of the flag. 2000-12-24 03:08:17 +00:00
cg
8342d4e817 implement setblocksize properly 2000-12-23 22:24:43 +00:00
obrien
225ac58c08 Add `gcov' to the mix.
Requested by:	David Malone <dwmalone@maths.tcd.ie>
PR:	18574
2000-12-23 19:49:28 +00:00
jake
2a7c5bd038 Protect proc.p_pptr and proc.p_children/p_sibling with the
proctree_lock.

linprocfs not locked pending response from informal maintainer.

Reviewed by:	jhb, -smp@
2000-12-23 19:43:10 +00:00
joe
f316aee2d1 Remove floppy.tree from the build directory. 2000-12-23 19:33:13 +00:00
joe
fbac97b576 MF4: Update the bridge kernel config file to reflect the structure and
order that Luigi has just committed to RELENG_4.
2000-12-23 19:27:42 +00:00
joe
811510ca8c MF4: revision 1.3.2.1.
inetd is not always present, check before invoking it.
2000-12-23 19:11:53 +00:00