cvs commit: src/sys/sys queue.h

2005-11-18 Thread Ed Maste
emaste  2005-11-18 19:41:55 UTC

  FreeBSD src repository

  Modified files:
sys/sys  queue.h 
  Log:
  Add sanity checking for QUEUE(3) lists under INVARIANTS.  Races may lead
  to list corruption, which can be difficult to unravel in a post-mortem
  analysis.  These checks verify that prev and next pointers are consistent
  when inserting or removing elements, thus catching any corruption earlier.
  
  Also use TRASHIT to break LIST and SLIST link pointers on element removal,
  from mlaier via -hackers.
  
  Reviewed by:mlaier
  Approved by:rwatson (mentor)
  
  Revision  ChangesPath
  1.62  +35 -2 src/sys/sys/queue.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/sys queue.h

2005-11-22 Thread Ed Maste
emaste  2005-11-23 04:02:27 UTC

  FreeBSD src repository

  Modified files:
sys/sys  queue.h 
  Log:
  Userland applications may include queue.h and define INVARIANTS
  but not provide a panic(9) implementation.  Thus, enable the sanity
  checks under INVARIANTS only if _KERNEL is also defined.
  
  Submitted by:   jmallett
  Approved by:rwatson (mentor)
  
  Revision  ChangesPath
  1.63  +2 -2  src/sys/sys/queue.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern uipc_mbuf.c

2005-12-14 Thread Ed Maste
emaste  2005-12-14 23:34:26 UTC

  FreeBSD src repository

  Modified files:
sys/kern uipc_mbuf.c 
  Log:
  When using m_dup(9) to copy more than MHLEN bytes of data, don't create an
  mbuf chain that starts with a cluster containing just MHLEN bytes.  This
  happened because m_dup called m_get or m_getcl depending on the amount of
  data to copy, but then always set the size available in the first mbuf to
  MHLEN.
  
  Submitted by:   Matt Koivisto 
  Approved by:jmg
  Silence from:   rwatson (mentor)
  
  Revision  ChangesPath
  1.160 +2 -1  src/sys/kern/uipc_mbuf.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/netinet if_ether.c

2005-12-16 Thread Ed Maste
emaste  2005-12-16 15:01:45 UTC

  FreeBSD src repository

  Modified files:
sys/netinet  if_ether.c 
  Log:
  Add descriptions for sysctl -d.
  
  Approved by:glebius
  Silence from:   rwatson (mentor)
  
  Revision  ChangesPath
  1.146 +5 -5  src/sys/netinet/if_ether.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern uipc_mbuf.c

2005-12-21 Thread Ed Maste
emaste  2005-12-22 04:23:11 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/kern uipc_mbuf.c 
  Log:
  MFC r1.160:
When using m_dup(9) to copy more than MHLEN bytes of data, don't
create an mbuf chain that starts with a cluster containing just MHLEN
bytes.  This happened because m_dup called m_get or m_getcl depending
on the amount of data to copy, but then always set the size available
in the first mbuf to MHLEN.
  
  Approved by:jmg
  Silence from:   rwatson (mentor)
  
  Revision   ChangesPath
  1.148.2.2  +2 -1  src/sys/kern/uipc_mbuf.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern uipc_mbuf.c

2005-12-21 Thread Ed Maste
emaste  2005-12-22 04:29:03 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/kern uipc_mbuf.c 
  Log:
  MFC r1.160:
When using m_dup(9) to copy more than MHLEN bytes of data, don't
create an mbuf chain that starts with a cluster containing just MHLEN
bytes.  This happened because m_dup called m_get or m_getcl depending
on the amount of data to copy, but then always set the size available
in the first mbuf to MHLEN.
  
  Approved by:jmg
  Silence from:   rwatson (mentor)
  
  Revision   ChangesPath
  1.135.2.7  +2 -1  src/sys/kern/uipc_mbuf.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/net if.c

2005-12-21 Thread Ed Maste
emaste  2005-12-22 05:05:00 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/net  if.c 
  Log:
  MFC r1.235, r1.237, r1.238:
  
(1.235)
- Introduce a helper function if_setflag() containing the code common
  to ifpromisc() and if_allmulti() instead of duplicating the code poorly,
  with different bugs.
- Call ifp->if_ioctl() in a consistent way: always use more compatible C
  syntax and check whether ifp->if_ioctl is not NULL prior to the call.
  
(1.237)
Rename equal() macro to sa_equal(), which matches the definitions
of sa_equal() in other files, and makes it more clear what equal()
is comparing.
  
(1.238)
In multicast routines:
  
Compare pointers with NULL rather than treating them as booleans.
  
Compare pointers with NULL rather than 0 to make it more clear
they are pointers.
  
Assign pointers value of NULL rather than 0 to make it more clear
they are pointers.
  
  Approved by:scottl
  Silence from:   rwatson (mentor)
  
  RevisionChangesPath
  1.199.2.19  +127 -100  src/sys/net/if.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/net if_arcsubr.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c

2005-12-22 Thread Ed Maste
emaste  2005-12-22 16:23:27 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/net  if_arcsubr.c if_ethersubr.c if_fddisubr.c 
 if_iso88025subr.c 
  Log:
  Merge if_arcsubr.c:1.26, if_ethersubr.c:1.195, if_fddisubr.c:1.99,
  if_iso88025subr.c:1.68 from HEAD to RELENG_5:
  
When allocating link layer ifnet address list entries in
ifp->if_resolvemulti(), do so with M_NOWAIT rather than M_WAITOK, so
that a mutex can be held over the call.  In the FDDI code, add a
missing M_ZERO.  Consumers are already aware that if_resolvemulti()
can fail.
  
  Approved by:scottl
  Silcence from:  rwatson (mentor)
  
  Revision   ChangesPath
  1.22.2.2   +6 -2  src/sys/net/if_arcsubr.c
  1.177.2.9  +6 -2  src/sys/net/if_ethersubr.c
  1.95.2.2   +6 -2  src/sys/net/if_fddisubr.c
  1.65.2.3   +6 -2  src/sys/net/if_iso88025subr.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/netinet in.c

2005-12-22 Thread Ed Maste
emaste  2005-12-22 16:31:07 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/netinet  in.c 
  Log:
  MFC r1.84:
ifma_protospec is a pointer. Use NULL when assigning or comparing it.
  
  Approved by:scottl
  Silence from:   rwatson (mentor)
  
  Revision  ChangesPath
  1.77.2.6  +2 -2  src/sys/netinet/in.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern kern_clock.c

2006-01-03 Thread Ed Maste
emaste  2006-01-03 16:34:55 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/kern kern_clock.c 
  Log:
  MFC kern_clock.c:1.181
In watchdog_config enable the software watchdog iff the WD_ACTIVE flag
is set.  When watchdogd(1) is terminated intentionally it clears the
bit, which should then disable it in the kernel.
  
  PR: kern/74386
  Submitted by:   Alex Hoff 
  Approved by:rwatson (mentor)
  
  Revision   ChangesPath
  1.172.2.4  +1 -2  src/sys/kern/kern_clock.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern kern_clock.c

2006-01-03 Thread Ed Maste
emaste  2006-01-03 16:43:34 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/kern kern_clock.c 
  Log:
  MFC kern_clock.c:1.181
In watchdog_config enable the software watchdog iff the WD_ACTIVE flag
is set.  When watchdogd(1) is terminated intentionally it clears the
bit, which should then disable it in the kernel.
  
  PR: kern/74386
  Submitted by:   Alex Hoff 
  Approved by:rwatson (mentor)
  
  Revision   ChangesPath
  1.178.2.2  +1 -2  src/sys/kern/kern_clock.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/net if.c if_var.h

2006-01-03 Thread Ed Maste
emaste  2006-01-03 22:42:58 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/net  if.c if_var.h 
  Log:
  Merge link layer mutlicast address list locking from HEAD to RELENG_5,
  with a few changes to preserve ABI compatibility.
  
  if_var.h:1.100:
Add if_addr_mtx, a mutex to protect ifnet-related address lists.  Add
accessor macros.
  
Unlike FreeBSD 6 and HEAD, share a global mutex (instead of putting it
in struct ifnet) to maintain ABI backwards compatibility.
  
  if_var.h:1.101:
- Rename ifmaof_ifpforaddr() to if_findmulti(); assert if_addr_mtx.
  Staticize.
  
  if.c:1.239:
Protect link layer network interface multicast address list manipulation
using (global) if_addr_mtx:
  
- Initialize if_addr_mtx in if_init().
  
- Rename ifmaof_ifpforaddr() to if_findmulti(); assert if_addr_mtx.
  Staticize.
  
- Extract ifmultiaddr allocation and initialization into if_allocmulti();
  accept a 'mflags' argument to indicate whether or not sleeping is
  permitted.  This centralizes error handling and address duplication.
  
- Extract ifmultiaddr tear-down and deallocation in if_freemulti().
  
- Re-structure if_addmulti() to hold if_addr_mtx around manipulation of
  the ifnet multicast address list and reference count manipulation.
  Make use of non-sleeping allocations.  Annotate the fact that we only
  generate routing socket events for explicit address addition, not
  implicit link layer address addition.
  
- Re-structure if_delmulti() to hold if_addr_mtx around manipulation of
  the ifnet multicast address list and reference count manipulation.
  Annotate the lack of a routing socket event for implicit link layer
  address removal.
  
- De-spl all and sundry.
  
  Approved by:rwatson (mentor)
  
  RevisionChangesPath
  1.199.2.20  +208 -119  src/sys/net/if.c
  1.84.2.8+17 -1 src/sys/net/if_var.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/net rtsock.c

