Commit Graph

151169 Commits

Author SHA1 Message Date
Hajimu UMEMOTO
4deeadcb9b MFC r206155, r206267: Add capability to use a db version of
services.  It is enabled by specifying `db' as source of
services in /etc/nsswitch.conf.
2010-04-18 04:07:32 +00:00
Hajimu UMEMOTO
b7a43116e9 MFC ir206152, r206153, r206154:
- Stop adding trailing '\n'.  The servent_unpack() doesn't expect
  lines terminated with '\n'.
- Treat '+' as special only when in compat mode, and simplify
  the logic bit.
- Reduce duplicate code.
2010-04-18 03:52:41 +00:00
Warner Losh
11b893bdc5 Remap COMPAT_IA32 to COMPAT_FREEBSD32 to ease the transition of this
option and not break 8.0 config files later in the 8.x branch.

# Yes, this is a direct commit, since this is not relevant to head.
2010-04-18 01:15:47 +00:00
Warner Losh
7a1b7e33b4 MFC r206664:
Allow option aliasing.  Lines of the form:

  OLD_OPT = NEW_OPT

  in options* files will now map OLD_OPT to NEW_OPT with a friendly
  message.  This is indented for situations where we need to preserve an
  interface in the config file in an upwards compatible fashion on a
  stable branch.

  Reviewed by:	nwhitehorn@
  MFC after:	3 days
2010-04-18 00:57:30 +00:00
Weongyo Jeong
88a85a4c47 MFC r205140:
fixes a broken software beacon miss handler.  There is a race to check
  vap->iv_bmiss_count == 0 in ieee80211_swbmiss because iv_swbmiss_task
  is enqueued by taskqueue.

  Reviewed by:  rpaulo
2010-04-17 23:48:07 +00:00
Weongyo Jeong
6fa37bd64a MFC r202610:
adds a hardware specific configuration file for uath(4).

  Pointed by:   sam
  Reviewed by:  imp, thompsa
2010-04-17 23:14:06 +00:00
Weongyo Jeong
52c92a07d0 MFC r202607:
Fixes a firmware bug that in some devices (e.g. Netgear WG111T or
  TRENDnet TEW-504UB/EU) idProduct didn't be decreased after loading the
  firmware.

  Pointed by:	Steven Friedrich <freebsd at insightbb.com>
  Submitted by:	sam
2010-04-17 23:04:42 +00:00
Weongyo Jeong
15932fc82d MFC r198195:
adds devices supportted by urtw(4) and bumps date.
2010-04-17 22:57:07 +00:00
Weongyo Jeong
9fd42adec7 MFC r197724:
TRENDnet TEW-424UB has multiple revisions so clarify zyd(4) man page and
  adds a device to urtw(4).  The revision informations are as follows:

      rev A       ZD1211
      V2          SiS163U
      V2.1R       SiS163U
      V3.xR       RTL8187B

  and bump date.

  Obtained from:	OpenBSD
  Reported by:		Albert Shih <Albert.Shih at obspm.fr>
2010-04-17 22:52:33 +00:00
Rui Paulo
55f05ae7e5 MFC r206456:
Honor the CE bit even when the CWR bit is set.

 PR:		145600
 Submitted by:	Richard Scheffenegger <rs at netapp.com>
2010-04-17 17:40:12 +00:00
Andriy Gapon
7ca64047c2 MFC r206130: g_vfs_open: allow only one mount per device vnode 2010-04-17 11:57:41 +00:00
Andriy Gapon
0866329b6e MFC r206129: vn_stat: use va_blocksize when setting st_blksize 2010-04-17 11:25:30 +00:00
Andriy Gapon
e747dbab75 MFC r205860,206097: correctly set b_offset for getblk(devvp) 2010-04-17 11:06:42 +00:00
Konstantin Belousov
b8fde9ef74 MFC r206623:
ld_gs_base is executing with stack containing only the frame,
temporary pushed %rflags has been popped already.
2010-04-17 09:37:08 +00:00
Hajimu UMEMOTO
ee3474bf76 MFC r206557: Nuke the descriptions about ipv6_firewall_* as they
were unified into firewall_*.
2010-04-17 04:54:38 +00:00
Randall Stewart
0099361644 MFC of 206281
Final MFC of all the IETF hack a-thon.. head and stable are
now in sync ;-)
2010-04-17 04:19:18 +00:00
Randall Stewart
56be5eba8b MFC of 206151 2010-04-17 04:17:17 +00:00
Randall Stewart
17f2eabb2b MFC of 206137
This is Part III of the great IETF hack-a-thon to fix
the NR-Sack code. (the last one on the cpu options
was a lull.. i.e MFC 205629).. still 2 more to go.
2010-04-17 04:15:46 +00:00
Randall Stewart
07072810f0 MFC of 205629
Adds the option of seperating out the sctp stats per
processor. This will be refined further and is definetly
exploratory (which is why its an option) i.e. making it
allocate the actual number of processors is coming ;-D.
2010-04-17 04:13:52 +00:00
Randall Stewart
469ff22797 MFC of 205628
Out goes the nr_mapping_array expand.
2010-04-17 04:11:45 +00:00
Randall Stewart
f1fb6dd5de MFC of 205627
Part II (more to follow) of the great IETF hack-a-thon to
fix the NR-Sack code.
2010-04-17 04:10:29 +00:00
Randall Stewart
dc47896e05 MFC of 204141
Cleans up so we can have a vtag reflected argument.
One of Michaels fixes ;-)
2010-04-17 04:08:51 +00:00
Randall Stewart
ce6856644b MFC of 204096
One of Michaels changes to fix some sign issues and
some minor locking.
2010-04-17 04:06:40 +00:00
Randall Stewart
6c16609631 MFD 204040
Fixes some argument calsl (u_long vs uint32_t).
2010-04-17 04:02:27 +00:00
Randall Stewart
ec15b65695 MFC of 203847
Puts in missing packed declarations (from Michael). It worked
only because it was properly aligned anyway ;-)
2010-04-17 04:00:57 +00:00
Randall Stewart
2b7bba217f MFC of 203503
A fix to how the checksum code works that Michael put in.
2010-04-17 03:58:56 +00:00
Randall Stewart
3c9d6800fc MFC of 202782
Michaels changes that took out [0] -> for []
2010-04-17 03:57:16 +00:00
Randall Stewart
535f992c6d MFC of 202526
The first round of some of Michael's changes to
get the sack processing in better shape.
2010-04-17 03:55:49 +00:00
Randall Stewart
835d439e3a MFC of 205502
The firste of Michael and my long fight at the IETF to
get the NR sack code fixed and aligned.
2010-04-17 03:53:44 +00:00
Randall Stewart
9eb2a664ab MFC of 202523
This fixes a closing race condition that is unlikely
to ever happen.. but good to fix ;-)
2010-04-17 03:51:13 +00:00
Randall Stewart
57f0b741c6 MFC 202521
More stray ifdef's that had worked their way into the
code base somehow (yes thats ifdef Windows going out.. our
stack runs on windows .. big thanks for that goes to
Kozuka-san and Bruce Cran ;-D)
2010-04-17 03:49:21 +00:00
Randall Stewart
d50db6bd56 MFC of 202520
This aligns us to the socket api of the stream
reset with proper naming.. and a define for backward
compatibility.
2010-04-17 03:47:04 +00:00
Randall Stewart
394ddd21a6 MFC of 202518
More ifdefs that should not be present...
2010-04-17 03:44:28 +00:00
Randall Stewart
0146f692b5 MFC of 202517
Again gets rid of some rather strange ifdef's for
APPLE/USERSPACE that drifted in through our scrubber
programs.
2010-04-17 03:43:02 +00:00
Randall Stewart
aab42fa148 MFC 202516
This gets rid of some stray #ifdef APPLE that drifted in
some how.
2010-04-17 03:40:48 +00:00
Randall Stewart
42fc501864 Merge of SVN 196507.
This optimizes the sack handling a bit and
restructures it so its much more readable ;-)
2010-04-17 03:38:26 +00:00
Jack F Vogel
ace006dec7 MFC bug fixes to em and igb from HEAD. 2010-04-16 17:27:20 +00:00
Fabien Thomas
cc32d5b339 MFC r206089, r206684:
- Support for uncore counting events: one fixed PMC with the uncore
   domain clock, 8 programmable PMC.
- Westmere based CPU (Xeon 5600, Corei7 980X) support.
- New man pages with events list for core and uncore.
- Updated Corei7 events with Intel 253669-033US December 2009 doc.
  There is some removed events in the documentation, they have been
  kept in the code but documented in the man page as obsolete.
- Offcore response events can be setup with rsp token.

Sponsored by: NETASQ
2010-04-16 15:45:09 +00:00
Fabien Thomas
c8d050b52a MFC r206089, r206684:
- Support for uncore counting events: one fixed PMC with the uncore
   domain clock, 8 programmable PMC.
- Westmere based CPU (Xeon 5600, Corei7 980X) support.
- New man pages with events list for core and uncore.
- Updated Corei7 events with Intel 253669-033US December 2009 doc.
  There is some removed events in the documentation, they have been
  kept in the code but documented in the man page as obsolete.
- Offcore response events can be setup with rsp token.

Sponsored by: NETASQ
2010-04-16 15:43:24 +00:00
Rui Paulo
3dd8c32d14 MFC r206420:
Setup the correct RX/TX chainmask when we play with the antenna
 settings.

Sponsored by:	iXsystems, inc
2010-04-16 09:08:19 +00:00
Konstantin Belousov
bbf7989245 MFC r206546:
Remove XXX comment. Add another comment, describing why f_vnode assignment
is useful.
2010-04-16 08:32:08 +00:00
Rick Macklem
4e76f29635 MFC: r206063
For the experimental NFS server, add a call to free the lookup
path buffer for one case where it was missing when doing mkdir.
This could have conceivably resulted in a leak of a buffer, but
a leak was never observed during testing, so I suspect it would
have occurred rarely, if ever, in practice.
2010-04-16 02:16:58 +00:00
Kevin Lo
e83c1c9d1e MFC r206595
Eliminate duplicate comment
2010-04-16 01:54:47 +00:00
Kevin Lo
499a07ef68 MFC r206544
The Quanta Q101 modem has a different type of cdrom driver disk,
add the product id and use a standard scsi eject.

Reviewed by:	thompsa
2010-04-16 01:53:19 +00:00
Rick Macklem
2d2fef10c5 MFC: r206061
Add SAVENAME to the cn_flags for all cases in the experimental
NFS server for the CREATE cn_nameiop where SAVESTART isn't set.
I was not aware that this needed to be done by the caller until
recently.
2010-04-16 01:39:30 +00:00
Pyun YongHyeon
fa7ad760a6 MFC r206268
- Fixed 5708S 2.5G support broken in last commit.
  - Added some new debug helper routines to systcl.
  - Fixed many of the style(9) violations that have crept into the code
    due to my use of a "smart" editor.
2010-04-15 19:29:56 +00:00
Pyun YongHyeon
9c89e97770 MFC r205300:
- Added support for 5709S/5716S PHYs.
  - Update copyright to 2010.
  - Add new debug code for RV2P block.
  - Improve output formatting for various debug functions.

  PR:	kern/134658, kern/136417, kern/139761, kern/140970
2010-04-15 19:26:28 +00:00
Pyun YongHyeon
679953c6bd MFC r205299:
- Added support for 5709S/5716S PHYs.

  Submitted by: pyunyh
  PR:	kern/134658, kern/136417, kern/139761, kern/140970
2010-04-15 19:19:59 +00:00
Alexander Motin
d9b0781af8 MFC r206021, r206032, r206049, r206050:
Remove some more alignment constraints.
2010-04-15 12:46:16 +00:00
Alexander Motin
a35d181273 MFC r206017:
Make ng_ksocket fulfill lower protocol stack layers alignment requirements
on platforms with strict alignment constraints.
This fixes kernel panics on arm and probably other architectures.

PR:             sparc64/80410, sparc/118932, sparc/113556
2010-04-15 12:41:36 +00:00