]> err.no Git - linux-2.6/commitdiff
[SCSI] aacraid: small misc. cleanups
authorMark Haverkamp <markh@osdl.org>
Thu, 8 Jun 2006 20:55:57 +0000 (13:55 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 20 Jun 2006 00:23:54 +0000 (19:23 -0500)
Received from Mark Salyzyn

Spelling correction, orphaned comment removal & update branch name.

Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/aacraid.h
drivers/scsi/aacraid/comminit.c
drivers/scsi/aacraid/dpcsup.c

index e6b41dbbec8237f982dd4956fdbaaf1c0ead02fb..d0eecd4bec837def7ef82095947396c2584b8047 100644 (file)
@@ -12,7 +12,7 @@
 
 #ifndef AAC_DRIVER_BUILD
 # define AAC_DRIVER_BUILD 2409
-# define AAC_DRIVER_BRANCH "-mh1"
+# define AAC_DRIVER_BRANCH "-mh2"
 #endif
 #define MAXIMUM_NUM_CONTAINERS 32
 
@@ -821,10 +821,6 @@ struct fib {
        fib_callback            callback;
        void                    *callback_data;
        u32                     flags; // u32 dmb was ulong
-       /*
-        *      The following is used to put this fib context onto the 
-        *      Outstanding I/O queue.
-        */
        /*
         *      And for the internal issue/reply queues (we may be able
         *      to merge these two)
index 1d43c17642c01e0c2ffbd9acbd70cdc8f02a0eea..35b0a6ebd3f5133075a1870065e7f100514068e1 100644 (file)
@@ -103,7 +103,7 @@ static int aac_alloc_comm(struct aac_dev *dev, void **commaddr, unsigned long co
         * This assumes the memory is mapped zero->n, which isnt
         * always true on real computers. It also has some slight problems
         * with the GART on x86-64. I've btw never tried DMA from PCI space
-        * on this platform but don't be suprised if its problematic.
+        * on this platform but don't be surprised if its problematic.
         */
 #ifndef CONFIG_GART_IOMMU
        if ((num_physpages << (PAGE_SHIFT - 12)) <= AAC_MAX_HOSTPHYSMEMPAGES) {
index bd6a67dd25060f15aa96b383143f07f02b250429..b2a5c7262f36ba1be0189f10faaf3a2d5f2861e2 100644 (file)
@@ -85,9 +85,9 @@ unsigned int aac_response_normal(struct aac_queue * q)
                 *      continue. The caller has already been notified that
                 *      the fib timed out.
                 */
-               if (!(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) {
+               if (!(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT))
                        dev->queues->queue[AdapNormCmdQueue].numpending--;
-               else {
+               else {
                        printk(KERN_WARNING "aacraid: FIB timeout (%x).\n", fib->flags);
                        printk(KERN_DEBUG"aacraid: hwfib=%p fib index=%i fib=%p\n",hwfib, hwfib->header.SenderData,fib);
                        continue;