2006-01-11 Thread Ed Maste
emaste  2006-01-11 18:12:35 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/net  rtsock.c 
  Log:
  MFC rtsock.c:1.129:
Protect interface and address lists using the appropriate mutex. These
locks were not aquired because the user buffers were not wired, thus it
was possible that that SYSCTL_OUT could sleep, causing a number of
different problems such as lock ordering issues and dead locks.
  
-Wire user supplied buffer to ensure SYSCTL_OUT will not sleep.
-Pickup ifnet locks to protect the list.
-Where applicable pickup address locks.
-Pickup radix node head locks.
-Remove splnet stubs
-Remove various comments about locking here, because they are no
 longer needed.
  
It is the hope that these changes will make sysctl_rtsock MP safe.
  
  Approved by:rwatson (mentor)
  
  Revision   ChangesPath
  1.113.2.7  +16 -11src/sys/net/rtsock.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/net rtsock.c

2006-01-11 Thread Ed Maste
emaste  2006-01-11 21:45:31 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/net  rtsock.c 
  Log:
  Merge rtsock.c:1.127 from HEAD to RELENG_5:
  
De-spl parts of the routing socket code now generally protected
through locking; leave some spl references around code where there
are open questions about global variable references.
  
  The comment about IF_ADDR_LOCK() and SYSCTL_OUT() in 1.127 does not
  apply, as that issue was fixed by the MFC of 1.129.
  
  Approved by:rwatson (mentor)
  
  Revision   ChangesPath
  1.113.2.8  +16 -40src/sys/net/rtsock.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/vm device_pager.c

2006-01-12 Thread Ed Maste
emaste  2006-01-12 19:56:58 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_4)
sys/vm   device_pager.c 
  Log:
  Merge device_pager.c:1.69 from HEAD to RELENG_4:
The addition of a locking assertion to vm_page_zero_invalid() has
revealed a long-time bug: vm_pager_get_pages() assumes that m[reqpage]
contains a valid page upon return from pgo_getpages().  In the case of
the device pager this page has been freed and replaced by a fake page.
The fake page is properly inserted into the vm object but m[reqpage] is
left pointing to a freed page.  For now, update m[reqpage] to point to
the fake page.
  
Submitted by:   tegge
  
  Approved by:alc, rwatson (mentor)
  
  Revision  ChangesPath
  1.46.2.3  +1 -0  src/sys/vm/device_pager.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/netinet ip_fw2.c

2006-01-14 Thread Ed Maste
emaste  2006-01-14 15:18:02 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/netinet  ip_fw2.c 
  Log:
  MFC r1.121: Don't send an ICMP response for IP fragments.
  
  Approved by:rwatson (mentor)
  
  Revision   ChangesPath
  1.70.2.15  +1 -1  src/sys/netinet/ip_fw2.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern subr_witness.c src/sys/netinet igmp.c in.c in_var.h ip_input.c ip_output.c src/sys/netinet6 in6_var.h mld6.c

2006-01-18 Thread Ed Maste
emaste  2006-01-18 23:36:49 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/kern subr_witness.c 
sys/netinet  igmp.c in.c in_var.h ip_input.c 
 ip_output.c 
sys/netinet6 in6_var.h mld6.c 
  Log:
  Merge IP multicast address list locking from HEAD to RELENG_5, with a
  few changes to preserve ABI compatibility.
  
  subr_witness.c:1.196:
Add in_multi_mtx, igmp_mtx, and if_addr_mtx lock order to hard-coded
lock order in WITNESS, in that order.
  
  in_var.h:1.54 in6_var.h:1.23 mld6.c:1.22:
Modify network protocol consumers of the ifnet multicast address lists
to lock if_addr_mtx.
  
  igmp.c:1.49 in.c:1.86: in_var.h:1.55 ip_input.c:1.303 ip_output.c:1.243:
Introduce in_multi_mtx, which will protect IPv4-layer multicast address
lists, as well as accessor macros.  For now, this is a recursive mutex
due code sequences where IPv4 multicast calls into IGMP calls into
ip_output(), which then tests for a multicast forwarding case.
  
For support macros in in_var.h to check multicast address lists, assert
that in_multi_mtx is held.
  
Acquire in_multi_mtx around iteration over the IPv4 multicast address
lists, such as in ip_input() and ip_output().
  
Acquire in_multi_mtx when manipulating the IPv4 layer multicast
addresses, as well as over the manipulation of ifnet multicast address
lists in order to keep the two layers in sync.
  
Lock down accesses to IPv4 multicast addresses in IGMP, or assert the
lock when performing IGMP join/leave events.
  
Eliminate spl's associated with IPv4 multicast addresses, portions of
IGMP that weren't previously expunged by IGMP locking.
  
  in.c:1.89 in.c:1.90:
Acquire Giant conditionally in in_addmulti() and in_delmulti() based on
whether the interface being accessed is IFF_NEEDSGIANT or not.  This
avoids lock order reversals when calling into the interface ioctl
handler, which could potentially lead to deadlock.
  
The long term solution is to eliminate non-MPSAFE network drivers.
  
Discussed with: jhb
  
Unlock Giant symmetrically with respect to lock acquire order as that's
generally nicer.
  
Spotted by: johan
  
  ip_output.c:1.244:
Add helper function ip_findmoptions(), which accepts an inpcb, and attempts
to atomically return either an existing set of IP multicast options for the
PCB, or a newlly allocated set with default values.  The inpcb is returned
locked.  This function may sleep.
  
Call ip_moptions() to acquire a reference to a PCB's socket options, and
perform the update of the options while holding the PCB lock.  Release the
lock before returning.
  
Remove garbage collection of multicast options when values return to the
default, as this complicates locking substantially.  Most applications
allocate a socket either to be multicast, or not, and don't tend to keep
around sockets that have previously been used for multicast, then used for
unicast.
  
This closes a number of race conditions involving multiple threads or
processes modifying the IP multicast state of a socket simultaenously.
  
  Approved by:rwatson (mentor)
  
  RevisionChangesPath
  1.178.2.9   +7 -0  src/sys/kern/subr_witness.c
  1.46.2.2+12 -8 src/sys/netinet/igmp.c
  1.77.2.7+27 -10src/sys/netinet/in.c
  1.51.2.2+16 -0 src/sys/netinet/in_var.h
  1.283.2.15  +2 -0  src/sys/netinet/ip_input.c
  1.225.2.13  +61 -33src/sys/netinet/ip_output.c
  1.19.2.3+2 -0  src/sys/netinet6/in6_var.h
  1.17.2.3+2 -0  src/sys/netinet6/mld6.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/boot/common loader.8 src/sys/boot/forth loader.conf loader.conf.5 src/sys/boot/i386/libi386 comconsole.c

2006-01-25 Thread Ed Maste
emaste  2006-01-25 19:01:26 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/boot/common  loader.8 
sys/boot/forth   loader.conf loader.conf.5 
sys/boot/i386/libi386 comconsole.c 
  Log:
  MFC loader.8:1.83 loader.conf:1.99 loader.conf.5:1.24 comconsole.c:1.11
  from HEAD to RELENG_5:
  
Add a "comconsole_speed" loader variable that can be used to change
the serial console speed (i386 and amd64 only). If the previous
stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE)
then the default speed is determined from the current serial port
speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED
at compile time.
  
  Approved by:rwatson (mentor)
  
  Revision  ChangesPath
  1.64.2.6  +14 -1 src/sys/boot/common/loader.8
  1.85.2.6  +2 -1  src/sys/boot/forth/loader.conf
  1.21.2.2  +13 -1 src/sys/boot/forth/loader.conf.5
  1.10.4.1  +108 -9src/sys/boot/i386/libi386/comconsole.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/boot/common loader.8 src/sys/boot/forth loader.conf loader.conf.5 src/sys/boot/i386/libi386 comconsole.c

2006-01-26 Thread Ed Maste
emaste  2006-01-27 01:36:24 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/boot/common  loader.8 
sys/boot/forth   loader.conf loader.conf.5 
sys/boot/i386/libi386 comconsole.c 
  Log:
  MFC loader.8:1.83 loader.conf:1.99 loader.conf.5:1.24 comconsole.c:1.11
  from HEAD to RELENG_6:
  
Add a "comconsole_speed" loader variable that can be used to change
the serial console speed (i386 and amd64 only). If the previous
stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE)
then the default speed is determined from the current serial port
speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED
at compile time.
  
  Approved by:rwatson (mentor)
  
  Revision   ChangesPath
  1.82.2.1   +14 -1 src/sys/boot/common/loader.8
  1.95.2.5   +1 -0  src/sys/boot/forth/loader.conf
  1.23.2.2   +12 -0 src/sys/boot/forth/loader.conf.5
  1.10.10.1  +108 -9src/sys/boot/i386/libi386/comconsole.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/awi awi.c src/sys/dev/bfe if_bfe.c src/sys/dev/bge if_bge.c src/sys/dev/ed if_ed.c src/sys/dev/em if_em.c src/sys/dev/ex if_ex.c src/sys/dev/fe if_fe.c

2006-01-29 Thread Ed Maste
emaste  2006-01-29 15:39:09 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/dev/ath  if_ath.c 
sys/dev/awi  awi.c 
sys/dev/bfe  if_bfe.c 
sys/dev/bge  if_bge.c 
sys/dev/ed   if_ed.c 
sys/dev/em   if_em.c 
sys/dev/ex   if_ex.c 
sys/dev/fe   if_fe.c 
sys/dev/fxp  if_fxp.c 
sys/dev/gem  if_gem.c 
sys/dev/hme  if_hme.c 
sys/dev/ie   if_ie.c 
sys/dev/ixgb if_ixgb.c 
sys/dev/lge  if_lge.c 
sys/dev/lnc  if_lnc.c 
sys/dev/my   if_my.c 
sys/dev/nge  if_nge.c 
sys/dev/owi  if_owi.c 
sys/dev/pdq  pdq_ifsubr.c 
sys/dev/ray  if_ray.c 
sys/dev/re   if_re.c 
sys/dev/sn   if_sn.c 
sys/dev/snc  dp83932.c 
sys/dev/tx   if_tx.c 
sys/dev/txp  if_txp.c 
sys/dev/usb  if_aue.c if_axe.c if_cue.c if_kue.c 
 if_rue.c if_udav.c 
