]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
15 years agoChange the in6p variable names to inp to be able to diff
Bjoern A. Zeeb [Sat, 27 Dec 2008 19:37:46 +0000 (19:37 +0000)]
Change the in6p variable names to inp to be able to diff
the v4 to the v6 implementations.

MFC after: 4 weeks

15 years agoIn additions to the configs from r185478, which also enabled the
Bjoern A. Zeeb [Sat, 27 Dec 2008 19:03:57 +0000 (19:03 +0000)]
In additions to the configs from r185478, which also enabled the
use of modules for arm, disable them by adding MODULES_OVERRIDE=""
here as well.

Reviewed by: sam
MFC after: 3 weeks

15 years agoarm is in DEFAULTS; remove dup
Sam Leffler [Sat, 27 Dec 2008 19:02:01 +0000 (19:02 +0000)]
arm is in DEFAULTS; remove dup

Submitted by: bz

15 years agoRemoved duplicate
Bjoern A. Zeeb [Sat, 27 Dec 2008 17:22:17 +0000 (17:22 +0000)]
Removed duplicate
  makeoptions    MODULES_OVERRIDE=""

15 years agoHide detect_virtual() along with the accompanying string
Bjoern A. Zeeb [Sat, 27 Dec 2008 17:19:16 +0000 (17:19 +0000)]
Hide detect_virtual() along with the accompanying string
arrays under #ifndef XEN to make XEN config compile again.
In case of Xen vm_guest is hard coded.

Move the list for the vm_guest sysctl out of the restictive
bounds as the sysctl is there in either case.

15 years agoMinor style(9) compliance change.
Alexander Kabaev [Sat, 27 Dec 2008 16:03:34 +0000 (16:03 +0000)]
Minor style(9) compliance change.

15 years agoAdd support for the Oxford OX16PCI958-based card.
Roman Kurakin [Sat, 27 Dec 2008 15:22:22 +0000 (15:22 +0000)]
Add support for the Oxford OX16PCI958-based card.

Note, that the patch provided with this card for the Linux states that
the card uses DEFAULT_RCLK * 2, while in fact it is '* 10'.  So probably
we should also use the subdevice/subvendord here. For now just ignore
that fact.

PR: kern/129665
Submitted by: bsam
Obtained from: united efforst with bsam

15 years agoPermit digits at the beginning and end of kernel config file names for
Bjoern A. Zeeb [Sat, 27 Dec 2008 15:07:51 +0000 (15:07 +0000)]
Permit digits at the beginning and end of kernel config file names for
`make universe'. This catches a few more arm and, once enabled, mips
configs and permits having local configs named like NOINET6.

Reviewed by: phk
MFC after: 4 weeks

15 years agoFix memory leaks introduced in last commit.
Florent Thoumie [Sat, 27 Dec 2008 14:34:33 +0000 (14:34 +0000)]
Fix memory leaks introduced in last commit.
Bump version to 20081227.

Reported by: gcooper
Submitted by: Andrea Barberio <insomniac@slackware.it>
MFC after: 1 month

15 years ago- Fix an issue with access permissions to underlying disks used by a gvinum
Ulf Lilleengen [Sat, 27 Dec 2008 14:32:39 +0000 (14:32 +0000)]
- Fix an issue with access permissions to underlying disks used by a gvinum
  plex. If the plex is a raid5 plex, and is being written to, parity data might
  have to be read from the underlying disks, requiring them to be opened for
  reading as well as writing.

MFC after: 1 week

15 years ago- Back out r186038. Rather than changing the intent of the caller, the problem
Ulf Lilleengen [Sat, 27 Dec 2008 14:24:24 +0000 (14:24 +0000)]
- Back out r186038. Rather than changing the intent of the caller, the problem
  should be handled internally in gvinum.

Suggested by: pjd

15 years agoIncluding mount.h requires including param.h.
Robert Watson [Sat, 27 Dec 2008 14:17:15 +0000 (14:17 +0000)]
Including mount.h requires including param.h.

MFC after: 3 weeks

15 years agounbreak the build. Decoupled the USB2's NDIS build from the default
Weongyo Jeong [Sat, 27 Dec 2008 12:23:22 +0000 (12:23 +0000)]
unbreak the build.  Decoupled the USB2's NDIS build from the default
build.

Pointy hat to:  me

15 years agoRemove an unused variable to make the SENTRY5 mips kernel compile
Bjoern A. Zeeb [Sat, 27 Dec 2008 11:38:41 +0000 (11:38 +0000)]
Remove an unused variable to make the SENTRY5 mips kernel compile
(though with some asm warning).

15 years agoInclude param.h instead of types.h when using user.h. Otherwise there is
Robert Watson [Sat, 27 Dec 2008 11:12:23 +0000 (11:12 +0000)]
Include param.h instead of types.h when using user.h.  Otherwise there is
a dependence on ucred.h including audit.h including param.h, which we
would like to eliminate.

MFC after: 3 weeks

15 years agoAdd some found NVidia MCP7x HDA controller IDs.
Alexander Motin [Sat, 27 Dec 2008 11:00:20 +0000 (11:00 +0000)]
Add some found NVidia MCP7x HDA controller IDs.

15 years agoPrevent overflow of uio_resid.
Peter Holm [Sat, 27 Dec 2008 10:13:43 +0000 (10:13 +0000)]
Prevent overflow of uio_resid.

Approved by: kib

15 years agofix a bug to handling the argument that it passed `device_t' but it's
Weongyo Jeong [Sat, 27 Dec 2008 09:42:17 +0000 (09:42 +0000)]
fix a bug to handling the argument that it passed `device_t' but it's
handled as `struct ndis_softc'.  It'll cause a panic when the driver is
detached.

