From: Eduardo Pereira Habkost <ehabkost@conectiva.com.br>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Allow to compile IDE as module
Date: Thu, 13 Mar 2003 17:08:04 -0300 [thread overview]
Message-ID: <20030313200804.GE23024@duckman.distro.conectiva> (raw)
[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]
Marcelo, the following patch fixes drivers/ide/Makefile
to allow to use CONFIG_BLK_DEV_IDE=m.
--
Eduardo
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1014 -> 1.1015
# drivers/ide/Makefile 1.10 -> 1.11
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/13 ehabkost@duckman.distro.conectiva 1.1015
# Makefile:
# Fix ide Makefile to allow CONFIG_BLK_DEV_IDE as module
# --------------------------------------------
#
diff -Nru a/drivers/ide/Makefile b/drivers/ide/Makefile
--- a/drivers/ide/Makefile Thu Mar 13 17:01:12 2003
+++ b/drivers/ide/Makefile Thu Mar 13 17:01:12 2003
@@ -35,9 +35,13 @@
obj-$(CONFIG_BLK_DEV_IDETAPE) += ide-tape.o
obj-$(CONFIG_BLK_DEV_IDEFLOPPY) += ide-floppy.o
-obj-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o
-obj-$(CONFIG_BLK_DEV_IDEDMA_PCI) += ide-dma.o
-obj-$(CONFIG_BLK_DEV_ISAPNP) += ide-pnp.o
+# These options are boolean, but the files must be
+# on obj-m if CONFIG_BLK_DEV is m:
+ide-obj-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o
+ide-obj-$(CONFIG_BLK_DEV_IDEDMA_PCI) += ide-dma.o
+ide-obj-$(CONFIG_BLK_DEV_ISAPNP) += ide-pnp.o
+
+obj-$(CONFIG_BLK_DEV) += ide-obj-y
ifeq ($(CONFIG_BLK_DEV_IDE),y)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2003-03-13 19:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-13 20:08 Eduardo Pereira Habkost [this message]
2003-03-13 22:02 ` Eduardo Pereira Habkost
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=20030313200804.GE23024@duckman.distro.conectiva \
--to=ehabkost@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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®