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

2008-08-03 Thread Scott Long
scottl 2008-08-03 15:25:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/amr amr.c Log: SVN rev 181251 on 2008-08-03 15:25:22Z by scottl Merge rev 180633: Flush the PCI bus while spin-waiting for an update to come over the bus

cvs commit: src/sys/dev/amr amr.c amrreg.h amrvar.h

2008-08-03 Thread Scott Long
scottl 2008-08-03 15:20:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/amr amr.c amrreg.h amrvar.h Log: SVN rev 181249 on 2008-08-03 15:20:03Z by scottl Merge rev 1.85, 1.11, 1.35: Improve error handling, eliminate memory corrupti

cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h

2008-08-03 Thread Scott Long
scottl 2008-08-03 15:17:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h Log: SVN rev 181248 on 2008-08-03 15:17:14Z by scottl Merge rev 1.84, 1.27, 1.40, 1.34: Rewrite DMA codepaths Revisio

cvs commit: src/sys/dev/amr amr.c amr_cam.c

2008-08-03 Thread Scott Long
scottl 2008-08-03 15:14:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/amr amr.c amr_cam.c Log: SVN rev 181247 on 2008-08-03 15:14:15Z by scottl Merge rev 1.83, 1.26: Provide unique malloc types. Revision ChangesPath 1.8

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

2008-08-03 Thread Scott Long
scottl 2008-08-03 15:01:02 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/amr amr.c Log: SVN rev 181243 on 2008-08-03 15:01:02Z by scottl Merge rev 1.82: Fix printf format errors Revision ChangesPath 1.80.2.2 +3 -3 sr

cvs commit: src/sys/dev/amr amr.c amr_cam.c

2008-08-03 Thread Scott Long
scottl 2008-08-03 14:58:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/amr amr.c amr_cam.c Log: SVN rev 181242 on 2008-08-03 14:58:18Z by scottl Merge rev 1.81, 1.23: Add locking for AMR SCSI passthrough. Revision ChangesP

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

2008-07-20 Thread Scott Long
scottl 2008-07-20 16:50:14 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: SVN rev 180633 on 2008-07-20 16:50:14Z by scottl While spin-waiting for the mailbox semaphore to update, do flushing reads of PCI bus so that we don't have to wait more t

cvs commit: src/sys/dev/amr amr.c amrreg.h amrvar.h

2008-01-23 Thread Scott Long
scottl 2008-01-24 07:26:53 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amrreg.h amrvar.h Log: Many improvements that have been collected over time: - Improve error handling for load operations. - Fix a memory corruption bug when using certain lin

cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h

2007-12-11 Thread Scott Long
scottl 2007-12-12 05:55:03 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h Log: Rewrite the DMA code paths from being an impenitrable maze of special cases to a much saner and simplier unified code path. Along the way, fix va

cvs commit: src/sys/dev/amr amr.c amr_cam.c

2007-12-02 Thread Scott Long
scottl 2007-12-02 19:54:45 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c Log: Provide unqiue malloc types instead of using M_DEVBUF. Revision ChangesPath 1.83 +22 -20src/sys/dev/amr/amr.c 1.26 +7 -6 src/sys/dev/a

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

2007-12-02 Thread Scott Long
scottl 2007-12-02 18:45:37 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: Fix printf format bugs that where hidden by AMR_DEBUG. Revision ChangesPath 1.82 +3 -3 src/sys/dev/amr/amr.c __

cvs commit: src/sys/dev/amr amr.c amr_cam.c

2007-11-28 Thread Scott Long
scottl 2007-11-28 19:40:17 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c Log: Turn the CAM passthroug interface to AMR back ON. Adjust the T_DIRECT filtering so that disk drives can be attached via the pass driver. Add CAM locking. Don't

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

2006-07-20 Thread John Baldwin
jhb 2006-07-20 20:07:38 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/dev/amr amr.c Log: MFC: Chain the bus_dmamap_load() calls when mapping a command with a data CCB instead of using BUS_DMA_NOWAIT(). Since bus_dmamap_load() doesn't s

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