sys/dev/vge  if_vge.c 
sys/dev/wi   if_wi.c 
sys/dev/wl   if_wl.c 
sys/dev/xe   if_xe.c 
sys/pci  if_dc.c if_de.c if_pcn.c if_rl.c if_sf.c 
 if_sis.c if_sk.c if_ste.c if_ti.c if_tl.c 
 if_vr.c if_wb.c if_xl.c 
  Log:
  Merge IP multicast address list locking from HEAD to RELENG_5.
  if_ath.c:1.99 awi.c:1.39 if_bfe.c:1.26 if_bge.c:1.92 if_ed.c:1.255
  if_em.c:1.67 if_ex.c:1.57 if_fe.c:1.92 if_fxp.c:1.242 if_gem.c:1.32
  if_hme.c:1.38 if_ie.c:1.103 if_ndis.c:1.100 if_ixgb.c:1.12 if_lge.c:1.40
  if_lnc.c:1.112 if_my.c:1.30 if_nge.c:1.76 if_nve.c:1.9 if_owi.c:1.11
  pdq_ifsubr.c:1.27 if_ray.c:1.80 if_re.c:1.47 if_sn.c:1.47 dp83932.c:1.20
  if_tx.c:1.90 if_txp.c:1.32 if_aue.c:1.91 if_axe.c:1.31 if_cue.c:1.58
  if_kue.c:1.65 if_rue.c:1.22 if_udav.c:1.15 if_vge.c:1.15 if_wi.c:1.182
  if_wl.c:1.67 if_xe.c:1.58 if_dc.c:1.161 if_de.c:1.167 if_pcn.c:1.70
  if_rl.c:1.153 if_sf.c:1.83 if_sis.c:1.134 if_sk.c:1.107 if_ste.c:1.85
  if_ti.c:1.108 if_tl.c:1.100 if_vr.c:1.105 if_wb.c:1.80 if_xl.c:1.193:
  
Modify device drivers supporting multicast addresses to lock if_addr_mtx
over iteration of their multicast address lists when synchronizing the
hardware address filter with the network stack-maintained list.
  
  Note that with these changes, these drivers now depend on locking the global
  if_addr_mtx, so binary modules of these drivers will not work on 5.4 or
  earlier releases.
  
  Approved by:rwatson (mentor)
  
  RevisionChangesPath
  1.57.2.2+2 -0  src/sys/dev/ath/if_ath.c
  1.34.2.1+5 -1  src/sys/dev/awi/awi.c
  1.15.2.6+2 -0  src/sys/dev/bfe/if_bfe.c
  1.72.2.16   +2 -0  src/sys/dev/bge/if_bge.c
  1.233.2.6   +2 -0  src/sys/dev/ed/if_ed.c
  1.44.2.12   +3 -0  src/sys/dev/em/if_em.c
  1.53.2.3+5 -1  src/sys/dev/ex/if_ex.c
  1.86.2.3+2 -0  src/sys/dev/fe/if_fe.c
  1.217.2.17  +2 -0  src/sys/dev/fxp/if_fxp.c
  1.27.2.1+2 -0  src/sys/dev/gem/if_gem.c
  1.31.2.5+2 -0  src/sys/dev/hme/if_hme.c
  1.100.2.1   +2 -0  src/sys/dev/ie/if_ie.c
  1.3.2.4 +2 -0  src/sys/dev/ixgb/if_ixgb.c
  1.34.2.3+2 -0  src/sys/dev/lge/if_lge.c
  1.110.2.1   +2 -0  src/sys/dev/lnc/if_lnc.c
  1.26.2.1+3 -1  src/sys/dev/my/if_my.c
  1.65.2.5+2 -0  src/sys/dev/nge/if_nge.c
  1.7.2.2 +2 -0  src/sys/dev/owi/if_owi.c
  1.23.4.1+2 -0  src/sys/dev/pdq/pdq_ifsubr.c
  1.72.2.2+4 -0  src/sys/dev/ray/if_ray.c
  1.28.2.13   +2 -0  src/sys/dev/re/if_re.c
  1.41.2.2+5 -1  src/sys/dev/sn/if_sn.c
  1.15.2.3+2 -0  src/sys/dev/snc/dp83932.c
  1.86.2.2+2 -0  src/sys/dev/tx/if_tx.c
  1.27.2.3+2 -0  src/sys/dev/txp/if_txp.c
  1.86.2.2+2 -0  src/sys/dev/usb/if_aue.c
  1.22.2.5+2 -0  src/sys/dev/usb/if_axe.c
  1.52.2.3+2 -0  src/sys/dev/usb/if_cue.c
  1.58.2.3+2 -0  src/sys/dev/usb/if_kue.c
  1.16.2.3+2 -0  src/sys/dev/usb/if_rue.c
  1.8.2.4 +2 -0  src/sys/dev/usb/if_udav.c
  1.3.2.4 +2 -0  src/sys/dev/vge/if_vge.c
  1.168.2.2   +2 -0  src/sys/dev/wi/if_wi.c
  1.63.2.2+2 -0  src/sys/dev/wl/if_wl.c
  1.52.2.2+2 -0  src/sys/dev/xe/if_xe.c
  1.148.2.8   +8 -0  src/sys/pci/if_dc.c
  1.158.2.4   +2 -1  src/sys/pci/if_de.c
  1.59.2.4+2 -0  src/sys/pci/if_pcn.c
  1.145.2.4   +2 -0  src/sys/pci/if_rl.c
  1.72.2.7+2 -0  src/sys/pci/if_sf.c
  1.103.2.4   +4 -0  src/sys/pci/if_sis.c
  1.83.2.11   +2 -0  src/sys/pci/if_sk.c
  1.76.2.4+2 -0  src/sys/pci/if_ste.c
  1.96.2.4+2 -0  src/sys/pci/if_ti.c
  1.93.2.4+2 -0  src/sys/pci/if_tl.c
  1.94.2.4+2 -0  src/sys/pci/if_vr.c
  1.73.2.4+2 -0  src/sys/pci/if_wb.c
  1.179.2.8   +4 -0  src/sys/pci/if_xl.c
___

Re: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/awi awi.c src/sys/dev/bfe if_bfe.c src/sys/dev/bge if_bge.c src/sys/dev/ed if_ed.c src/sys/dev/em if_em.c src/sys/dev/ex if_ex.c src/sys/dev/fe if_

2006-01-29 Thread Ed Maste
On Sun, Jan 29, 2006 at 12:28:05PM -0800, Julian Elischer wrote:

> Ed Maste wrote:
> 
> >emaste  2006-01-29 15:39:09 UTC
> > Note that with these changes, these drivers now depend on locking the 
> > global
> > if_addr_mtx, so binary modules of these drivers will not work on 5.4 or
> > earlier releases.
> > 
> >
> 
> Is the converse true?
> 
> i.e. can older binaries (e.g. from 5.4) work on 5.5?
> 
> this is a "must"

Robert's answer pretty much covers everything, and I also posted that same
info (that older binaries will continue to work) to -STABLE.  Also, I did
the MFC in three parts, making sure everything continued to work as I went.
That is, until this commit, the drivers did not lock the new mutex, and
thus functioned exactly as old binary modules would on 5.5.

The only thing I suppose I should add is that anyone contemplating releasing
binary-only driver modules for FreeBSD 5.x will need to avoid locking this
mutex in order to make the module work on all 5.x releases.

-ed
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/net if_vlan.c

2006-02-09 Thread Ed Maste
emaste  2006-02-09 22:11:58 UTC

  FreeBSD src repository

  Modified files:
sys/net  if_vlan.c 
  Log:
  Add a MODULE_VERSION so that other modules (perhaps third-party) can
  depend on this one.
  
  Approved by:rwatson (mentor)
  
  Revision  ChangesPath
  1.97  +1 -0  src/sys/net/if_vlan.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/net if_vlan.c

2006-02-10 Thread Ed Maste
emaste  2006-02-10 18:38:33 UTC

  FreeBSD src repository

  Modified files:
sys/net  if_vlan.c 
  Log:
  Bump the MODULE_VERSION for HEAD, as the vlan(4) API is different in
  RELENG_6, and would require a lower version number.
  
  Requested by:   glebius
  Approved by:rwatson (mentor)
  
  Revision  ChangesPath
  1.99  +1 -1  src/sys/net/if_vlan.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvs commit: src/sys/dev/em if_em.c

2006-02-15 Thread Ed Maste
On Wed, Feb 15, 2006 at 05:15:09PM +0200, Ruslan Ermilov wrote:

> On Wed, Feb 15, 2006 at 01:45:02PM +, Gleb Smirnoff wrote:
> > glebius 2006-02-15 13:45:02 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> > sys/dev/em   if_em.c 
> >   Log:
> >   em_hardware_init() in em_init() is not needed, and leads to annoying
> >   link flap.
> >   
> >   Submitted by:   ru, Mike Tancsa
> >   
> >   Revision  ChangesPath
> >   1.112 +0 -7  src/sys/dev/em/if_em.c
> > 
> Hmm, I have abandoned this change locally, as it was causing me
> some problems I cannot fully recall now.  Perhaps it was *NOT*
> reprogramming the receive filter on a MAC change, I don't
> remember.