15 years agoMake ipsec_getpolicybysock() static and no longer export it. It has not
Bjoern A. Zeeb [Sat, 27 Dec 2008 09:36:22 +0000 (09:36 +0000)]
Make ipsec_getpolicybysock() static and no longer export it. It has not
been used outside this file since about the FAST_IPSEC -> IPSEC change.

MFC after: 4 weeks

15 years agoIntegrate the NDIS USB support code to CURRENT.
Weongyo Jeong [Sat, 27 Dec 2008 08:03:32 +0000 (08:03 +0000)]
Integrate the NDIS USB support code to CURRENT.

Now the NDISulator supports NDIS USB drivers that it've tested with
devices as follows:

  - Anygate XM-142 (Conexant)
  - Netgear WG111v2 (Realtek)
  - U-Khan UW-2054u (Marvell)
  - Shuttle XPC Accessory PN20 (Realtek)
  - ipTIME G054U2 (Ralink)
  - UNiCORN WL-54G (ZyDAS)
  - ZyXEL G-200v2 (ZyDAS)

All of them succeeded to attach and worked though there are still some
problems that it's expected to be solved.

To use NDIS USB support, you should rebuild and install ndiscvt(8) and
if you encounter a problem to attach please set `hw.ndisusb.halt' to
0 then retry.

I expect no changes of the NDIS code for PCI, PCMCIA devices.

Obtained from:  //depot/projects/ndisusb/...

15 years agoFix up after last commit:
Tom Rhodes [Sat, 27 Dec 2008 00:17:41 +0000 (00:17 +0000)]
Fix up after last commit:

Bump doc date;
Kill hard sentence breaks;
Fix commas by moving them off their own line.

15 years agostyle(9)
David E. O'Brien [Fri, 26 Dec 2008 22:55:38 +0000 (22:55 +0000)]
style(9)

15 years agoMake the sub-'argc' static to make it harder to overwrite thru a buffer
David E. O'Brien [Fri, 26 Dec 2008 22:54:53 +0000 (22:54 +0000)]
Make the sub-'argc' static to make it harder to overwrite thru a buffer
overflow.

15 years agoAdd some special handling for AD1986A codec:
Alexander Motin [Fri, 26 Dec 2008 22:47:11 +0000 (22:47 +0000)]
Add some special handling for AD1986A codec:

Disable some unneeded pathes in overcomplicated input mixer to help parser
to handle the rest better. This gives mic input boost control in some
configurations and just more predictable operation in others.

15 years agoClarify the behaviour of conditionals when dealing with comparisons.
Luigi Rizzo [Fri, 26 Dec 2008 22:31:45 +0000 (22:31 +0000)]
Clarify the behaviour of conditionals when dealing with comparisons.
In particular, point out that string comparison can only use != and ==
(how weird, given that the underlying call to strcmp returns more
information), that floating point values are correctly interpreted
as numbers, and that the left-hand side must be a variable expansion.

MFC after: 3 weeks

15 years agoWhen the geometry does not match the label, print out the values.
David E. O'Brien [Fri, 26 Dec 2008 20:27:32 +0000 (20:27 +0000)]
When the geometry does not match the label, print out the values.

15 years agoThis checkin addresses a couple of issues:
Qing Li [Fri, 26 Dec 2008 19:45:24 +0000 (19:45 +0000)]
This checkin addresses a couple of issues:
1. The "route" command allows route insertion through the interface-direct
   option "-iface". During if_attach(), an sockaddr_dl{} entry is created
   for the interface and is part of the interface address list. This
   sockaddr_dl{} entry describes the interface in detail. The "route"
   command selects this entry as the "gateway" object when the "-iface"
   option is present. The "arp" and "ndp" commands also interact with the
   kernel through the routing socket when adding and removing static L2
   entries. The static L2 information is also provided through the
   "gateway" object with an AF_LINK family type, similar to what is
   provided by the "route" command. In order to differentiate between
   these two types of operations, a RTF_LLDATA flag is introduced. This
   flag is set by the "arp" and "ndp" commands when issuing the add and
   delete commands. This flag is also set in each L2 entry returned by the
   kernel. The "arp" and "ndp" command follows a convention where a RTM_GET
   is issued first followed by a RTM_ADD/DELETE. This RTM_GET request fills
   in the fields for a "rtm" object, which is reinjected into the kernel by
   a subsequent RTM_ADD/DELETE command. The entry returend from RTM_GET
   is a prefix route, so the RTF_LLDATA flag must be specified when issuing
   the RTM_ADD/DELETE messages.

2. Enforce the convention that NET_RT_FLAGS with a 0 w_arg is the
   specification for retrieving L2 information. Also optimized the
   code logic.

Reviewed by:   julian

15 years agoRight align the CPU column header.
Rui Paulo [Fri, 26 Dec 2008 11:11:30 +0000 (11:11 +0000)]
Right align the CPU column header.

15 years agoo Fix grammar.
Maxim Konovalov [Fri, 26 Dec 2008 07:16:20 +0000 (07:16 +0000)]
o Fix grammar.

PR: bin/129938
Submitted by: Bruce Cran

15 years agoThe "tun?" dev need not be opened at all. One is allowed to perform
Qing Li [Thu, 25 Dec 2008 22:32:32 +0000 (22:32 +0000)]
The "tun?" dev need not be opened at all. One is allowed to perform
the following operations, e.g.:
1) ifconfig tun0 create
2) ifconfig tun0 10.1.1.1 10.1.1.2
3) route add -net 192.103.54.0/24 -iface tun0
4) ifconfig tun0 destroy
If cv wait on the TUN_CLOSED flag, then the last operation (4) will
block forever.

Revert the previous changes and fix the mtx_unlock() leak.

15 years agoFollow symlinks when deleting directories.
Florent Thoumie [Thu, 25 Dec 2008 16:59:35 +0000 (16:59 +0000)]
Follow symlinks when deleting directories.
Bump PKG_INSTALL_VER to 20081225 (Merry Christmas \o/).

PR: bin/54446
Submitted by: Andrea Barberio <insomniac@slackware.it>
MFC after: 1 month

15 years agoAdd package directory for 7.1-RELEASE in head as well as stable/7.
Florent Thoumie [Thu, 25 Dec 2008 15:44:10 +0000 (15:44 +0000)]
Add package directory for 7.1-RELEASE in head as well as stable/7.

15 years agoFollowing the recent security advisory, add a comment describing our
Robert Watson [Thu, 25 Dec 2008 11:32:38 +0000 (11:32 +0000)]
Following the recent security advisory, add a comment describing our
invariants and approach for protocol switch methods in protsw_init(),
and also some KASSERT's for non-domain init entries in protocol
switch tables: pru_abort and pru_send must both be implemented.

For now, leave those assertions #if 0'd, since there are a few
protocols that violate them in non-harmful ways.  Whether or not we
should enforce pru_abort being implemented for non-stream protocols
is an interesting question: currently abort is only invoked on stream
sockets in situations where un-accepted sockets must be abruptly
closed (i.e., close() on a listen socket with pending connections),
but in principle it is useful for datagram sockets and most datagram
socket types implement it.

MFC after: 3 weeks

15 years agoUpdate for the last API changes.
Alexander Motin [Thu, 25 Dec 2008 10:18:35 +0000 (10:18 +0000)]
Update for the last API changes.

15 years agong_tty(4) module updated to match the new TTY subsystem.
Alexander Motin [Thu, 25 Dec 2008 10:05:00 +0000 (10:05 +0000)]
ng_tty(4) module updated to match the new TTY subsystem.

15 years agoRejoin ng_tty module to the build.
Alexander Motin [Thu, 25 Dec 2008 09:32:20 +0000 (09:32 +0000)]
Rejoin ng_tty module to the build.

15 years agoDocument that kldunloadf can return EINVAL.
Tom Rhodes [Thu, 25 Dec 2008 09:15:31 +0000 (09:15 +0000)]
Document that kldunloadf can return EINVAL.

PR: 125639

15 years agoshave about 7% off the overhead of ng_ether by using per-hook
Julian Elischer [Thu, 25 Dec 2008 09:02:55 +0000 (09:02 +0000)]
shave about 7% off the overhead of ng_ether by using per-hook
receive data methods.

15 years agoRemove reference to unimplemented "-c" option.
Tom Rhodes [Thu, 25 Dec 2008 08:48:08 +0000 (08:48 +0000)]
Remove reference to unimplemented "-c" option.

PR: 119338

15 years agoHook up the ether_echo node and fix the man page
Julian Elischer [Thu, 25 Dec 2008 07:34:14 +0000 (07:34 +0000)]
Hook up the ether_echo node and fix the man page

15 years agoPrint a warning when blackhole and reject are used together.
Tom Rhodes [Thu, 25 Dec 2008 06:44:19 +0000 (06:44 +0000)]
Print a warning when blackhole and reject are used together.
Update arp.8 manual page syntax.

PR: 125896
Submitted by: Marc Olzheim <marcolz@stack.nl>
Approved by: sam

15 years agofix a silly bug that I missed a for-loop to initialize AL2230S PHY.
Weongyo Jeong [Thu, 25 Dec 2008 04:29:40 +0000 (04:29 +0000)]
fix a silly bug that I missed a for-loop to initialize AL2230S PHY.

Reported by:    Hans Petter Selasky <hselasky_at_c2i.net>

15 years ago- Close a race during which the open flag could be cleared but the tun_softc would...
Kip Macy [Thu, 25 Dec 2008 02:14:25 +0000 (02:14 +0000)]
- Close a race during which the open flag could be cleared but the tun_softc would still be referenced
  by adding a separate TUN_CLOSED flag that is set after tunclose is done referencing it.

- drop the tun_mtx after the flag check to avoid holding it across if_detach which can recurse in to
  if_tun.c

15 years agoAdd a trivial node to reflect ethernet frames to whence they came.
Julian Elischer [Thu, 25 Dec 2008 00:01:29 +0000 (00:01 +0000)]
Add a trivial node to reflect ethernet frames to whence they came.

MFC after: 1 month

15 years agoIn ugidfw(8), print the rule number and rule contents (as parsed and then
Robert Watson [Wed, 24 Dec 2008 22:40:13 +0000 (22:40 +0000)]
In ugidfw(8), print the rule number and rule contents (as parsed and then
regenerated in libugidfw) rather than simply printing that the rule was
added with only the number.  This makes ugidfw(8) behave a bit more like
ipfw(8), and also means that the administrator sees how the rule was
interpreted once uids/gids/etc were processed.

Obtained from: TrustedBSD Project

15 years agoAdd macro RB_FOREACH_SAFE(), which accepts an additional argument
Bruce M Simpson [Wed, 24 Dec 2008 19:57:22 +0000 (19:57 +0000)]
Add macro RB_FOREACH_SAFE(), which accepts an additional argument
specifying a temporary tree node pointer. It may be used in a
similar way to the *_SAFE() macros in <sys/queue.h>.

15 years agoApply various fixes:
Tom Rhodes [Wed, 24 Dec 2008 11:12:21 +0000 (11:12 +0000)]
Apply various fixes:

Silence mdoc(7) warnings;
Xref correct manual pages;
Point user to the ddb.8 manual page.

PR: 129398
Submitted by: gavin

15 years agoUpdate the description of -k, output files appear to
Tom Rhodes [Wed, 24 Dec 2008 10:08:39 +0000 (10:08 +0000)]
Update the description of -k, output files appear to
be left regardless of an error, signal, or complete
run.

PR: 69861
Submitted by: vlad902@gmail.com

15 years agoFix a typo higter->higher.
Tom Rhodes [Wed, 24 Dec 2008 09:17:30 +0000 (09:17 +0000)]
Fix a typo higter->higher.

Spotted by: ganbold

15 years agomust pack structures for architectures like arm
Sam Leffler [Wed, 24 Dec 2008 06:59:07 +0000 (06:59 +0000)]
must pack structures for architectures like arm

Reviewed by: thompsa

15 years agoFix missed unlock and reference drop of lle
Kip Macy [Wed, 24 Dec 2008 05:31:26 +0000 (05:31 +0000)]
Fix missed unlock and reference drop of lle

Found by: pho

15 years agoGarbage collect 'fflags'.
David E. O'Brien [Wed, 24 Dec 2008 03:07:19 +0000 (03:07 +0000)]
Garbage collect 'fflags'.

15 years agoavoid lock recursion by deferring the link check until after LLE lock is dropped
Kip Macy [Wed, 24 Dec 2008 01:08:18 +0000 (01:08 +0000)]
avoid lock recursion by deferring the link check until after LLE lock is dropped

15 years agoChange message severity level from WARN to INFO. This should reduce
Maksim Yevmenkin [Wed, 24 Dec 2008 00:00:52 +0000 (00:00 +0000)]
Change message severity level from WARN to INFO. This should reduce
amount of messages sent to syslog

MFC after: 1 week

15 years agoOnly set registers if irqs are enabled
Robert Noland [Tue, 23 Dec 2008 22:53:57 +0000 (22:53 +0000)]
Only set registers if irqs are enabled

Approved by: kib
Obtained from: drm git

15 years agoUpdate bmake glue for changes in 9.4.3
Doug Barton [Tue, 23 Dec 2008 22:51:10 +0000 (22:51 +0000)]
Update bmake glue for changes in 9.4.3

15 years agoUpdates for version 9.4.3
Doug Barton [Tue, 23 Dec 2008 22:50:39 +0000 (22:50 +0000)]
Updates for version 9.4.3

15 years agoMerge from vendor/bind9/dist as of the 9.4.3 import
Doug Barton [Tue, 23 Dec 2008 22:47:56 +0000 (22:47 +0000)]
Merge from vendor/bind9/dist as of the 9.4.3 import

15 years agoAdd support for the FPA floating-point format on ARM. The
Marcel Moolenaar [Tue, 23 Dec 2008 22:20:59 +0000 (22:20 +0000)]
Add support for the FPA floating-point format on ARM. The
FPA floating-point format is identical to the VFP format,
but is always stored in big-endian.
Introduce _IEEE_WORD_ORDER to describe the byte-order of
the FP representation.

Obtained from: Juniper Networks, Inc

15 years agoDo not KASSERT when vp->v_dd is NULL. Only directories which have had ".."
Joe Marcus Clarke [Tue, 23 Dec 2008 20:43:42 +0000 (20:43 +0000)]
Do not KASSERT when vp->v_dd is NULL.  Only directories which have had ".."
looked up would have v_dd set to a non-NULL value.  This fixes a panic
seen when running installworld on a diskless system with a separate /usr
file system.

Submitted by: cracauer
Approved by: kib

15 years agoAdd a new program, ether_reflect, which is useful in testing ethernet
George V. Neville-Neil [Tue, 23 Dec 2008 20:25:04 +0000 (20:25 +0000)]
Add a new program, ether_reflect, which is useful in testing ethernet
devices and switches.

15 years agoFix a bug in the man page where we were not showing the correct flags
George V. Neville-Neil [Tue, 23 Dec 2008 20:07:51 +0000 (20:07 +0000)]
Fix a bug in the man page where we were not showing the correct flags
in the explanation. Several of the flags were -i, since it was a copy/paste
operation.

15 years agoKeep the hold on the vnode during VOP_VPTOCNP() call, allowing the vop
Konstantin Belousov [Tue, 23 Dec 2008 20:04:31 +0000 (20:04 +0000)]
Keep the hold on the vnode during VOP_VPTOCNP() call, allowing the vop
implementation to drop vnode lock, if needed.

Reported and tested by: pho

15 years agoRemove CALLOUT_RETURNUNLOCKED from the callouts, there is no reason for them to
Andrew Thompson [Tue, 23 Dec 2008 19:59:21 +0000 (19:59 +0000)]
Remove CALLOUT_RETURNUNLOCKED from the callouts, there is no reason for them to
drop the lock for us.

15 years agoAdd the mctest program and description to the README.
George V. Neville-Neil [Tue, 23 Dec 2008 19:46:12 +0000 (19:46 +0000)]
Add the mctest program and description to the README.

15 years agoThe lib/bind directory has its own configure script. Update accordingly.
Doug Barton [Tue, 23 Dec 2008 19:19:45 +0000 (19:19 +0000)]
The lib/bind directory has its own configure script.  Update accordingly.

15 years agoVendor import of BIND 9.4.3
Doug Barton [Tue, 23 Dec 2008 19:18:41 +0000 (19:18 +0000)]
Vendor import of BIND 9.4.3

15 years agoUpdate copyrights and comments as of 9.4.3 (no functional changes)
Doug Barton [Tue, 23 Dec 2008 19:15:04 +0000 (19:15 +0000)]
Update copyrights and comments as of 9.4.3 (no functional changes)

15 years agoVendor import of BIND 9.4.3
Doug Barton [Tue, 23 Dec 2008 18:35:21 +0000 (18:35 +0000)]
Vendor import of BIND 9.4.3

15 years agoMinor tweak to reflect my actual process.
Doug Barton [Tue, 23 Dec 2008 18:31:38 +0000 (18:31 +0000)]
Minor tweak to reflect my actual process.

15 years agoThis directory was added to src/contrib/bind9 prior to the svn move so
Doug Barton [Tue, 23 Dec 2008 18:30:32 +0000 (18:30 +0000)]
This directory was added to src/contrib/bind9 prior to the svn move so
that BIND 9.4.1 could compile and run on the ARM platform, but is not
part of the vendor source.  It will remain in src/contrib/bind9 since
it is a local modification.

15 years agoNetgroup database can be centralized via NIS, list it.
Tom Rhodes [Tue, 23 Dec 2008 18:00:33 +0000 (18:00 +0000)]
Netgroup database can be centralized via NIS, list it.
Add a missing comma and bump doc date.

PR: 127602
Submitted by: Dmitry Sivachenko <mitya@yandex-team.ru>

15 years agoMake signal handler safer.
David E. O'Brien [Tue, 23 Dec 2008 17:57:17 +0000 (17:57 +0000)]
Make signal handler safer.

Submitted by: Jaakko Heinonen <jh@saunalahti.fi>

15 years agomove IXP4XX EHCI bus shim to the usb directory and rename
Sam Leffler [Tue, 23 Dec 2008 17:40:02 +0000 (17:40 +0000)]
move IXP4XX EHCI bus shim to the usb directory and rename

15 years agoAdd "crit" to the list of keywords.
Tom Rhodes [Tue, 23 Dec 2008 17:39:24 +0000 (17:39 +0000)]
Add "crit" to the list of keywords.

PR: 126934

15 years agoName the bus mutex by the controller name, this allows each bus to be
Andrew Thompson [Tue, 23 Dec 2008 17:36:25 +0000 (17:36 +0000)]
Name the bus mutex by the controller name, this allows each bus to be
distinguished in lock profiling, etc.

15 years agopr_pfh has been gone from protosw since r120386 (more than 5 years ago).
Bjoern A. Zeeb [Tue, 23 Dec 2008 16:54:00 +0000 (16:54 +0000)]
pr_pfh has been gone from protosw since r120386 (more than 5 years ago).

MFC after: 4 weeks

15 years agoRemove long unused netinet/ipprotosw.h (basically since r82884).
Bjoern A. Zeeb [Tue, 23 Dec 2008 16:52:03 +0000 (16:52 +0000)]
Remove long unused netinet/ipprotosw.h (basically since r82884).

Discussed with: rwatson
MFC after: 4 weeks

15 years agoCheck for ipprotosw.h more precisely.
Bjoern A. Zeeb [Tue, 23 Dec 2008 16:49:07 +0000 (16:49 +0000)]
Check for ipprotosw.h more precisely.
It hasn't been needed for more than 5 years, since r120386.

MFC after: 4 weeks

15 years agoAdd missing newlines to flags tags of CPU topology, for prettier
Ivan Voras [Tue, 23 Dec 2008 16:19:59 +0000 (16:19 +0000)]
Add missing newlines to flags tags of CPU topology, for prettier
output.

Reviewed by: jeff (original version)
Approved by: gnn (mentor) (original version)

15 years agoFix up handling of Intel G4X chips some more.
Robert Noland [Tue, 23 Dec 2008 16:16:30 +0000 (16:16 +0000)]
Fix up handling of Intel G4X chips some more.

Note that you need at least xf86-video-intel 2.4.3 for this to work.
The G4X doesn't put the GATT into the same area of stolen memory
as all the other chips and older versions of the driver didn't
handle that properly.

Tested by: ganbold
Approved by: kib
MFC after: 2 weeks

15 years agoClear busy state on the pages which are after the one that failed the bind
Konstantin Belousov [Tue, 23 Dec 2008 16:04:33 +0000 (16:04 +0000)]
Clear busy state on the pages which are after the one that failed the bind
attempt.

Reported and tested by: ganbold
Reviewed by: rnoland
MFC after: 2 weeks

15 years agoMove another block of ASUS events to devd/asus.conf that were missed in r186249
Andrew Thompson [Tue, 23 Dec 2008 15:47:31 +0000 (15:47 +0000)]
Move another block of ASUS events to devd/asus.conf that were missed in r186249

15 years agoNote that when shutdown is run without options, it will place
Tom Rhodes [Tue, 23 Dec 2008 15:00:03 +0000 (15:00 +0000)]
Note that when shutdown is run without options, it will place
the system into single user mode at the time specified.

PR: 129765

15 years agoOrganize Conexant codecs.
Alexander Motin [Tue, 23 Dec 2008 14:58:08 +0000 (14:58 +0000)]
Organize Conexant codecs.
Add CX20561 (Hermosa) codec ID.

15 years agoDocument the "-o large" option.
Tom Rhodes [Tue, 23 Dec 2008 13:35:26 +0000 (13:35 +0000)]
Document the "-o large" option.

PR: 129792

15 years agoAdd support for the HP 4470C scanner.
Remko Lodder [Tue, 23 Dec 2008 13:09:17 +0000 (13:09 +0000)]
Add support for the HP 4470C scanner.

Note that there is no working backend (or at least
that is mentioned in the PR ticket) but the device
is now supported on our end.

PR: 117205
Submitted by: Artem Naluzhnyy <tut at nhamon dot com dot ua>
MFC after: 1 week

15 years agoAdd support for the MaxSream USB test carrier.
Remko Lodder [Tue, 23 Dec 2008 12:44:18 +0000 (12:44 +0000)]
Add support for the MaxSream USB test carrier.

PR: 117546
Submitted by: Daniel J. O'Connor <darius at midget dot dons dot net
dot au>
MFC after: 1 week

15 years agoAdd support for 2 EVDO devices.
Remko Lodder [Tue, 23 Dec 2008 12:15:21 +0000 (12:15 +0000)]
Add support for 2 EVDO devices.

PR: 119150
Submitted by: lioux
MFC after: 1 week

15 years agoClose the read side of the pipe to self when exiting.
Joseph Koshy [Tue, 23 Dec 2008 12:08:06 +0000 (12:08 +0000)]
Close the read side of the pipe to self when exiting.

15 years agoAdd quirk for the Storcase InfoStation 12bay
Remko Lodder [Tue, 23 Dec 2008 09:11:05 +0000 (09:11 +0000)]
Add quirk for the Storcase InfoStation 12bay
SATA to FC SAN.

PR: 129858
Submitted by: Nick Triantos <nick-freebsd at triantos dot com>
MFC after: 1 week

15 years agoIf conversion from UTF8 fails, don't mark Unicode text as available.
Tim Kientzle [Tue, 23 Dec 2008 05:01:43 +0000 (05:01 +0000)]
If conversion from UTF8 fails, don't mark Unicode text as available.

Submitted by: Michihiro NAKAJIMA
MFC after: 30 days

15 years agoNPE cleanups needed for ancillary drivers (e.g. crypto acceleration):
Sam Leffler [Tue, 23 Dec 2008 04:51:46 +0000 (04:51 +0000)]
NPE cleanups needed for ancillary drivers (e.g. crypto acceleration):
o check feature bits when probing NPE ethernet support
o move firmware loading logic from if_npe to core npe support
o allow multiple refs to core NPE driver
o while here fix hw.npe.debug tunable path

15 years agokill NPE_PORTS_MAX, it's not used and likely will not be
Sam Leffler [Tue, 23 Dec 2008 04:49:01 +0000 (04:49 +0000)]
kill NPE_PORTS_MAX, it's not used and likely will not be

15 years agoFill in feature control support:
Sam Leffler [Tue, 23 Dec 2008 04:48:27 +0000 (04:48 +0000)]
Fill in feature control support:
o add definitions for more bits, for masking out IXP465-specific bits,
  and %b format string
o add ixp4xx_read_feature_bits to retrieve the mask of valid features
  (aka fuse bits)
o add cpu_is_ixp42x() macro
o print feature bits at boot

15 years agoadd IXP465 and generic IXP425 definition
Sam Leffler [Tue, 23 Dec 2008 04:46:13 +0000 (04:46 +0000)]
add IXP465 and generic IXP425 definition

15 years agoo enable TT and big-endian MMIO
Sam Leffler [Tue, 23 Dec 2008 04:44:23 +0000 (04:44 +0000)]
o enable TT and big-endian MMIO
o force a reset before ehci_init to get byte-select setup

LS, FS, and HS devices now work on the Cambria board

15 years agoo add Transaction Translator support (still missing ISOC xfers)
Sam Leffler [Tue, 23 Dec 2008 04:42:10 +0000 (04:42 +0000)]
o add Transaction Translator support (still missing ISOC xfers)
o add EHCI_SCFLG_BIGEMMIO flag to force big-endian byte-select to be
  set in USBMODE
o split reset work into new public routine ehci_reset so bus shim drivers
  can force big-endian byte-select before ehci_init

15 years agoDon't create a bogus ARP entry for 0.0.0.0.
Qing Li [Tue, 23 Dec 2008 03:33:32 +0000 (03:33 +0000)]
Don't create a bogus ARP entry for 0.0.0.0.

15 years agoPrevent cross-site forgery attacks on ftpd(8) due to splitting
Colin Percival [Tue, 23 Dec 2008 01:23:09 +0000 (01:23 +0000)]
Prevent cross-site forgery attacks on ftpd(8) due to splitting
long commands into multiple requests. [08:12]

Avoid calling uninitialized function pointers in protocol switch
code. [08:13]

Merry Christmas everybody...

Approved by: so (cperciva)
Approved by: re (kensmith)
Security: FreeBSD-SA-08:12.ftpd, FreeBSD-SA-08:13.protosw