lkml.org 
[lkml]   [2003]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] fix scsi/aha15*.c for 2.5.60
| > > Here are patches to aha152x.c and aha1542.c so that they will build
| > > in 2.5.60.
| > >
| > > Please review and apply or comment...
| >
| > well it applies, compiles, but it gives a warning on depmod in make
| > modules_install:
| >
| > <snip>
| > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.60; fi
| > WARNING: /lib/modules/2.5.60/kernel/drivers/scsi/aha152x.ko needs unknown
| > symbol scsi_put_command
| > WARNING: /lib/modules/2.5.60/kernel/drivers/scsi/aha152x.ko needs unknown
| > symbol scsi_get_command
| >
| > this is the relevant part of my .config:
| > CONFIG_SCSI=m
| > CONFIG_SCSI_AHA152X=m
| >
| > this gives these modules in /lib/modules/2.5.60/kernel/drivers/scsi/:
| > aha152x.ko scsi_mod.ko sg.ko
| >
| > what am i missing??
|
| Nothing really, the symbols need to be exported from the SCSI core.
| I'll add them to the export list.

I generated a patch for Rudmer in case he needs it.

~Randy


patch_name: scsi-exports-2560.patch
patch_version: 2003-02-12.14:44:43
author: Randy.Dunlap <rddunlap@osdl.org>
description: _
product: Linux
product_versions: linux-2560
changelog: _
URL: _
requires: _
conflicts: _
diffstat: TBD
diff -Naur ./drivers/scsi/scsi_syms.c%EXP ./drivers/scsi/scsi_syms.c
--- ./drivers/scsi/scsi_syms.c%EXP Mon Feb 10 10:38:37 2003
+++ ./drivers/scsi/scsi_syms.c Wed Feb 12 14:42:43 2003
@@ -80,6 +80,8 @@
EXPORT_SYMBOL(scsi_slave_detach);
EXPORT_SYMBOL(scsi_device_get);
EXPORT_SYMBOL(scsi_device_put);
+EXPORT_SYMBOL(scsi_get_command);
+EXPORT_SYMBOL(scsi_put_command);

/*
* This symbol is for the highlevel drivers (e.g. sg) only.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:33    [from the cache]
©2003-2011 Jasper Spaans