I discovered that on 5.4 also (the rx filter not being written
on a MAC addr change).  When I looked into it a while back it
appeared that the behaviour would be no different on HEAD.

-ed
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: ports/astro/xearth/files freebsd.committers.markers

2006-02-17 Thread Ed Maste
emaste  2006-02-17 21:36:35 UTC

  FreeBSD ports repository (src committer)

  Modified files:
astro/xearth/files   freebsd.committers.markers 
  Log:
  Add my location.
  
  Revision  ChangesPath
  1.284 +1 -0  ports/astro/xearth/files/freebsd.committers.markers
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/netinet ip_fw2.c

2006-02-23 Thread Ed Maste
emaste  2006-02-23 23:06:24 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/netinet  ip_fw2.c 
  Log:
  MFC 1.110: clear lock on error in O_LIMIT case of install_state
  
  Approved by:re (mux)
  
  Revision   ChangesPath
  1.70.2.17  +1 -0  src/sys/netinet/ip_fw2.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sbin/reboot boot_i386.8 src/sys/boot/i386/boot2 boot2.c lib.h sio.S

2006-02-26 Thread Ed Maste
emaste  2006-02-26 17:34:47 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sbin/reboot  boot_i386.8 
sys/boot/i386/boot2  boot2.c lib.h sio.S 
  Log:
  MFC boot2.c r1.74 lib.h r1.3 sio.S r1.10 boot_i386.8 r1.54 r1.55 r1.58
  to RELENG_5:
  
Add the ability to specify the boot2 serial console speed in
/boot.config or on the "boot:" prompt line via a "-S" flag,
e.g. "-h -S19200". This adds about 50 bytes to the size of boot2
and required a few other small changes to limit the size impact.
  
  Approved by:re (scottl)
  
  Revision  ChangesPath
  1.46.2.4  +15 -4 src/sbin/reboot/boot_i386.8
  1.70.2.4  +27 -14src/sys/boot/i386/boot2/boot2.c
  1.2.26.1  +1 -1  src/sys/boot/i386/boot2/lib.h
  1.9.2.1   +4 -3  src/sys/boot/i386/boot2/sio.S
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern kern_kse.c sys_process.c

2006-02-28 Thread Ed Maste
emaste  2006-02-28 14:58:36 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/kern kern_kse.c sys_process.c 
  Log:
  MFC kern_kse.c 1.215 sys_process.c 1.132 to RELENG_5:
  
Fix a LOR between sched_lock and sleep queue lock.
  
  kern_kse.c 1.216:
  
Add missing brackets.
  
  LOR ID: 060
  Approved by:re (scottl)
  
  RevisionChangesPath
  1.193.2.14  +4 -5  src/sys/kern/kern_kse.c
  1.127.2.4   +4 -2  src/sys/kern/sys_process.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern kern_sig.c sys_process.c

2006-02-28 Thread Ed Maste
emaste  2006-02-28 15:02:51 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/kern kern_sig.c sys_process.c 
  Log:
  MFC kern_sig.c 1.319 sys_process.c 1.134 to RELENG_5:
  
Avoid kernel panic when attaching a process which may not be stopped
by debugger, e.g process is dumping core. Only access p_xthread if
P_STOPPED_TRACE is set, this means thread is ready to exchange signal
with debugger, print a warning if P_STOPPED_TRACE is not set due to
some bugs in other code, if there is.
  
The patch has been tested by Anish Mistry mistry.7 at osu dot edu, and
is slightly adjusted.
  
  Approved by:re (scottl)
  
  Revision   ChangesPath
  1.289.2.9  +0 -2  src/sys/kern/kern_sig.c
  1.127.2.5  +30 -26src/sys/kern/sys_process.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src UPDATING

2006-02-28 Thread Ed Maste
emaste  2006-02-28 19:12:38 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
.UPDATING 
  Log:
  Belatedly add a note about the i386 loader defaulting to the serial
  rate set by the previous boot stage, if the console is already set
  to the comconsole.
  
  Approved by:re (scottl)
  
  RevisionChangesPath
  1.416.2.19  +10 -0 src/UPDATING
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src UPDATING

2006-02-28 Thread Ed Maste
emaste  2006-02-28 19:15:36 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
.UPDATING 
  Log:
  Belatedly add a note about the i386 loader defaulting to the serial
  rate set by the previous boot stage, if the console is already set
  to the comconsole.
  
  Approved by:re (scottl)
  
  RevisionChangesPath
  1.342.2.35  +10 -0 src/UPDATING
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern link_elf.c

2006-03-11 Thread Ed Maste
emaste  2006-03-11 14:19:22 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/kern link_elf.c 
  Log:
  MFC link_elf.c:1.86 to RELENG_5:
  
Check to see if the hash table is present in link_elf_lookup_symbol()
before dereferencing it.  Certain corrupt kernel modules might not have
a valid hash table, and would cause a kernel panic when they were loaded.
Instead of panic'ing, the kernel now prints out a warning that it is
missing the symbol hash table.
  
  Approved by:re (mux)
  
  Revision  ChangesPath
  1.81.2.1  +6 -0  src/sys/kern/link_elf.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man3 queue.3

2006-03-25 Thread Ed Maste
emaste  2006-03-25 23:11:10 UTC

  FreeBSD src repository

  Modified files:
share/man/man3   queue.3 
  Log:
  The removal of CIRCLEQ left four queue macros.  One sentence was missed
  in the man page update.
  
  PR: docs/94938
  Submitted by:   Ed Schouten <[EMAIL PROTECTED]>
  MFC After:  3 days
  
  Revision  ChangesPath
  1.39  +1 -1  src/share/man/man3/queue.3
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man3 queue.3

2006-05-01 Thread Ed Maste
emaste  2006-05-02 03:59:35 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
share/man/man3   queue.3 
  Log:
  MFC queue.3 1.39 to RELENG_5:
The removal of CIRCLEQ left four queue macro families, but one sentence
in the man page wasn't updated.
  
  PR: docs/94938
  Submitted by:   Ed Schouten <[EMAIL PROTECTED]>
  Approved by:re
  
  Revision  ChangesPath
  1.34.2.3  +1 -1  src/share/man/man3/queue.3
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man3 queue.3

2006-05-01 Thread Ed Maste
emaste  2006-05-02 04:02:39 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
share/man/man3   queue.3 
  Log:
  MFC queue.3 1.39 to RELENG_6:
The removal of CIRCLEQ left four queue macro families, but one sentence
in the man page wasn't updated.
  
  PR: docs/94938
  Submitted by:   Ed Schouten <[EMAIL PROTECTED]>
  Approved by:re
  
  Revision  ChangesPath
  1.35.2.2  +1 -1  src/share/man/man3/queue.3
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man3 queue.3

2006-05-01 Thread Ed Maste
emaste  2006-05-02 04:04:27 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6_1)
share/man/man3   queue.3 
  Log:
  MFC queue.3 1.39 to RELENG_6_1:
The removal of CIRCLEQ left four queue macro families, but one sentence
in the man page wasn't updated.
  
  PR: docs/94938
  Submitted by:   Ed Schouten <[EMAIL PROTECTED]>
  Approved by:re
  
  Revision  ChangesPath
  1.35.2.1.2.1  +1 -1  src/share/man/man3/queue.3
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/sys queue.h

2006-05-25 Thread Ed Maste
emaste  2006-05-26 02:26:53 UTC

  FreeBSD src repository

  Modified files:
sys/sys  queue.h 
  Log:
  QUEUE_MACRO_DEBUG is intended for userland code, so don't include checks
  that call panic under it.
  
  Revision  ChangesPath
  1.65  +2 -2  src/sys/sys/queue.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/sys queue.h

2006-05-26 Thread Ed Maste
emaste  2006-05-26 18:17:53 UTC

  FreeBSD src repository

  Modified files:
sys/sys  queue.h 
  Log:
  Add sanity checking for QUEUE(3) TAILQs under INVARIANTS (similar to
  the LIST checks).  Races may lead to list corruption, which can be
  difficult to unravel in a post-mortem analysis.  These checks verify
  that the prev and next pointers are consistent when inserting or
  removing elements, thus catching any corruption earlier.
  
  Revision  ChangesPath
  1.66  +37 -0 src/sys/sys/queue.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/i386/i386 minidump_machdep.c

2006-06-05 Thread Ed Maste
emaste  2006-06-05 18:21:29 UTC

  FreeBSD src repository

  Modified files:
sys/i386/i386minidump_machdep.c 
  Log:
  Fix cut-n-pasteo: use the i386 version #define for i386 dumps, not the amd64 
one.
  
  Revision  ChangesPath
  1.2   +1 -1  src/sys/i386/i386/minidump_machdep.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/lib/libpthread/thread thr_rtld.c

2006-08-21 Thread Ed Maste
emaste  2006-08-21 14:33:04 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
lib/libpthread/thread thr_rtld.c 
  Log:
  MFC r1.6 to RELENG_5:
Don't attempt to initialize the rtld lock if it can't be malloc()'d.
  
PR:   83452
  
  Revision  ChangesPath
  1.5.4.1   +7 -5  src/lib/libpthread/thread/thr_rtld.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/lib/libpthread/thread thr_kern.c

2006-08-21 Thread Ed Maste
emaste  2006-08-21 14:35:32 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
lib/libpthread/thread thr_kern.c 
  Log:
  MFC to RELENG_5 r1.117:
Handle failure to malloc() part of the thread structure.
  
PR:   83457
  
  r1.118:
Allocate a thread's tcb last so it is easier to handle failures to
malloc() siginfo.
  
