119911 Commits

Author SHA1 Message Date
yongari
a9c2a61242 MFC GENERIC, 1.455 to RELENG_6:
Add stge(4) to the list of drivers supported by GENERIC kernel.
2006-08-08 09:49:59 +00:00
yongari
83b0972af5 MFC devices.c, rev. 1.168 to RELENG_6:
Add stge(4) to the list of supported network interface.
2006-08-08 09:44:13 +00:00
yongari
0c1dab489d MFC loader.conf, rev 1.107 to RELENG_6:
Add an entry for the stge(4) module.
 While I'm here remove a stale wx(4) entry.
2006-08-08 09:37:15 +00:00
yongari
b9d40d8dfb MFC miibus.4, rev 1.17 to RELENG_6:
Add stge(4) to the list of device drivers use the miibus interface.
2006-08-08 09:34:08 +00:00
yongari
c815af94e7 MFC altq.4, rev 1.21 to RELENG_6:
Add stge(4) to the list of drivers supporting ALTQ.
2006-08-08 09:32:18 +00:00
yongari
a18f2de168 MFC vlan.4, rev 1.30 to RELENG_6:
Add stge(4) to the list of devices supporting full VLAN processing.
2006-08-08 09:28:43 +00:00
yongari
fc9c4ea765 MFC polling.4, rev 1.25 to RELENG_6:
Add stge(4) to the list of devices supporting polling.
2006-08-08 09:26:30 +00:00
glebius
803b2a64f0 Sync with HEAD, merging vendor drivers updates 5.1.5, 6.0.5 by Jack Vogel. 2006-08-08 09:20:26 +00:00
glebius
cd0cd8cb92 Sync with HEAD. This includes the following changes in chronological
order:

o A significant performance improvements. The interrupt handler
  schedules work to a private taskqueue. The em_rxeof() function
  runs lockless.
  Rev. 1.98 - 1.101 by scottl.
  Rev. 1.103 by mux
  Rev. 1.106 by glebius, from Andrey V. Elsukov <bu7cher yandex.ru>
  Rev. 1.116 by glebius
o Style cleanups:
  - Rev. 1.102, 1.108, 1.109 by glebius
  - Rev. 1.124 by pdeuskar
o Vendor merges:
  - Merged with vendor driver version 5.1.5 by Jack Vogel.
    Rev. 1.115 by glebius
  - Merged with vendor driver version 6.0.5 by Jack Vogel.
    Rev. 1.123 by glebius
o Various fixes:
  - Invalid use of BUS_DMA_ALLOCNOW
    Rev. 1.104 by scott, 1.121 by yongari
  - Link state handling cleanup.
    Rev. 1.110 by glebius
  - Fix if_baudrate handling.
    Rev. 1.111 by glebius
  - Honor IFF_DRV_OACTIVE in em_start_locked().
    Rev. 1.117 by yongari
  - Protect EEPROM access with the driver lock.
    Rev. 1.118 by yongari
  - Fix link flap on SIOCGIFADDR.
    Rev. 1.119 by yongari
  - Fix DMA map handling in em_encap().
    Rev. 1.120,1.122 by yongari
2006-08-08 09:19:24 +00:00
yongari
bbdcb0eb38 MFC: Add a man page for stge(4) 2006-08-08 09:14:16 +00:00
yongari
09e712d997 Hook up stge(4) to the build. 2006-08-08 09:09:18 +00:00
yongari
cdf46633be Connect gentbi, ip1000phy to the build. 2006-08-08 08:54:00 +00:00
yongari
a0c375bddf MFC stge(4) to RELENG_6
Add stge(4), a driver for Sundance/Tamarack TC9021 Gigabit Ethernet
  controller ported from NetBSD.
2006-08-08 08:43:11 +00:00
mr
6995cee81e MFC:
Dont overwrite cpu_model in the case of Via's C3-CPU.
2006-08-08 08:41:34 +00:00
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