Commit Graph

55063 Commits

Author SHA1 Message Date
wpaul
82aa2600cc Apply some contributed patches to reduce number of tx buffer allocation
failures and add some support for WEP on Prism II chip.

Submitted by: YAMAMOTO Shigeru <shigeru@iij.ad.jp>
2000-12-15 23:34:13 +00:00
mjacob
ea1bd4d556 Fix ypo in essage about isabling EISA nterrupt ector
(tip 'o the tired cap to Bernd Walter <ticso@cicely5.cicely.de>)
2000-12-15 23:09:05 +00:00
jkh
8a85dfc7bd SNAPDATE is an obsolete mechanism which has also been pretty much
of a no-op all along anyway.  There are other ways to set this
for release building, so nuke it.

PR:	22979
2000-12-15 22:26:42 +00:00
bmilekic
e94f2430fb Change the following:
1.  ICMP ECHO and TSTAMP replies are now rate limited.
  2.  RSTs generated due to packets sent to open and unopen ports
      are now limited by seperate counters.
  3.  Each rate limiting queue now has its own description, as
      follows:

      Limiting icmp unreach response from 439 to 200 packets per second
      Limiting closed port RST response from 283 to 200 packets per second
      Limiting open port RST response from 18724 to 200 packets per second
      Limiting icmp ping response from 211 to 200 packets per second
      Limiting icmp tstamp response from 394 to 200 packets per second

Submitted by: Mike Silbersack <silby@silby.com>
2000-12-15 21:45:49 +00:00
jhb
415f02cbaf Delay waking up processes select'ing on the log device directly from
the kernel console.  Instead, change logwakeup() to set a flag in the
softc.  A callout then wakes up every so often and wakes up any processes
selecting on /dev/log (such as syslogd) if the flag is set.  By default
this callout fires 5 times a second, but that can be adjusted by the
sysctl kern.log_wakeups_per_second.

Reviewed by:	phk
2000-12-15 21:23:32 +00:00
bmilekic
e9d51c0803 Make sure to check if MGET(HDR) returned NULL, even when called with M_WAIT.
This fixes the possibility of a NULL pointer dereference in the case where
there are no mbufs or mbuf clusters left.

Approved by: phk
2000-12-15 21:06:55 +00:00
jhb
656396e81a Catch up to the changes to the kthread API. 2000-12-15 20:39:35 +00:00
wpaul
82f46e4827 Whups: only build the if_el module on the x86 platform for now, until
I can confirm it works on the alpha.
2000-12-15 20:14:19 +00:00
obrien
479e65df3a Our OS name is "freebsd", not "freebsdelf". 2000-12-15 20:11:28 +00:00
wpaul
3ba915a304 Newbus the if_el (3Com 3c501) driver. Use bus_space_X() functions.
Add detach routine and turn driver into a module so it can be loaded
and unloaded. Also take a stab at implementing multicast packet
reception so that this NIC will work with IPv6. Promiscuous mode
doesn't seem to work, but I'm not sure why. It works well enough that
I can run dhclient on it and put it on the office network though.
Also ripped out spl stuff and replaced it with mutexes.
2000-12-15 20:09:10 +00:00
jhb
cdfe59aac6 Stick the kthread API in a kthread_* namespace, and the specialized kproc
functions in a kproc_* namespace.

Reviewed by:	-arch
2000-12-15 20:08:20 +00:00
obrien
2a689b0e2f Only build the a.out as' and ld' if "WANT_AOUT" is defined.
Looking in src/Makfile* it looks like all the "WANT_AOUT" support
has been removed, maybe these should just go away...

Note that the a.out `ld' reaches over into src/contrib/gcc for libiberty
bits.  This is biting us because the libiberty bits have evolved beyond
what the a.out `ld' can handle.

This change fixes the broken world, but only because very few have
"WANT_AOUT" defined.
2000-12-15 19:49:28 +00:00
jhb
81c40ecc9c Lock access to proc members.
Glanced over by:	marcel
2000-12-15 19:41:27 +00:00
phk
e761ef905b Add the musycc driver to NOTES.
This is a driver for the LanMedia/SBE LMC150x E1/T1 family of cards.

The driver currently support unframed E1 (2048kbit/s) and framed
E1 (nx64).

These cards will provision E1/T1 lines for about 1/4 the cost of
a cisco router...
2000-12-15 18:01:43 +00:00
phk
a61be420ca Don't clone impossible unit numbers for disks. 2000-12-15 17:55:24 +00:00
ru
d4cb36bcfe Prepare for mdoc(7)NG. 2000-12-15 17:37:31 +00:00
phk
0e14bc212f Enforce disk unit numbers upper limit in cloning. 2000-12-15 16:42:38 +00:00
phk
fe59327d80 Make a #define for the highest legal disk unit (0x1ff) 2000-12-15 16:41:40 +00:00
phk
139e3e3e41 Don't do raw device 'r' mangling.
Try to use vn%d.ctl for setup and control if possible.

This paves the way for a DEVFS/cloning vn driver.
2000-12-15 16:40:11 +00:00
ru
0f35e87fbb Fixed the ``no space after a .Fl'' problem.
Example:

.Fl flag .
The space is missing.

Obtained from:	mdocNG
2000-12-15 14:57:11 +00:00
iedowse
3e3c84c80c Add a simple SIGINFO handler to fsck_ffs. Shortly after receipt of
a SIGINFO (normally via Ctrl-T), a line will be output indicating
the current phase number and progress information relevant to the
current phase.

Approved by:	mckusick
2000-12-15 14:23:55 +00:00
ache
f15d921e9e Fix lseek args order (PR 23549)
Catch and report lseek errors too
While reading header don't attempt to continue reading
if some IO operation fails

PR:		23549
2000-12-15 13:20:43 +00:00
takawata
17397c2789 Fix with debugging option.
Submitted by:	haro@tk.kubota.co.jp
2000-12-15 09:18:11 +00:00
ru
5f616cd0ae Add a missing dot. 2000-12-15 07:34:01 +00:00
brian
5fd9455c07 Correct the documented default behaviour of mschap, mschap81 and MPPE.
Pointed out by: Mark Knight <markk@knigma.org>
2000-12-15 01:09:38 +00:00
jhb
e086882f91 When p_ucred is passed to the venus daemon, first grab the proc lock to
protect the p_ucred pointer, obtain a seperate reference to the ucred,
release the lock, and then pass in the new ucred reference.
2000-12-15 00:12:30 +00:00
jhb
03f20c1a84 Locking change: lock p_cred with the proc mutex (c) instead of assuming
that it doesn't change after process creation.
2000-12-15 00:10:32 +00:00
jhb
3886aa1d19 Whitespace cleanups, and a few comment changes to get everything to fit
back in 80 columns again after the locking descriptions were added.

Submitted by:	bde
2000-12-15 00:09:31 +00:00
jhb
e8ae57d589 Add in MI implementations of the KTR trace buffer ddb commands. The
commands have also been slightly updated as follows:
- Use ktr_idx to find the newest entry rather than walking the buffer
  comparing timespecs.  Timespecs are not always unique after the change
  to use getnanotime(9).
- Add a new verbose setting.  When the verbose setting is on, then the
  timestamp is printed with each message.  If KTR_EXTEND is on, then the
  filename and line number are output as well.  By default this option is
  off.  It can be turned on with the 'v' modifier passed to the 'tbuf'
  and 'tall' commands.  For the 'tnext' command, the 'v' modifier toggles
  the verbose mode.
- Only display the cpu number for each message on SMP systems.
- Don't display anything for an empty entry that hasn't been used yet.
2000-12-15 00:01:20 +00:00
jhb
473acfcf52 Remove the "machine dependent" KTR trace buffer ddb commands. The code was
exactly the same on all platforms.
2000-12-14 23:57:30 +00:00
alfred
4527b5166f Adapt to new struct kinfo_proc and unbreak world.
Apologies to: darrenr who is maintainer
2000-12-14 23:35:57 +00:00
imp
d7c24f441e Generalize quirk for Sony Memory Sticks. Any device that starts with
MS will be treated as having this quirk.  In the event that we falsely
identify one that doesn't need it, no harm will be done.  Ken
suggested that we make this more generic since there may be more
needed in the future.

Reported by: TERAMOTO Masahiro <teramoto@comm.eng.osaka-u.ac.jp>
PR:	kern/23378
Reviewed by: ken
2000-12-14 22:08:13 +00:00
obrien
776b3782fe This commit was generated by cvs2svn to compensate for changes in r70029,
which included commits to RCS files with non-trunk default branches.
2000-12-14 21:42:21 +00:00
obrien
d566d0a5f8 Import of a GCC 2.96 snapshot taken from the trunk of the FSF GCC anoncvs
server on 11-July-2000, at 17:32 Zulu.

This is the last point [that I know of] that Cygnus synced their internal
IA-64 GCC tree with the public FSF one.
2000-12-14 21:42:21 +00:00
phantom
9417b1b80a Fix typo reported by Rich Morin <rdm@cfcl.com> on -doc mailing list.
Correct .Xr macro usage.
Also fix few more typos while I'm here.
2000-12-14 16:27:11 +00:00
phantom
32d8e5ee4d Add missing coma in SEE ALSO section
Reported by: Rich Morin <rdm@cfcl.com>
2000-12-14 16:24:38 +00:00
eivind
4a0a197631 Add better IP, netmask and gateway checks.
- IP addresses are verified as being correct dotted quad format.
- Netmasks are verified as being in correct dotted quad or 0x* format,
  and being consecutive 1 bits followed by consecutive 0 bits.
- The gateway is verified as being correct dotted quad format and
  being reachable through the configured IP address and netmask.
2000-12-14 13:59:10 +00:00
ru
e5a37f2e6f mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
ru
c86298b9bc mdoc(7) police: removed duplicate .Os call. 2000-12-14 12:48:07 +00:00
takawata
41330c9550 Make Embedded Controller driver interrupt driven. 2000-12-14 12:43:22 +00:00
ru
51b13b77a8 mdoc(7) police: removed duplicate .Os calls. 2000-12-14 12:40:48 +00:00
ru
c23c39b3a4 mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
ru
ace23c11af Prepare for FreeBSD 4.3, we already have the manpage that refers to it. 2000-12-14 11:50:42 +00:00
ru
1a1c44f0b2 mdoc(7) police: removed history info from the .Os call. 2000-12-14 11:40:41 +00:00
sheldonh
9cf63b7743 Grammar fix. 2000-12-14 09:36:49 +00:00
tanimura
016329311e - Move ifs_init() so that it can initialize ifs_inode_hash_mtx.
- s/ffs_inode_hash_lock/ifs_inode_hash_lock/
2000-12-14 09:15:27 +00:00
ru
e3880f5f55 mdoc(7) police: add a missing .Os, change the list type to ``tagged''. 2000-12-14 08:55:32 +00:00
ru
50947b7f56 Mdoc(7)ify. 2000-12-14 08:01:59 +00:00
jake
7f0e1809c6 Use _lapic+offset to access the local apic from assembly language
files, rather than the symbols in globals.s.  The offsets are
generated by genassym.
2000-12-14 04:16:16 +00:00
jkh
c8394629dc Adapt sysinstall to use the new msgNoYes() function which assumes
no as a default.  Sysinstall should be both less dangerous and less
annoying as a result of this change, though that's just my opinion
(since they're the defaults which annoy ME the least :).
2000-12-14 02:49:02 +00:00