PR:   85468
  
  Revision   ChangesPath
  1.112.2.3  +20 -18src/lib/libpthread/thread/thr_kern.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/lib/libpthread/thread thr_cond.c thr_mutex.c thr_nanosleep.c

2006-08-21 Thread Ed Maste
emaste  2006-08-21 14:51:21 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
lib/libpthread/thread thr_cond.c thr_mutex.c thr_nanosleep.c 
  Log:
  MFC thr_cond.c r1.53, thr_mutex.c r1.49, thr_nanosleep.c r1.25 to RELENG_5:
Eliminate a race condition in timed waits (cv, mutex, and sleeps).
MFC Candidate.
  
PR:   93592
  
  Revision  ChangesPath
  1.51.2.2  +5 -5  src/lib/libpthread/thread/thr_cond.c
  1.45.2.2  +22 -24src/lib/libpthread/thread/thr_mutex.c
  1.24.2.1  +3 -1  src/lib/libpthread/thread/thr_nanosleep.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvs commit: src/share/zoneinfo africa antarctica asia australasia backward etcetera europe factory leapseconds northamerica southamerica systemv yearistype.sh zone.tab

2006-10-16 Thread Ed Maste
On Fri, Oct 13, 2006 at 03:19:44PM -0700, Doug Barton wrote:

> John Baldwin wrote:
> 
> >>Part of the reason I didn't want to do it is that on RELENG_4
> >>it also requires more changes (like a makefile and etc/mtree).
> >>I think you just broke the install on RELENG_4 with this
> >>commit.
> 
> I have a working RELENG_4 system, and I tested the install before 
> committing. The main effect of the Makefile changes on the install is 
> to move the systemv file behind the OLDTIMEZONES define. I didn't do 
> that because I thought it would be a POLA violation.

The systemv in OLDTIMEZONES was needed for fresh installs (and release
building) because systemv used to have:

LinkAmerica/IndianapolisSystemV/EST5

while America/Indianapolis is itself a link provided by backward:

LinkAmerica/Indiana/IndianapolisAmerica/Indianapolis

This import removed the "Link" lines from systemv, so it looks like
the OLDTIMEZONES change is no longer relevant.

-ed
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man4 ng_source.4

2006-10-22 Thread Ed Maste
emaste  2006-10-22 21:33:57 UTC

  FreeBSD src repository

  Modified files:
share/man/man4   ng_source.4 
  Log:
  Clarify that the input hook requires binary packet data.  Instead of
  referencing an omitted example, include a short (Perl) example that
  queues an ICMP Echo message.
  
  Revision  ChangesPath
  1.12  +17 -9 src/share/man/man4/ng_source.4
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/net if_ethersubr.c

2006-06-12 Thread Ed Maste
emaste  2006-06-13 01:51:34 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_5)
sys/net  if_ethersubr.c 
  Log:
  MFC r1.184:
Check for non-NULL ac_netgraph field in interface arpcom, instead of
checking global presence of ng_ether(4).
  
Reviewed by:ru
  
  RevisionChangesPath
  1.177.2.13  +4 -4  src/sys/net/if_ethersubr.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern subr_kdb.c

2006-06-16 Thread Ed Maste
emaste  2006-06-17 02:58:18 UTC

  FreeBSD src repository

  Modified files:
sys/kern subr_kdb.c 
  Log:
  Add a description for sysctl -d.
  
  Revision  ChangesPath
  1.22  +1 -1  src/sys/kern/subr_kdb.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-06-23 Thread Ed Maste
emaste  2008-06-24 03:26:41 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c 
  Log:
  SVN rev 179969 on 2008-06-24 03:26:41Z by emaste
  
  Fix test for waiting AIFs in aac_poll().  This seems to solve the
  problem where Adaptec's arcconf monitoring tool hangs after producing
  its expected output.
  
  Submitted by:   Adaptec, via driver ver 15317
  MFC after:  1 week
  
  Revision  ChangesPath
  1.138 +7 -2  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/usr.sbin/config main.c

2008-06-27 Thread Ed Maste
emaste  2008-06-27 14:37:32 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
usr.sbin/config  main.c 
  Log:
  SVN rev 180066 on 2008-06-27 14:37:32Z by emaste
  
  MFC r175163:
Honour the logical current working directory ($PWD) when using config's
-d destdir option.  For an automounted src tree using the logical cwd
in the Makefile keeps amd(8)'s mount timeout refreshed.  Code to check
$PWD's validity cribbed from pwd(1).
  
Discussed on [EMAIL PROTECTED]
  
  Revision  ChangesPath
  1.64.2.2  +18 -0 src/usr.sbin/config/main.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/usr.sbin/config main.c

2008-06-27 Thread Ed Maste
emaste  2008-06-27 15:20:18 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
usr.sbin/config  main.c 
  Log:
  SVN rev 180068 on 2008-06-27 15:20:18Z by emaste
  
  MFC r175163:
Honour the logical current working directory ($PWD) when using config's
-d destdir option.  For an automounted src tree using the logical cwd
in the Makefile keeps amd(8)'s mount timeout refreshed.  Code to check
$PWD's validity cribbed from pwd(1).
  
Discussed on [EMAIL PROTECTED]
  
  Revision  ChangesPath
  1.76.2.1  +18 -0 src/usr.sbin/config/main.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man4 aac.4 src/sys/dev/aac aac_pci.c

2008-06-27 Thread Ed Maste
emaste  2008-06-27 19:34:47 UTC

  FreeBSD src repository

  Modified files:
share/man/man4   aac.4 
sys/dev/aac  aac_pci.c 
  Log:
  SVN rev 180072 on 2008-06-27 19:34:47Z by emaste
  
  Add explicit PCI IDs for the following Adaptec RAID Series 2 adapters:
  
Adaptec RAID 2045
Adaptec RAID 2405
Adaptec RAID 2445
Adaptec RAID 2805
  
  Without this change these devices are supported by the driver's family
  support, but they then appear as "Adaptec RAID Controller" in boot
  messages and the dev.aac.0.%desc sysctl.
  
  Revision  ChangesPath
  1.40  +9 -1  src/share/man/man4/aac.4
  1.68  +8 -0  src/sys/dev/aac/aac_pci.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c aac_cam.c aac_debug.c aac_disk.c aac_pci.c aacreg.h aacvar.h src/sys/sys aac_ioctl.h

2008-06-30 Thread Ed Maste
emaste  2008-06-30 21:22:59 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c aac_cam.c aac_debug.c aac_disk.c 
 aac_pci.c aacreg.h aacvar.h 
sys/sys  aac_ioctl.h 
  Log:
  SVN rev 180133 on 2008-06-30 21:22:59Z by emaste
  
  MFC additional driver enhancements.
  
  r174385
Allow simultaneous opens of the device for issuing commands to the
controller.  This is merged from Adaptec driver build 11669.
  
  r177462
Add ioctls FSACTL_SEND_LARGE_FIB, FSACTL_SEND_RAW_SRB,
FSACTL_LNX_SEND_LARGE_FIB, and FSACTL_LNX_SEND_RAW_SRB, and correct size
checks on FIBs passed in from userspace.  Both changes were obtained from
Adaptec's driver build 15317.  Adaptec's commandline RAID tool arcconf
uses these ioctls when creating a RAID-10 array (and probably other
operations too).
  
  r177567
Diff reduction to Adaptec's driver (around build 15317): catch up with a
change in debugging routines.
  
The fwprintf macro in the AAC_DEBUG case (mapping to printf) isn't from
the Adaptec driver.
  
  r177619
Add 64-bit array support for RAIDs > 2TB.  This corresponds to ~ Adaptec
driver build 15317.
  
  r177635
Add \n to the end of a printf string and remove it from panic strings.
  
  r177695
Implement FSACTL_LNX_GET_FEATURES and FSACTL_GET_FEATURES ioctls.  RAID
tools (e.g. arcconf) need this to be able to create arrays larger than
2TB.
  
  r179969
Fix test for waiting AIFs in aac_poll().  This seems to solve the
problem where Adaptec's arcconf monitoring tool hangs after producing
its expected output.
  
  RevisionChangesPath
  1.109.2.18  +325 -192  src/sys/dev/aac/aac.c
  1.20.2.7+5 -7  src/sys/dev/aac/aac_cam.c
  1.20.2.4+1 -0  src/sys/dev/aac/aac_debug.c
  1.43.2.1+13 -14src/sys/dev/aac/aac_disk.c
  1.54.2.12   +6 -6  src/sys/dev/aac/aac_pci.c
  1.21.2.4+1 -0  src/sys/dev/aac/aacreg.h
  1.46.8.2+27 -24src/sys/dev/aac/aacvar.h
  1.11.4.1+26 -0 src/sys/sys/aac_ioctl.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-07-01 Thread Ed Maste
emaste  2008-07-01 22:16:33 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac.c 
  Log:
  SVN rev 180160 on 2008-07-01 22:16:33Z by emaste
  
  MFC r179969:
Fix test for waiting AIFs in aac_poll().  This seems to solve the
problem where Adaptec's arcconf monitoring tool hangs after producing
its expected output.
  
  RevisionChangesPath
  1.120.2.12  +7 -2  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac_disk.c

2008-07-02 Thread Ed Maste
emaste  2008-07-02 14:17:49 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac_disk.c 
  Log:
  SVN rev 180181 on 2008-07-02 14:17:49Z by emaste
  
  MFC r177899:
Allow crashdumps on machines with >4GB of RAM as long as the adapter can
do 64-bit S/G.
  
  Revision   ChangesPath
  1.43.10.3  +54 -13src/sys/dev/aac/aac_disk.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac_disk.c

2008-07-02 Thread Ed Maste
emaste  2008-07-02 14:44:09 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac_disk.c 
  Log:
  SVN rev 180183 on 2008-07-02 14:44:09Z by emaste
  
  MFC r177899:
