attachment:rr62x-linuxla-src-v1.0-natty.patch of RocketRaid


Attachment 'rr62x-linuxla-src-v1.0-natty.patch'

Download

Toggle line numbers
   1 diff -Naur rr62x-linuxla-src-v1.0/osm/linux/os_linux.c rr62x-linuxla-src-v1.0-patch/osm/linux/os_linux.c
   2 --- rr62x-linuxla-src-v1.0/osm/linux/os_linux.c	2010-04-20 22:20:41.000000000 -0700
   3 +++ rr62x-linuxla-src-v1.0-patch/osm/linux/os_linux.c	2011-06-25 12:49:28.058368483 -0700
   4 @@ -260,7 +260,7 @@
   5  					struct block_device *bdev = bdget(MKDEV(major[i], minor));
   6  					if (bdev &&
   7  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)
   8 -						blkdev_get(bdev, FMODE_READ)
   9 +						blkdev_get(bdev, FMODE_READ, NULL)
  10  #else 
  11  						blkdev_get(bdev, FMODE_READ, 0 __BDEV_RAW)
  12  #endif
  13 diff -Naur rr62x-linuxla-src-v1.0/osm/linux/osm_linux.c rr62x-linuxla-src-v1.0-patch/osm/linux/osm_linux.c
  14 --- rr62x-linuxla-src-v1.0/osm/linux/osm_linux.c	2010-04-20 22:20:41.000000000 -0700
  15 +++ rr62x-linuxla-src-v1.0-patch/osm/linux/osm_linux.c	2011-06-25 12:37:31.565164140 -0700
  16 @@ -922,7 +922,7 @@
  17  	}
  18  }
  19  
  20 -static int hpt_queuecommand (Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *))
  21 +static int hpt_queuecommand_lck (Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) 
  22  {
  23  	struct Scsi_Host *phost = sc_host(SCpnt);
  24  	PVBUS_EXT vbus_ext = get_vbus_ext(phost);
  25 @@ -1456,6 +1456,12 @@
  26  	return 0;
  27  }
  28  
  29 +#ifdef DEF_SCSI_QCMD
  30 +DEF_SCSI_QCMD(hpt_queuecommand)
  31 +#else
  32 +#define hpt_queuecommand hpt_queuecommand_lck
  33 +#endif
  34 +
  35  static int hpt_reset (Scsi_Cmnd *SCpnt)
  36  {
  37  	PVBUS_EXT vbus_ext = get_vbus_ext(sc_host(SCpnt));
  38 diff -Naur rr62x-linuxla-src-v1.0/osm/linux/osm_linux.h rr62x-linuxla-src-v1.0-patch/osm/linux/osm_linux.h
  39 --- rr62x-linuxla-src-v1.0/osm/linux/osm_linux.h	2010-04-20 22:20:41.000000000 -0700
  40 +++ rr62x-linuxla-src-v1.0-patch/osm/linux/osm_linux.h	2011-06-25 12:27:26.835399082 -0700
  41 @@ -8,10 +8,6 @@
  42  
  43  /* system headers */
  44  
  45 -#ifndef AUTOCONF_INCLUDED
  46 -#include <linux/config.h>
  47 -#endif
  48 -
  49  #include <linux/version.h>
  50  
  51  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) && defined(MODVERSIONS)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2014-04-28 10:10:12, 11.3 KB) [[attachment:rocketraid-linux-3.11-patch-r2.tar.bz2]]
  • [get | view] (2013-06-08 09:47:59, 460.5 KB) [[attachment:rr232x-dkms_1.10_all.deb]]
  • [get | view] (2016-10-29 03:47:34, 541.0 KB) [[attachment:rr264x-linux-src-v1.5-k4.x.tar.gz]]
  • [get | view] (2011-08-17 01:57:49, 1.7 KB) [[attachment:rr268x-linux-src-v1.4-natty.patch]]
  • [get | view] (2011-09-18 13:23:14, 558.5 KB) [[attachment:rr62x-dkms_1.1_all.deb]]
  • [get | view] (2014-04-28 09:58:05, 487.3 KB) [[attachment:rr62x-linux-src-v1.3.3-130822-17639.tar.gz]]
  • [get | view] (2011-06-25 20:24:32, 1.8 KB) [[attachment:rr62x-linuxla-src-v1.0-natty.patch]]
  • [get | view] (2011-12-23 21:33:29, 6.3 KB) [[attachment:rr62x-linuxla-src-v1.0-oneiric.patch]]
  • [get | view] (2011-09-18 13:05:30, 559.4 KB) [[attachment:rr64x-dkms_1.0_all.deb]]
  • [get | view] (2012-05-08 20:36:54, 900.6 KB) [[attachment:rr6xx-drivers-precise.tar.gz]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.