2006-07-20 Thread John Baldwin
jhb 2006-07-20 19:58:12 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/amr amr.c Log: MFC: Chain the bus_dmamap_load() calls when mapping a command with a data CCB instead of using BUS_DMA_NOWAIT. Revision ChangesPath 1.65.

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

2006-07-17 Thread John Baldwin
jhb 2006-07-17 19:45:47 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: Chain the bus_dmamap_load() calls when mapping a command with a data CCB instead of doing the first load with the BUS_DMA_NOWAIT flag. On 4.x with PAE and > 4gb of RAM this

cvs commit: src/sys/dev/amr amr.c amr_linux.c amr_pci.c amrvar.h

2006-06-15 Thread Doug Ambrisko
ambrisko2006-06-15 16:44:27 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/amr amr.c amr_linux.c amr_pci.c amrvar.h Log: MFC a bunch of fixes: - Make amr_linux work as a module by avoiding calling amr_linux_ioctl_int from the amr_lin

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

2006-05-16 Thread Paul Saab
ps 2006-05-16 07:03:32 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) sys/dev/amr amr.c Log: Protect amr_wait_command under splbio to avoid a missed wakeup. Revision ChangesPath 1.7.2.17 +3 -0 src/sys/dev/amr/amr.c ___

cvs commit: src/sys/dev/amr amr.c amr_linux.c amrvar.h

2006-05-03 Thread Doug Ambrisko
ambrisko2006-05-03 16:45:15 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_linux.c amrvar.h Log: Make amr_linux work as a module by avoiding calling amr_linux_ioctl_int from the amr_linux. This simplifies the amr_linux shim and puts the smarts into

Re: cvs commit: src/sys/dev/amr amr.c amr_pci.c amrvar.h

2006-04-08 Thread Scott Long
Nate Lawson wrote: Paul Saab wrote: ps 2006-04-08 02:23:27 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_pci.c amrvar.h Log: Close a pesky race where after checking the BUSY flag in amr_wait_command, the completion of the command can occur

Re: cvs commit: src/sys/dev/amr amr.c amr_pci.c amrvar.h

2006-04-08 Thread Nate Lawson
Paul Saab wrote: ps 2006-04-08 02:23:27 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_pci.c amrvar.h Log: Close a pesky race where after checking the BUSY flag in amr_wait_command, the completion of the command can occur before tsleep is call

cvs commit: src/sys/dev/amr amr.c amr_pci.c amrvar.h

2006-04-07 Thread Scott Long
scottl 2006-04-08 05:08:17 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_pci.c amrvar.h Log: After further review and discussion, partially revert the previous commit. The real problem was that ioctl handlers needed to call amr_wait_command() with

cvs commit: src/sys/dev/amr amr.c amr_pci.c amrvar.h

2006-04-07 Thread Paul Saab
ps 2006-04-08 02:23:27 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_pci.c amrvar.h Log: Close a pesky race where after checking the BUSY flag in amr_wait_command, the completion of the command can occur before tsleep is called and the command

cvs commit: src/sys/dev/amr amr.c amrvar.h

2006-02-14 Thread Paul Saab
ps 2006-02-14 08:04:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/amr amr.c amrvar.h Log: MFC: amr.c 1.75, amrvar.h 1.30 - Move the command setup from amr_start1 into the card specific submit routines. - Add or replace cpu_s

cvs commit: src/sys/dev/amr amr.c amrvar.h

2006-02-02 Thread Paul Saab
ps 2006-02-02 17:51:00 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amrvar.h Log: - Move the command setup from amr_start1 into the card specific submit routines. - Add or replace cpu_spinwait() with DELAY(1) to a few of the busy loops when

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

2006-01-27 Thread Doug Ambrisko
ambrisko2006-01-27 17:41:37 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/amr amr.c Log: MFC: When the RAID firmware returns a failure, don't hard error the result. Revision ChangesPath 1.65.2.4 +4 -9 src/sys/dev/amr/amr.c

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

