119897 Commits

Author SHA1 Message Date
yongari
e7ee55cb70 MFC ip1000phy(4) to RELENG_6
Add ip1000 PHY driver for IC Plus IP1000A integrated PHY.
2006-08-08 08:06:29 +00:00
yongari
5749b98613 MFC gentbi(4) to RELENG_6
Add gentbi, a generic TBI(teb-bit interface) PHY driver ported
  from NetBSD.
2006-08-08 08:05:02 +00:00
yongari
508c441f55 MFC miidevs, rev. 1.33 to RELENG_6
Add IC Plus IP1000A integrated PHY id.
2006-08-08 07:51:21 +00:00
yongari
354674bfff MFC:
Replace hard-coded magic constants to system defined constants
 (BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc).
2006-08-08 04:37:18 +00:00
cvs2svn
c222d1afc4 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-08-07 23:35:50 +00:00
mlaier
ce539f4975 Belatedly MFC ipfw2.c, 1.88:
For src/dest parsing take off the netmask before checking for AF with
  inet_pton.  This fixes cases like "fe02::/16".

  PR:		bin/91245
  Reported by:	Fredrik Lindberge

Reminded by:	oleg
2006-08-07 19:32:57 +00:00
ume
00efe0bb36 MFC 1.3: Check if the filedes of kevent is expected one.
Though our old resolver opened just one socket, BIND9's
resolver may open more than one sockets.  And, BIND9's
resolver doesn't close the socket on timeout.  So, we
need this check.
2006-08-07 19:14:55 +00:00
ume
cee7bdef75 MFC 1.3: _close() should be called instead of close() here. 2006-08-07 19:12:26 +00:00
mlaier
7db313238f MFC, pf_ioctl.c, 1.25:
Import from OpenBSD 1.168, dhartmei:
    fix a bug in the input sanity check of DIOCCHANGERULE (not used by
    pfctl, but third-party tools). a rule must have a non-empty replacement
    address list when it's a translation rule but not an anchor call (i.e.
    "nat ... ->" needs a replacement address, but "nat-anchor ..." doesn't).
    the check confused "rule is an anchor call" with "rule is defined within
    an anchor".  report from Michal Mertl, Max Laier.
2006-08-07 15:22:53 +00:00
kib
2f7d13c770 MFC rev. 1.267:
Always supply curthread as argument to nfs_asyncio and nfs_doio
in nfs_strategy. Otherwise, for some buffers, signals would be ignored
at the intr mounts.

Reviewed by:	mohan
Approved by:	pjd (mentor)
2006-08-07 12:33:25 +00:00
kib
883b286035 MFC rev. 1.142:
Signals may be delivered to process as well as to the thread. Check the
thread-delivered signals in addition to the process one.

Reviewed by:	mohan
Approved by:	pjd (mentor)
2006-08-07 12:32:10 +00:00
yar
f44e033822 MFC r1.61: Eliminate some poorly duplicated code. 2006-08-07 10:28:45 +00:00
yar
06d94e5c79 MFC r1.170:
Kill an XXX remark that has been untrue since rev. 1.150 of this file.
2006-08-07 10:12:56 +00:00
yongari
d5807608b1 MFC if_re.c, 1.72 to RELENG_6
Fix re(4) breakage introduced in tree from rev 1.68.
  This should fix incorrect configuration of station address on
  big-endian architectures.
2006-08-07 02:38:07 +00:00
twinterg
3ce9cac735 MFC:
Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is
part of c4b, CAPI for BSD). This may be a preparation to add CAPI for BSD to
the source tree, in case the decision to MFC c4b itself is positive. Until
then users of c4b at least do not need to build a new kernel or base system
to compile and run c4b.

Approved by:	hm (mentor)
2006-08-06 19:03:27 +00:00
yar
e55204fea9 MFC rev. 1.57:
Do not forget to increment the input line counter
  when reading a word spanning multiple lines.
2006-08-06 10:27:47 +00:00
njl
197b03ad5a MFC: acpi man page formatting updates, sysctl temperature printing fixes. 2006-08-05 05:49:29 +00:00
emax
f2559d1912 MFC:
Add extra code into kbdmux(4)s read_char() method to
poll (i.e. call read_char() method) slave keyboards.

