Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 198672 | Differences between
and this patch

Collapse All | Expand All

(-)vhba-module-1.1.0.orig/Makefile (-1 / +1 lines)
Lines 12-18 Link Here
12
KDIR := /lib/modules/$(KERNELRELEASE)/build
12
KDIR := /lib/modules/$(KERNELRELEASE)/build
13
KMAKE := $(MAKE) -C $(KDIR) M=$(PWD)
13
KMAKE := $(MAKE) -C $(KDIR) M=$(PWD)
14
14
15
all: kernel.api.h modules
15
all: modules
16
16
17
kernel.api.h: kat/*.c
17
kernel.api.h: kat/*.c
18
	kat/kat ${KDIR} $@ $^
18
	kat/kat ${KDIR} $@ $^
(-)vhba-module-1.1.0.orig/vhba.c (-1 / +9 lines)
Lines 18-23 Link Here
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
 */
19
 */
20
20
21
#include <linux/version.h>
21
#include <linux/init.h>
22
#include <linux/init.h>
22
#include <linux/module.h>
23
#include <linux/module.h>
23
#include <linux/highmem.h>
24
#include <linux/highmem.h>
Lines 32-38 Link Here
32
#include <scsi/scsi_cmnd.h>
33
#include <scsi/scsi_cmnd.h>
33
#include <scsi/scsi_device.h>
34
#include <scsi/scsi_device.h>
34
35
35
#include <kernel.api.h>
36
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
37
#include <linux/scatterlist.h>
38
#define KAT_SCATTERLIST_HAS_PAGE
39
#endif
40
41
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
42
#define KAT_HAVE_SCSI_MACROS
43
#endif
36
44
37
MODULE_AUTHOR("Chia-I Wu");
45
MODULE_AUTHOR("Chia-I Wu");
38
MODULE_VERSION(VHBA_VERSION);
46
MODULE_VERSION(VHBA_VERSION);

Return to bug 198672