2006-01-26 Thread Doug Ambrisko
ambrisko2006-01-26 22:39:12 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: When the RAID firmware returns a failure, don't hard error the result. This is important with MegaLib, when issuing a GET_REBUILD_PROG since it returns an error if the drive

cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_compat.h amr_disk.c amr_linux.c amr_pci.c amrio.h amrreg.h amrvar.h

2006-01-26 Thread Doug Ambrisko
ambrisko2006-01-26 22:04:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h Added files: (Branch: RELENG_6) sys/dev/amr amr_linu

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

2006-01-14 Thread Scott Long
scottl 2006-01-14 17:59:28 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: Check the return value of copyin. Found by: Coverity Prevent (tm) Revision ChangesPath 1.73 +2 -1 src/sys/dev/amr/amr.c __

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

2006-01-09 Thread Scott Long
scottl 2006-01-10 01:55:17 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: Don't free the ap object if it was never created. Submitted by: jkim Revision ChangesPath 1.72 +2 -1 src/sys/dev/amr/amr.c ___

Re: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h

2005-12-16 Thread Joao Barros
On 12/16/05, Scott Long <[EMAIL PROTECTED]> wrote: > Joao Barros wrote: > > On 12/14/05, Scott Long <[EMAIL PROTECTED]> wrote: > > > > > Any specific testing in mind or just stability? > > I'm a bit worried that old controllers (especially ones that predate the > move to i960 CPUs) might be broken

Re: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h

2005-12-16 Thread Scott Long
Martin Nilsson wrote: Scott Long wrote: Items 3 and 4 significantly increase the performance of the driver. On an LSI 320-2X card, transactions per second went from 13,000 to 31,000 in my A 238% improvement is at the very least impressive! Yeah, I was shocked at first too. The PCIe co

Re: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h

2005-12-16 Thread Martin Nilsson
Scott Long wrote: Items 3 and 4 significantly increase the performance of the driver. On an LSI 320-2X card, transactions per second went from 13,000 to 31,000 in my A 238% improvement is at the very least impressive! Yeah, I was shocked at first too. The PCIe controllers can likely do ev

Re: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h

2005-12-16 Thread Scott Long
Brian Fundakowski Feldman wrote: On Fri, Dec 16, 2005 at 12:31:22AM -0700, Scott Long wrote: Joao Barros wrote: On 12/14/05, Scott Long <[EMAIL PROTECTED]> wrote: scottl 2005-12-14 03:26:49 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c amr_disk.c a

Re: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h

2005-12-16 Thread Brian Fundakowski Feldman
On Fri, Dec 16, 2005 at 12:31:22AM -0700, Scott Long wrote: > Joao Barros wrote: > >On 12/14/05, Scott Long <[EMAIL PROTECTED]> wrote: > > > >>scottl 2005-12-14 03:26:49 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pc

Re: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h

2005-12-15 Thread Scott Long
Joao Barros wrote: On 12/14/05, Scott Long <[EMAIL PROTECTED]> wrote: scottl 2005-12-14 03:26:49 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h Log: Mega update to the LSI MegaR

Re: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h

2005-12-15 Thread Joao Barros
On 12/14/05, Scott Long <[EMAIL PROTECTED]> wrote: > scottl 2005-12-14 03:26:49 UTC > > FreeBSD src repository > > Modified files: > sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c > amrio.h amrreg.h amrvar.h > Log: > Mega update to the LSI MegaRA

cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h

2005-12-13 Thread Scott Long
scottl 2005-12-14 03:26:49 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrio.h amrreg.h amrvar.h Log: Mega update to the LSI MegaRAID driver: 1. Implement a large set of ioctl shims so that

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

2005-11-25 Thread Scott Long
scottl 2005-11-26 07:30:09 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: The CAM interface is broken and seems to be causing lockups on boot. It doesn't appear to have worked in a long time, so just disable it completely for now. MFC After:

cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h

2005-11-06 Thread Scott Long
scottl 2005-11-06 15:13:42 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h Log: Remove spl markers from AMR. MFC After: 3 days Revision ChangesPath 1.69 +5 -15 src/sys/dev/amr/amr.c 1.17 +0