This workaround should fix problem with kbdmux(4) and
atkbd(4) not working in ddb(4) and mid-boot.
2006-08-03 16:31:25 +00:00
yar
6f53b8e96e MFC rev. 1.122:
Tell more of the sh(1) history.
  Acknowledge Kenneth Almquist's contribution in AUTHORS.
2006-08-03 13:19:15 +00:00
davidxu
257cf1a2b1 MFC revision 1.27.
Don't allow non-root user to set a scheduler policy.
2006-08-03 12:50:21 +00:00
jkoshy
4cc453714e MFC rev 1.9:
"In 'od -c' mode, deal with printable but zero-width combining
  characters correctly.  These characters are displayed "combined"
  with a space character."
2006-08-03 09:06:52 +00:00
jkoshy
1407434dba MFC rev 1.2:
- Use SWIDTH0 for combining characters.
  - Unicode 4.1 related changes:
    - Add definitions for a new range of code points
      U+1DC0..U+1DFF "Combining Diacritical Marks Supplement".
    - Add U+04F6 and U+04F7 to the Cyrillic range.
    - Mark U+034F "Combining Grapheme Joiner" as non-printable.
    - Add new combining characters in the range U+0350..U+035F
      to the section "Combining Diacritical Marks".

=============================================================================
2006-08-03 08:07:05 +00:00
flz
3ca371f890 MFC:
- Remove hardcoded /etc/ntp.conf configuration file from ntpdate rc.d script
  and replace it with a new ntpdate_config variable.
  - Document it in defaults/rc.conf and rc.conf.5.
  - Document ntpdate_hosts in defaults/rc.conf.

      src/etc/rc.d/ntpdate: rev 1.15 -> 1.16
      src/share/man/man5/rc.conf.5: rev 1.299 -> 1.300
      src/etc/defaults/rc.conf: rev 1.288 -> 1.289

Requested by:	Chris Timmons <cwt@networks.cwu.edu>
2006-08-02 18:44:12 +00:00
glebius
2068812437 Sync with HEAD merging many things:
- Support for BCM5754, BCM5755, BCM5787.
- Recognize BCM5703 B0 ASIC.
- Correctly recognize chips that can do Jumbo.
- Fix kern/68351
- Rewrite arrays that hold names of chips and
  revisions.

Also:
- Big style(9) and whitespace cleanup.
2006-08-02 15:01:59 +00:00
jcamou
365b1c69c6 MFC link:
rc.conf.local(5)->rc.conf(5)

PR:		docs/87698
Approved by:	trhodes (mentor)
2006-08-02 14:29:31 +00:00
njl
1a30664662 MFC: add control of thermal zone setpoints, add sysctl to enable ACPI-based
rebooting, fix sysctl printing of negative decimals, document it all.
2006-08-02 07:21:25 +00:00
yongari
d1aacbdfce MFC: if_sk.c, 1.128 if_skreg.h, 1.38 to RELENG_6
Add device ID for second generation D-Link DGE-530T.
2006-08-02 04:27:31 +00:00
marcel
d501812955 MFC revs 1.7, 1.8 and 1.9:
o  Add support for non-standard rclk values.
o  Add Quatech ID
o  Add 2 NEC IDs
o  Add 2 HP IDs
o  Add 5 Timedia IDs
2006-08-01 22:57:07 +00:00
marcel
ddc8858a1d MFC rev 1.3, 1.4 and 1.5:
o  Add defines for the 5 interrupt sources typical for serial devices.
o  Add bit masks for the various definitions.
2006-08-01 21:51:19 +00:00
marcel
98c65f8bf6 MFC rev. 1.29: Propagate overrun conditions to the TTY layer. 2006-08-01 21:30:07 +00:00
jhb
4a569b95b2 MFC: Mark the thread pointer used during an adaptive spin volatile. 2006-08-01 18:39:39 +00:00
jhb
17f78c9df4 MFC: Write a magic value into mtx_lock when destroying a mutex. 2006-08-01 18:38:35 +00:00
jhb
12a43179a5 MFC: Sync up with HEAD in some of the locking primitive details:
- Teach WITNESS_SAVE() and WITNESS_RESTORE() to work with spin locks instead
  of only sleep locks.
- Do the extra step required when destroying a locked spin mutex.
- Initialize thread0.td_contested in init_turnstiles() rather than
  mutex_init().