Allow crashdumps on machines with >4GB of RAM as long as the adapter can
do 64-bit S/G.
  
  Revision  ChangesPath
  1.43.2.2  +54 -13src/sys/dev/aac/aac_disk.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern uipc_usrreq.c

2008-07-03 Thread Ed Maste
emaste  2008-07-03 23:26:10 UTC

  FreeBSD src repository

  Modified files:
sys/kern uipc_usrreq.c 
  Log:
  SVN rev 180238 on 2008-07-03 23:26:10Z by emaste
  
  Use bcopy instead of strlcpy in uipc_bind and unp_connect, since
  soun->sun_path isn't a null-terminated string.  As UNIX(4) states, "the
  terminating NUL is not part of the address."  Since strlcpy has to return
  "the total length of the string [it] tried to create," it walks off the end
  of soun->sun_path looking for a \0.
  
  This reverts r105332.
  
  Reported by:Ryan Stone
  
  Revision  ChangesPath
  1.215 +4 -2  src/sys/kern/uipc_usrreq.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvs commit: src/sys/kern uipc_usrreq.c

2008-07-07 Thread Ed Maste
On Mon, Jul 07, 2008 at 12:52:09PM -0700, Alfred Perlstein wrote:

> * Ed Maste <[EMAIL PROTECTED]> [080703 16:26] wrote:
> > emaste  2008-07-03 23:26:10 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> > sys/kern uipc_usrreq.c 
> >   Log:
> >   SVN rev 180238 on 2008-07-03 23:26:10Z by emaste
> >   
> >   Use bcopy instead of strlcpy in uipc_bind and unp_connect, since
> >   soun->sun_path isn't a null-terminated string.  As UNIX(4) states, "the
> >   terminating NUL is not part of the address."  Since strlcpy has to return
> >   "the total length of the string [it] tried to create," it walks off the 
> > end
> >   of soun->sun_path looking for a \0.
> >   
> >   This reverts r105332.
> >   
> >   Reported by:Ryan Stone
> >   
> >   Revision  ChangesPath
> >   1.215 +4 -2  src/sys/kern/uipc_usrreq.c
>
> This really deserves a comment at each invocation of bcopy in
> order to prevent regressions by someone "fixing" it again.

I thought about that but figured that a bcopy -> strlcpy conversion
would be a lot less likely than the strncpy -> strlcpy change that
happened here originally to introduce the bug.  If it really seems like
a candidate for someone to "fix" in the future I'll add a comment. 

- Ed
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man4 aac.4

2007-09-07 Thread Ed Maste
emaste  2007-09-07 13:40:10 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
share/man/man4   aac.4 
  Log:
  MFC aac.4 1.36:
Add PCI IDs for two cards:
- Adaptec RAID 3405
- Adaptec RAID 3805
  
  Revision  ChangesPath
  1.31.2.3  +5 -1  src/share/man/man4/aac.4
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac_pci.c

2007-09-07 Thread Ed Maste
emaste  2007-09-07 13:37:32 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac_pci.c 
  Log:
  MFC 1.62:
Add PCI IDs for two cards:
- Adaptec RAID 3405
- Adaptec RAID 3805
  
Submitted by: John Marra  jmarra at nmu dot edu
  
  Revision  ChangesPath
  1.54.2.9  +4 -0  src/sys/dev/aac/aac_pci.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac_pci.c

2007-10-14 Thread Ed Maste
emaste  2007-10-14 19:40:15 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac_pci.c 
  Log:
  Add PCI IDs from Adaptec's driver version b11669:
  
  Adaptec RAID 3085
  Adaptec RAID 31205
  Adaptec RAID 31605
  Adaptec RAID 5085
  Adaptec RAID 51205
  Adaptec RAID 51605
  Adaptec RAID 5445
  Adaptec RAID 5805
  IBM ServeRAID 8s
  ICP RAID ICP5045BL
  ICP RAID ICP5085BL
  ICP RAID ICP5085SL
  ICP RAID ICP5125BR
  ICP RAID ICP5125SL
  ICP RAID ICP5165BR
  ICP RAID ICP5165SL
  ICP RAID ICP5445SL
  ICP RAID ICP5805BL
  ICP RAID ICP5805SL
  ICP9067MA SATA RAID
  
  Revision  ChangesPath
  1.63  +42 -0 src/sys/dev/aac/aac_pci.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src Makefile.inc1

2007-10-15 Thread Ed Maste
emaste  2007-10-15 13:50:46 UTC

  FreeBSD src repository

  Modified files:
