mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Adam J. Richter" <adam@yggdrasil.com>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: PATCH: linux-2.4.13-pre5/drivers/message/i2o directory adjustments
Date: Fri, 19 Oct 2001 05:59:44 -0700	[thread overview]
Message-ID: <20011019055944.A9176@baldur.yggdrasil.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

	Some files in linux-2.4.13-pre5 were not updated to reflect
the fact that drivers/i2o was moved to drivers/message/i2o, so the
kernel will not compile.  Also, it looks like the code expects
the "pdev" field to be part of struct i2o_pci, but the .h file
was not updated.  I have included a possible patch to fix that
problem too, although perhaps the i2o maintainers may wish to
propose a different patch.

-- 
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1447 bytes --]

--- linux-2.4.13-pre5/drivers/Makefile	Fri Oct 19 00:58:41 2001
+++ linux/drivers/Makefile	Fri Oct 19 05:52:10 2001
@@ -7,7 +7,7 @@
 
 
 mod-subdirs :=	dio mtd sbus video macintosh usb input telephony sgi ide \
-		i2o message/fusion scsi md ieee1394 pnp isdn atm \
+		message/fusion message/i2o scsi md ieee1394 pnp isdn atm \
 		fc4 net/hamradio i2c acpi bluetooth
 
 subdir-y :=	parport char block net sound misc media cdrom
--- linux-2.4.13-pre5/drivers/message/i2o/i2o_scsi.c	Fri Oct 19 00:58:41 2001
+++ linux/drivers/message/i2o/i2o_scsi.c	Fri Oct 19 05:52:44 2001
@@ -48,9 +48,9 @@
 #include <linux/blk.h>
 #include <linux/version.h>
 #include <linux/i2o.h>
-#include "../scsi/scsi.h"
-#include "../scsi/hosts.h"
-#include "../scsi/sd.h"
+#include "../../scsi/scsi.h"
+#include "../../scsi/hosts.h"
+#include "../../scsi/sd.h"
 #include "i2o_scsi.h"
 
 #define VERSION_STRING        "Version 0.0.1"
@@ -909,4 +909,4 @@
 
 static Scsi_Host_Template driver_template = I2OSCSI;
 
-#include "../scsi/scsi_module.c"
+#include "../../scsi/scsi_module.c"
--- /tmp/adam/linux-2.4.13-pre5/include/linux/i2o.h	Fri Oct 19 00:58:42 2001
+++ /tmp/adam/linux/include/linux/i2o.h	Fri Oct 19 05:56:16 2001
@@ -88,6 +89,7 @@
 	int		mtrr_reg0;
 	int		mtrr_reg1;
 #endif
+	struct pci_dev *pdev;		/* PCI device */
 };
 
 /*
@@ -101,8 +103,6 @@
  */
 struct i2o_controller
 {
-	struct pci_dev *pdev;		/* PCI device */
-
 	char name[16];
 	int unit;
 	int type;

             reply	other threads:[~2001-10-19 12:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-19 12:59 Adam J. Richter [this message]
2001-10-19 13:50 ` Russell King
2001-10-19 19:51 ` Jeff Garzik
2001-10-21 12:36   ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011019055944.A9176@baldur.yggdrasil.com \
    --to=adam@yggdrasil.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®