- Add LOCK_CLASS() macro and sync with HEAD on its usage.  For RELENG_6
  this just maps to lock->lo_class.  (In HEAD lo_class was removed an array
  index was encoded into lo_flags instead.)
- Add subr_lock.c including adding lock_init() and lock_destroy() functions
  as we as moving the 'show lock' command into this file from kern_mutex.c.
2006-08-01 17:40:13 +00:00
wpaul
f963d2d88c MFC: fix padding of short checksum offload frames, fix TX DMA channel
stall, add USR NIC PCI ID, add tsleep() to re_detach() to avoid possible
crash when unloading module
2006-08-01 17:36:50 +00:00
thompsa
7f0d39ebc0 MFC r1.67
Remove variables that are overridden by ether_ifattach().
2006-08-01 10:03:51 +00:00
yar
a922641164 MFC rev. 1.24-1.25:
test(1) doesn't do shortcut evaluation in its logical operators.
2006-08-01 09:53:53 +00:00
yar
333f9ded5a MFC rev. 1.27: Fix a misspelled module name. 2006-08-01 09:47:11 +00:00
avatar
5eeff2b0bc MFC: (1.191) Fix "taskqueue_drain with the following non-sleepable locks
held" witness(9) warning on detach.

Ok'ed by:	ru
Tested on:	6-STABLE
2006-08-01 07:37:22 +00:00
jhb
7ce29daaa1 MFC: Fix hw.physmem/MAXMEM usage on systems with SMAP (including systems
with ACPI).
2006-07-31 18:55:14 +00:00
jhb
7136395c52 MFC: Add a mutex to protect the list of interrupt config hooks. 2006-07-31 18:53:55 +00:00
jhb
19ba69396e MFC: Expand locking coverage to cover if_drv_flags in a few places where
it wasn't locked.
2006-07-31 18:53:09 +00:00
brueffer
ef35c970b0 MFC:
Note my(4) altq(4=) support.
2006-07-31 16:52:15 +00:00
wpaul
8461be6a32 MFC: correct PCI ID for 8169SC/8110SC, remove spinlock, work around
checksum offload bugs, correct device descriptions
2006-07-30 23:32:20 +00:00
simon
9ba5d64163 MFC 1.7:
Add Memory Corp 512MB CF Flash.
2006-07-30 19:32:52 +00:00
simon
9eee5c0c95 Fix a bug in the padlock engine when handling small data blocks. This
could cause problem e.g. when using OpenVPN.

This is a direct commit to RELENG_6 since the issue was fixed by the
OpenSSL 0.9.8b import in -CURRENT.

PR:		bin/86598
Submitted by:	Mike Tancsa <mike@sentex.net>
Tested by:	Mike Tancsa, pjd
Obtained from:	OpenSSL CVS (eng_padlock.c 1.12 -> 1.13 diff)
2006-07-30 14:03:03 +00:00
kientzle
cce1fd0901 MFC bsdtar 1.2.53 to FreeBSD 6:
* Fixes bin/87911 (internal error attempting -u with empty file)
  * Fixes bin/84993 (warnings with GCC 4.1)
  * Fixes bin/95175 (core dump on nonexistent symlink)
  * Documentation fixes
  * Corrections to pathname matching
  * Portability fixes
  * Initial extended attribute support
2006-07-30 06:32:14 +00:00
kientzle
1ac551f692 MFC libarchive 1.2.53 to FreeBSD 6.
* Fixes bin/86690 (sparse file extraction)
  * Fixes bin/87911 (assertion failure after failed open)
  * Corrects handling of very old files (negative mtime)
  * Better error checking for memory allocation failures
  * Style and portability fixes
  * Documentation corrections
  * Initial extended attribute support
2006-07-30 06:30:01 +00:00
ume
00dde54f26 MFC 1.85: do not overload the port number on to the return value of
str2number().  this could result in an unexpected code path.
2006-07-30 06:11:43 +00:00
kientzle
e9496c799e Add lib/libbz2 to the _prebuild_libs list.
(This is a partial MFC of rev 1.516 by ru.)

The upcoming libarchive update requires this.
2006-07-29 21:07:01 +00:00
yar
0acb5fcffc MFC rev. 1.121:
Make it easier to find that we have test(1) built-in in sh(1).
2006-07-29 08:57:29 +00:00