.Makefile.inc1 
  Log:
  If a required install tool is missing, provide a more friendly error
  message (instead of cp's usage info).
  
  Revision  ChangesPath
  1.589 +6 -1  src/Makefile.inc1
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2007-10-15 Thread Ed Maste
emaste  2007-10-15 17:34:58 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c 
  Log:
  Correct calculation of aac_sg_tablesize.
  
  Obtained from:  Adaptec, via driver b11669
  
  Revision  ChangesPath
  1.121 +4 -6  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern syscalls.master

2007-10-19 Thread Ed Maste
emaste  2007-10-19 19:17:53 UTC

  FreeBSD src repository

  Modified files:
sys/kern syscalls.master 
  Log:
  Put comments about syscalls by the correct ones, and use the correct syscall
  number in the comment.
  
  Revision  ChangesPath
  1.234 +2 -2  src/sys/kern/syscalls.master
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/kern kern_intr.c

2007-10-29 Thread Ed Maste
emaste  2007-10-29 21:10:03 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/kern kern_intr.c 
  Log:
  MFC to RELENG_6 part of kern_intr.c revision 1.142:
  
- Don't do the interrupt storm protection stuff for software interrupt
  handlers.
  
  Revision   ChangesPath
  1.124.2.8  +2 -1  src/sys/kern/kern_intr.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sbin/dhclient clparse.c dhclient-script dhclient.c dhclient.conf dhcp.h tables.c

2007-10-31 Thread Ed Maste
emaste  2007-10-31 14:30:20 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sbin/dhclientclparse.c dhclient-script dhclient.c 
 dhclient.conf dhcp.h tables.c 
  Log:
  MFC to RELENG_6 dhclient RFC3442 support (the classless static route
  option)
  
  dhclient.conf 1.2
  
Add a $FreeBSD$ tag missing after the original import.  Note that this
file isn't actually installed; the one in src/etc is.
  
  clparse.c 1.3
  dhclient-script 1.15
  dhclient.c 1.21
  dhclient.conf 1.3
  dhcp.h 1.3
  tables.c 1.4
  
Implement RFC3442, the Classless Static Route option.
  
The original DHCP specification includes a route option but it
supports only class-based routes.  RFC3442 adds support for
specifying the netmask width for each static route.  A variable
length encoding is used to minimize the size of this option.
  
PR: bin/99534
Submitted by:   Andrey V. Elsukov <[EMAIL PROTECTED]>
Reviewed by:brooks
  
  dhclient-script 1.16
  
The minimum size of an RFC3442 destination descriptor is five bytes,
so correct test to -ge 5.  Without this change an RFC3442 encoded
default route would be ignored.
  
  Revision ChangesPath
  1.1.1.1.2.2  +2 -0  src/sbin/dhclient/clparse.c
  1.4.2.6  +60 -0 src/sbin/dhclient/dhclient-script
  1.6.2.7  +68 -0 src/sbin/dhclient/dhclient.c
  1.1.1.1.2.1  +5 -2  src/sbin/dhclient/dhclient.conf
  1.2.2.1  +1 -0  src/sbin/dhclient/dhcp.h
  1.1.1.1.2.3  +3 -2  src/sbin/dhclient/tables.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c aac_cam.c

2007-11-01 Thread Ed Maste
emaste  2007-11-01 20:45:29 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c aac_cam.c 
  Log:
  Rework aac locking for MPSAFE CAM.  This fixes a Giant mutex assertion
  reported on freebsd-current [1].
  
  Also dequeue all events in aac_release_command (instead of just one)
  so that there's no risk of them getting stranded.
  
  Reported by:Steven Brown [1]
  Submitted by:   scottl@
  
  [1] 
http://lists.freebsd.org/pipermail/freebsd-current/2007-October/077928.html
  
  Revision  ChangesPath
  1.123 +5 -2  src/sys/dev/aac/aac.c
  1.29  +17 -17src/sys/dev/aac/aac_cam.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c aac_cam.c

2007-11-08 Thread Ed Maste
emaste  2007-11-08 21:12:36 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac.c aac_cam.c 
  Log:
  MFC to RELENG_7
  
  Revision  ChangesPath
  1.123 +5 -2  src/sys/dev/aac/aac.c
  1.29  +17 -17src/sys/dev/aac/aac_cam.c
  
Rework aac locking for MPSAFE CAM.  This fixes a Giant mutex assertion
reported on freebsd-current [1].
  
Also dequeue all events in aac_release_command (instead of just one)
so that there's no risk of them getting stranded.
  
Reported by:Steven Brown [1]
Submitted by:   scottl@
  
[1] 
http://lists.freebsd.org/pipermail/freebsd-current/2007-October/077928.html
  
  Approved by:re
  
  Revision   ChangesPath
  1.120.2.1  +5 -2  src/sys/dev/aac/aac.c
  1.28.2.1   +17 -17src/sys/dev/aac/aac_cam.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man4 aac.4

2007-11-29 Thread Ed Maste
emaste  2007-11-29 17:56:55 UTC

  FreeBSD src repository

  Modified files:
share/man/man4   aac.4 
  Log:
  Document PCI IDs of controllers added in aac_pci.c v1.63
  
  Revision  ChangesPath
  1.37  +40 -0 src/share/man/man4/aac.4
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2007-11-29 Thread Ed Maste
emaste  2007-11-29 18:38:31 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c v1.121:
Correct calculation of aac_sg_tablesize.
  
Obtained from:  Adaptec, via driver b11669
  
  Approved by:re (kensmith)
  
  Revision   ChangesPath
  1.120.2.2  +4 -6  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/share/man/man4 aac.4

2007-11-29 Thread Ed Maste
emaste  2007-11-29 18:53:12 UTC

  FreeBSD src repository

  Modified files:
share/man/man4   aac.4 
  Log:
  Bump .Dd for my last commit adding PCI IDs.
  
  Revision  ChangesPath
  1.38  +1 -1  src/share/man/man4/aac.4
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac_pci.c src/share/man/man4 aac.4

2007-11-30 Thread Ed Maste
emaste  2007-11-30 15:55:50 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac_pci.c 
share/man/man4   aac.4 
  Log:
  Merge from HEAD to RELENG_7
  src/sys/dev/aac/aac_pci.c 1.63
  src/share/man/man4/aac.4 1.37, 1.38
  
Add PCI IDs from Adaptec's driver version b11669:
  
Adaptec RAID 3085
Adaptec RAID 31205
Adaptec RAID 31605
Adaptec RAID 5085
Adaptec RAID 51205
Adaptec RAID 51605
Adaptec RAID 5445
Adaptec RAID 5805
IBM ServeRAID 8s
ICP RAID ICP5045BL
ICP RAID ICP5085BL
ICP RAID ICP5085SL
ICP RAID ICP5125BR
ICP RAID ICP5125SL
ICP RAID ICP5165BR
ICP RAID ICP5165SL
ICP RAID ICP5445SL
ICP RAID ICP5805BL
ICP RAID ICP5805SL
ICP9067MA SATA RAID
  
  Approved by:re (kensmith)
  
  Revision  ChangesPath
  1.36.2.1  +41 -1 src/share/man/man4/aac.4
  1.62.2.1  +42 -0 src/sys/dev/aac/aac_pci.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/ufs/ffs ffs_softdep.c

2008-03-10 Thread Ed Maste
emaste  2008-03-10 18:44:07 UTC

  FreeBSD src repository

  Modified files:
sys/ufs/ffs  ffs_softdep.c 
  Log:
  Remove include of opt_quota.h; as of revision 1.205 there is no longer
  any #ifdef QUOTA conditional code.
  
  Revision  ChangesPath
  1.218 +0 -1  src/sys/ufs/ffs/ffs_softdep.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/ufs/ffs ffs_softdep.c

2008-03-11 Thread Ed Maste
emaste  2008-03-11 15:14:31 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/ufs/ffs  ffs_softdep.c 
  Log:
  MFC minor cleanups:
  
  ffs_softdep.c 1.210
Add a newline to the printf message.
  
  ffs_softdep.c 1.214 (part)
Update comment to match the DIAGNOSTIC -> INVARIANTS change.
  
  RevisionChangesPath
  1.181.2.23  +2 -2  src/sys/ufs/ffs/ffs_softdep.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/ufs/ffs ffs_softdep.c

2008-03-14 Thread Ed Maste
emaste  2008-03-14 15:25:44 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/ufs/ffs  ffs_softdep.c 
  Log:
  Honour mpsafe_vfs=0 in softdep_flush.  This is basically a MFC of revision
  1.206, except that Giant remains unconditionally acquired in the #ifdef
  QUOTA case here (as QUOTA-enabled UFS on RELENG_6 is not MPSAFE).
  
  Reviewed by:kib
  
  RevisionChangesPath
  1.181.2.24  +4 -0  src/sys/ufs/ffs/ffs_softdep.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-14 Thread Ed Maste
emaste  2008-03-14 21:59:11 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c 
  Log:
  Change spelling and eliminate a typo in comments to reduce diffs with
  Adaptec's vendor driver.  I have some fixes to bring in and this makes
  ongoing review of the FreeBSD-Adaptec driver diffs easier.
  
  Revision  ChangesPath
  1.128 +11 -11src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/sys aac_ioctl.h src/sys/dev/aac aac.c

2008-03-20 Thread Ed Maste
emaste  2008-03-20 17:59:19 UTC

  FreeBSD src repository

  Modified files:
sys/sys  aac_ioctl.h 
sys/dev/aac  aac.c 
  Log:
  Add ioctls FSACTL_SEND_LARGE_FIB, FSACTL_SEND_RAW_SRB,
  FSACTL_LNX_SEND_LARGE_FIB, and FSACTL_LNX_SEND_RAW_SRB, and correct size
  checks on FIBs passed in from userspace.  Both changes were obtained from
  Adaptec's driver build 15317.  Adaptec's commandline RAID tool arcconf uses
  these ioctls when creating a RAID-10 array (and probably other operations
  too).
  
  Revision  ChangesPath
  1.129 +31 -8 src/sys/dev/aac/aac.c
  1.12  +6 -0  src/sys/sys/aac_ioctl.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-20 Thread Ed Maste
emaste  2008-03-20 20:33:48 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c 
  Log:
  Restore creation of passthrough devices with newer controller firmware by
  putting the correct size in the fib header.  Presumably the older firmware
  silently ignored a bad size field.
  
  (This change tested with a 3805 controller.  Passthrough devices were
  created when running firmware build 12814, but not 15323 or later.  With
  this change they're created for both old and new firmware versions.)
  
  Submitted by:   Adaptec
  
  Revision  ChangesPath
  1.130 +2 -2  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-24 Thread Ed Maste
emaste  2008-03-24 16:38:47 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c 
  Log:
  Diff reduction to Adaptec driver build 15317 (refactoring and code shuffling):
  
  - Resource allocation in aac_alloc (moved from from aac_init)
  - Interrupt setup in aac_setup_intr (from aac_attach)
  - Container probing in aac_get_container_info (from aac_startup and
aac_handle_aif)
  - Firmware status check moved to aac_check_firmware from aac_init
  
  Revision  ChangesPath
  1.131 +206 -187  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c aac_cam.c aac_debug.c aac_disk.c aac_pci.c aacvar.h

2008-03-24 Thread Ed Maste
emaste  2008-03-24 19:23:34 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c aac_cam.c aac_debug.c aac_disk.c 
 aac_pci.c aacvar.h 
  Log:
  Diff reduction to Adaptec's driver (around build 15317): catch up with a
  change in debugging routines.
  
  The fwprintf macro in the AAC_DEBUG case (mapping to printf) isn't from the
  Adaptec driver.
  
  Revision  ChangesPath
  1.132 +97 -113   src/sys/dev/aac/aac.c
  1.31  +5 -7  src/sys/dev/aac/aac_cam.c
  1.24  +1 -0  src/sys/dev/aac/aac_debug.c
  1.44  +7 -11 src/sys/dev/aac/aac_disk.c
  1.67  +6 -6  src/sys/dev/aac/aac_pci.c
  1.50  +12 -16src/sys/dev/aac/aacvar.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-25 Thread Ed Maste
emaste  2008-03-25 18:34:04 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c 
  Log:
  Correct data direction flags in aac_bio_command() in the
  !AAC_FLAGS_RAW_IO && AAC_FLAGS_SG_64BIT case.
  
  Submitted by:   Adaptec
  
  Revision  ChangesPath
  1.133 +2 -2  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c aac_disk.c aacreg.h aacvar.h

2008-03-25 Thread Ed Maste
emaste  2008-03-25 21:39:06 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c aac_disk.c aacreg.h aacvar.h 
  Log:
  Add 64-bit array support for RAIDs > 2TB.  This corresponds to ~ Adaptec
  driver build 15317.
  
  Tested on:
  Adaptec 2230S, Firmware 4.2-0 (8205)
  ICP ICP5085BL, Firmware 5.2-0 (12814)
  
  Submitted by:   Adaptec
  
  Revision  ChangesPath
  1.134 +8 -1  src/sys/dev/aac/aac.c
  1.45  +6 -3  src/sys/dev/aac/aac_disk.c
  1.25  +1 -0  src/sys/dev/aac/aacreg.h
  1.51  +2 -1  src/sys/dev/aac/aacvar.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-26 Thread Ed Maste
emaste  2008-03-26 14:19:25 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.128:
Change spelling and eliminate a typo in comments to reduce diffs with
Adaptec's vendor driver.
  
  Revision   ChangesPath
  1.109.2.8  +11 -11src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-26 Thread Ed Maste
emaste  2008-03-26 14:22:22 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.128:
Change spelling and eliminate a typo in comments to reduce diffs with
Adaptec's vendor driver.
  
  Revision   ChangesPath
  1.120.2.4  +11 -11src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-26 Thread Ed Maste
emaste  2008-03-26 14:46:43 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.123:
Dequeue all events in aac_release_command (instead of just one)
so that there's no risk of them getting stranded.
  
  Revision   ChangesPath
  1.109.2.9  +5 -2  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-26 Thread Ed Maste
emaste  2008-03-26 15:09:15 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.126:
  
Do not recursively acquire aac_io_lock in aac_ioctl_event.
  
  Revision   ChangesPath
  1.120.2.5  +1 -3  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-26 Thread Ed Maste
emaste  2008-03-26 15:28:56 UTC

  FreeBSD src repository

  Modified files:
sys/dev/aac  aac.c 
  Log:
  Add \n to the end of a printf string and remove it from panic strings.
  
  Revision  ChangesPath
  1.135 +6 -6  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-26 Thread Ed Maste
emaste  2008-03-26 16:53:27 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.127
  
Avoid holding the aac_io_lock over copyout.
  
Submitted by: Achim Leubner @ Adaptec.
  
  Revision   ChangesPath
  1.120.2.6  +6 -5  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/sys aac_ioctl.h src/sys/dev/aac aac.c

2008-03-27 Thread Ed Maste
emaste  2008-03-27 17:11:38 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/sys  aac_ioctl.h 
sys/dev/aac  aac.c 
  Log:
  MFC
   aac.c r1.129 aac_ioctl.h r1.12:
  
Add ioctls FSACTL_SEND_LARGE_FIB, FSACTL_SEND_RAW_SRB,
FSACTL_LNX_SEND_LARGE_FIB, and FSACTL_LNX_SEND_RAW_SRB, and correct size
checks on FIBs passed in from userspace.  Both changes were obtained from
Adaptec's driver build 15317.  Adaptec's commandline RAID tool arcconf uses
these ioctls when creating a RAID-10 array (and probably other operations
too).
  
   aac.c r1.130:
  
Restore creation of passthrough devices with newer controller firmware by
putting the correct size in the fib header.  Presumably the older firmware
silently ignored a bad size field.
  
(This change tested with a 3805 controller.  Passthrough devices were
created when running firmware build 12814, but not 15323 or later.  With
this change they're created for both old and new firmware versions.)
  
Submitted by:   Adaptec
  
  Revision   ChangesPath
  1.120.2.7  +33 -10src/sys/dev/aac/aac.c
  1.11.12.1  +6 -0  src/sys/sys/aac_ioctl.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-27 Thread Ed Maste
emaste  2008-03-27 20:47:21 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.127
  
Avoid holding the aac_io_lock over copyout.
  
Submitted by: Achim Leubner @ Adaptec.
  
  RevisionChangesPath
  1.109.2.10  +6 -5  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/i386/i386 busdma_machdep.c

2008-03-28 Thread Ed Maste
emaste  2008-03-28 15:28:20 UTC

  FreeBSD src repository

  Modified files:
sys/i386/i386busdma_machdep.c 
  Log:
  If we're returning successfully from bus_dmamem_alloc, don't record a KTR
  of error = ENOMEM.
  
  Revision  ChangesPath
  1.92  +1 -1  src/sys/i386/i386/busdma_machdep.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-28 Thread Ed Maste
emaste  2008-03-28 18:13:15 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.133:
Correct data direction flags in aac_bio_command() in the
!AAC_FLAGS_RAW_IO && AAC_FLAGS_SG_64BIT case.
  
Submitted by:   Adaptec
  
  Revision   ChangesPath
  1.120.2.8  +2 -2  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-28 Thread Ed Maste
emaste  2008-03-28 18:13:39 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.133:
Correct data direction flags in aac_bio_command() in the
!AAC_FLAGS_RAW_IO && AAC_FLAGS_SG_64BIT case.
  
Submitted by:   Adaptec
  
  RevisionChangesPath
  1.109.2.11  +2 -2  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/sys aac_ioctl.h src/sys/dev/aac aac.c

2008-03-28 Thread Ed Maste
emaste  2008-03-28 19:07:25 UTC

  FreeBSD src repository

  Modified files:
sys/sys  aac_ioctl.h 
sys/dev/aac  aac.c 
  Log:
  Implement FSACTL_LNX_GET_FEATURES and FSACTL_GET_FEATURES ioctls.  RAID
  tools (e.g. arcconf) need this to be able to create arrays larger than 2TB.
  
  Submitted by: Adaptec, via driver build 15317
  
  Revision  ChangesPath
  1.136 +44 -0 src/sys/dev/aac/aac.c
  1.13  +20 -0 src/sys/sys/aac_ioctl.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c aac_cam.c aac_debug.c aac_disk.c aac_pci.c aacvar.h

2008-03-31 Thread Ed Maste
emaste  2008-03-31 14:32:07 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/dev/aac  aac.c aac_cam.c aac_debug.c aac_disk.c 
 aac_pci.c aacvar.h 
  Log:
  MFC - diff reduction w/ HEAD
  
   aac.c 1.131:
Diff reduction to Adaptec driver build 15317 (refactoring and code 
shuffling):
  
- Resource allocation in aac_alloc (moved from from aac_init)
- Interrupt setup in aac_setup_intr (from aac_attach)
- Container probing in aac_get_container_info (from aac_startup and
  aac_handle_aif)
- Firmware status check moved to aac_check_firmware from aac_init
  
   aac.c 1.132, aac_cam.c 1.31, aad_debug.c 1.24, aac_disk.c 1.44,
   aac_pci.c 1.67, aacvar.h 1.50:
Diff reduction to Adaptec's driver (around build 15317): catch up with a
change in debugging routines.
  
The fwprintf macro in the AAC_DEBUG case (mapping to printf) isn't from the
Adaptec driver.
  
   aac.c 1.135:
Add \n to the end of a printf string and remove it from panic strings.
  
  Revision   ChangesPath
  1.120.2.9  +307 -304  src/sys/dev/aac/aac.c
  1.28.2.3   +5 -7  src/sys/dev/aac/aac_cam.c
  1.22.2.2   +1 -0  src/sys/dev/aac/aac_debug.c
  1.43.10.1  +7 -11 src/sys/dev/aac/aac_disk.c
  1.62.2.4   +6 -6  src/sys/dev/aac/aac_pci.c
  1.48.2.2   +12 -16src/sys/dev/aac/aacvar.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-31 Thread Ed Maste
emaste  2008-03-31 14:44:09 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c 1.121:
Correct calculation of aac_sg_tablesize.
  
Obtained from:  Adaptec, via driver b11669
  
  RevisionChangesPath
  1.109.2.12  +4 -6  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-31 Thread Ed Maste
emaste  2008-03-31 17:04:10 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c 1.131:
Diff reduction to Adaptec driver build 15317 (refactoring and code 
shuffling):
  
- Resource allocation in aac_alloc (moved from from aac_init)
- Interrupt setup in aac_setup_intr (from aac_attach)
- Container probing in aac_get_container_info (from aac_startup and
  aac_handle_aif)
- Firmware status check moved to aac_check_firmware from aac_init
  
  RevisionChangesPath
  1.109.2.13  +205 -186  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/sys aac_ioctl.h src/sys/dev/aac aac.c aac_disk.c aacreg.h aacvar.h

2008-03-31 Thread Ed Maste
emaste  2008-03-31 19:21:49 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_7)
sys/sys  aac_ioctl.h 
sys/dev/aac  aac.c aac_disk.c aacreg.h aacvar.h 
  Log:
  MFC >2TB support
  
   aac.c 1.134, aac_disk.c 1.45, aacreg.h 1.25, aacvar.h 1.51:
Add 64-bit array support for RAIDs > 2TB.  This corresponds to ~ Adaptec
driver build 15317.
  
Tested on:
Adaptec 2230S, Firmware 4.2-0 (8205)
ICP ICP5085BL, Firmware 5.2-0 (12814)
  
   aac.c 1.136, aac_ioctl.h 1.13:
Implement FSACTL_LNX_GET_FEATURES and FSACTL_GET_FEATURES ioctls.  RAID
tools (e.g. arcconf) need this to be able to create arrays larger than 2TB.
  
Submitted by: Adaptec, via driver build 15317
  
  The RELENG_7 and HEAD drivers are in sync as of this commit.
  
  RevisionChangesPath
  1.120.2.10  +52 -1 src/sys/dev/aac/aac.c
  1.43.10.2   +6 -3  src/sys/dev/aac/aac_disk.c
  1.23.2.2+1 -0  src/sys/dev/aac/aacreg.h
  1.48.2.3+2 -1  src/sys/dev/aac/aacvar.h
  1.11.12.2   +20 -0 src/sys/sys/aac_ioctl.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-31 Thread Ed Maste
emaste  2008-03-31 19:50:53 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c 1.130:
Restore creation of passthrough devices with newer controller firmware by
putting the correct size in the fib header.  Presumably the older firmware
silently ignored a bad size field.
  
(This change tested with a 3805 controller.  Passthrough devices were
created when running firmware build 12814, but not 15323 or later.  With
this change they're created for both old and new firmware versions.)
  
Submitted by: Adaptec
  
  RevisionChangesPath
  1.109.2.14  +2 -2  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c aac_pci.c aacreg.h

2008-03-31 Thread Ed Maste
emaste  2008-03-31 20:03:31 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c aac_pci.c aacreg.h 
  Log:
  MFC aac.c 1.125, aac_pci.c 1.66, aacreg.h:1.24:
  
Add family support to allow the driver to attach to new devices that
share the same interface.
  
  RevisionChangesPath
  1.109.2.15  +17 -5 src/sys/dev/aac/aac.c
  1.54.2.11   +23 -5 src/sys/dev/aac/aac_pci.c
  1.21.2.3+52 -0 src/sys/dev/aac/aacreg.h
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac_cam.c

2008-03-31 Thread Ed Maste
emaste  2008-03-31 20:11:46 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac_cam.c 
  Log:
  MFC aac_cam.c 1.30:
  
Merge from Adaptec a 64 bit fix and a workaround for luns != 0
returning CAM_SEL_TIMEOUT on SAS controllers, which prevented
passthrough devices from being created.
  
  Revision  ChangesPath
  1.20.2.5  +13 -8 src/sys/dev/aac/aac_cam.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs commit: src/sys/dev/aac aac.c

2008-03-31 Thread Ed Maste
emaste  2008-03-31 23:16:05 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/dev/aac  aac.c 
  Log:
  MFC aac.c r1.126:
  
Do not recursively acquire aac_io_lock in aac_ioctl_event.
  
  RevisionChangesPath
  1.109.2.16  +1 -3  src/sys/dev/aac/aac.c
___
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >