mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org,
	linux-scsi@vger.kernel.org
Subject: [PATCH] SCSI: link scsi_debug later (updated)
Date: Wed, 22 Mar 2006 13:47:10 -0800	[thread overview]
Message-ID: <20060322134710.2de9e19d.rdunlap@xenotime.net> (raw)
In-Reply-To: <1143055627.3629.1.camel@mulgrave.il.steeleye.com>

From: Randy Dunlap <rdunlap@xenotime.net>

Changing CONFIG_SCSI_DEBUG from =n or =m to =y can cause the enumeration
of the SATA devices to change.

Fix that by linking the scsi_debug driver after the SATA drivers.
Leave scsi_debug at the bottom of the list of low-level drivers so
that this problem doesn't happen again.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Douglas Gilbert <dougg@torque.net>
---
 drivers/scsi/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2616-rc6.orig/drivers/scsi/Makefile
+++ linux-2616-rc6/drivers/scsi/Makefile
@@ -117,7 +117,6 @@ obj-$(CONFIG_SCSI_PPA)		+= ppa.o
 obj-$(CONFIG_SCSI_IMM)		+= imm.o
 obj-$(CONFIG_JAZZ_ESP)		+= NCR53C9x.o	jazz_esp.o
 obj-$(CONFIG_SUN3X_ESP)		+= NCR53C9x.o	sun3x_esp.o
-obj-$(CONFIG_SCSI_DEBUG)	+= scsi_debug.o
 obj-$(CONFIG_SCSI_FCAL)		+= fcal.o
 obj-$(CONFIG_SCSI_LASI700)	+= 53c700.o lasi700.o
 obj-$(CONFIG_SCSI_NSP32)	+= nsp32.o
@@ -140,6 +139,7 @@ obj-$(CONFIG_SCSI_SATA_MV)	+= libata.o s
 obj-$(CONFIG_SCSI_PDC_ADMA)	+= libata.o pdc_adma.o
 
 obj-$(CONFIG_ARM)		+= arm/
+obj-$(CONFIG_SCSI_DEBUG)	+= scsi_debug.o
 
 obj-$(CONFIG_CHR_DEV_ST)	+= st.o
 obj-$(CONFIG_CHR_DEV_OSST)	+= osst.o



---

      reply	other threads:[~2006-03-22 21:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21 15:59 [GIT PATCH] pending SCSI updates for post 2.6.16 James Bottomley
2006-03-22 16:36 ` Randy.Dunlap
2006-03-22 17:19   ` James Bottomley
2006-03-22 18:14     ` Douglas Gilbert
2006-03-22 18:49   ` Linus Torvalds
2006-03-22 18:57     ` Randy.Dunlap
2006-03-22 19:27     ` James Bottomley
2006-03-22 21:47       ` Randy.Dunlap [this message]

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=20060322134710.2de9e19d.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=James.Bottomley@SteelEye.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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®