1. 08 8月, 2010 3 次提交
  2. 01 3月, 2010 2 次提交
  3. 22 2月, 2010 1 次提交
  4. 23 11月, 2009 1 次提交
    • A
      cciss: change Cmd_sg_list.sg_chain_dma type to dma_addr_t · 32a87c01
      Alex Chiang 提交于
      A recent commit broke the ia64 build:
      
      	Author: Don Brace <brace@beardog.cce.hp.com>
      	Date:   Thu Nov 12 12:50:01 2009 -0600
      
      	cciss: Add enhanced scatter-gather support.
      
      because of this hunk:
      
      	--- a/drivers/block/cciss.h
      	+++ b/drivers/block/cciss.h
      	+struct Cmd_sg_list {
      	+       SGDescriptor_struct     *sgchain;
      	+       dma64_addr_t            sg_chain_dma;
      	+       int                     chain_block_size;
      	+};
      
      The issue is that dma64_addr_t isn't #define'd on ia64.
      
      The way that we're using Cmd_sg_list.sg_chain_dma is to hold an
      address returned from pci_map_single().
      
      	+               temp64.val = pci_map_single(h->pdev,
      	+                                 h->cmd_sg_list[c->cmdindex]->sgchain,
      	+                                 len, dir);
      	+
      	+               h->cmd_sg_list[c->cmdindex]->sg_chain_dma = temp64.val;
      
      pci_map_single() returns a dma_addr_t too.
      
      This code will still work even on a 32-bit x86 build, where
      dma_addr_t is defined to be a u32 because it will simply be
      promoted to the __u64 that temp64.val is defined as.
      
      Thus, declaring Cmd_sg_list.sg_chain_dma as dma_addr_t is safe.
      
      Cc: Don Brace <brace@beardog.cce.hp.com>
      Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com>
      Signed-off-by: NAlex Chiang <achiang@hp.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      32a87c01
  5. 13 11月, 2009 1 次提交
  6. 02 10月, 2009 4 次提交
  7. 09 6月, 2009 2 次提交
  8. 02 6月, 2009 1 次提交
    • A
      cciss: add cciss driver sysfs entries · 7fe06326
      Andrew Patterson 提交于
      Add sysfs entries to the cciss driver needed for the dm/multipath tools.
      
      A file for vendor, model, rev, and unique_id is added for each logical
      drive under directory /sys/bus/pci/devices/<dev>/ccissX/cXdY.  Where X =
      the controller (or host) number and Y is the logical drive number.
      
      A link from /sys/bus/pci/devices/<dev>/ccissX/cXdY/block:cciss!cXdY to
      /sys/block/cciss!cXdY/device is also created.  A bus is created in
      /sys/bus/cciss.  A link is created from the pci ccissX entry to
      /sys/bus/cciss/devices/ccissX.  Please consider this for inclusion.
      Signed-off-by: NMike Miller <mike.miller@hp.com>
      Cc: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      7fe06326
  9. 07 4月, 2009 1 次提交
    • M
      cciss: kernel scan thread for MSA2012 · 0a9279cc
      Mike Miller 提交于
      The MSA2012 cannot inform the driver of configuration changes since all
      management is out of band.  This is a departure from any storage we have
      supported in the past.  We need some way to detect changes on the topology
      so we implement this kernel thread.  In some instances there's nothing we
      can do from the driver (like LUN failure) so just print out a message.  In
      the case where logical volumes are added or deleted we call
      rebuild_lun_table to refresh the driver's view of the world.
      Signed-off-by: NMike Miller <mike.miller@hp.com>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      0a9279cc
  10. 29 12月, 2008 1 次提交
  11. 06 8月, 2008 1 次提交
  12. 08 12月, 2006 3 次提交
  13. 01 10月, 2006 1 次提交
  14. 26 6月, 2006 1 次提交
  15. 09 1月, 2006 2 次提交
    • C
      [PATCH] cciss: avoid defining useless MAJOR_NR macro · 564de74a
      Christoph Hellwig 提交于
      This sneaked in with one of the updates.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      564de74a
    • M
      [PATCH] cciss: adds MSI and MSI-X support · fb86a35b
      Mike Miller 提交于
      This creates a new function, cciss_interrupt_mode called from
      cciss_pci_init.  This function determines what type of interrupt vector to
      use, i.e., MSI, MSI-X, or IO-APIC.
      
      One noticeable difference is changing the interrupt field of the controller
      struct to an array of 4 unsigned ints.  The Smart Array HW is capable of
      generating 4 distinct interrupts depending on the transport method in use
      during operation.  These are:
      
      #define DOORBELL_INT 0
      Used to notify the contoller of configuration updates. We only use
      this feature when in polling mode.
      
      #define PERF_MODE_INT 0
      Used when the controller is in Performant Mode.
      
      #define SIMPLE_MODE_INT 2
      Used when the controller is in Simple Mode (current Linux implementation).
      
      #define MEMQ_INT_MODE 3
      Not used.
      
      When using IO-APIC interrupts these 4 lines are OR'ed together so when any
      one fires an interrupt an is generated.  In MSI or MSI-X mode this hardware
      OR'ing is ignored.  We must register for our interrupt depending on what
      mode the controller is running.  For Linux we use SIMPLE_MODE_INT
      exclusively at this time.  Please consider this for inclusion.
      Signed-off-by: NMike Miller <mike.miller@hp.com>
      Cc: Jens Axboe <axboe@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      fb86a35b
  16. 07 11月, 2005 1 次提交
  17. 13 9月, 2005 3 次提交
  18. 28 7月, 2005 1 次提交
    • M
      [PATCH] cciss per disk queue · ad2b9312
      Mike Miller 提交于
      This patch adds per disk queue functionality to cciss.  Sometime back I
      submitted a patch but it looks like only part of what I needed.  In the 2.6
      kernel if we have more than one logical volume the driver will Oops during
      rmmod.  It seems all of the queues actually point back to the same queue.
      So after deleting the first volume you hit a null pointer on the second
      one.
      
      This has been tested in our labs.  There is no difference in performance,
      it just fixes the Oops.
      Signed-off-by: NMike Miller <mike.miller@hp.com>
      Cc: Jens Axboe <axboe@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ad2b9312
  19. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4