* [PATCH] scsi: bnx2i depends on PCI.
@ 2009-06-15 18:11 Paul Mundt
2009-06-15 18:23 ` Michael Chan
0 siblings, 1 reply; 2+ messages in thread
From: Paul Mundt @ 2009-06-15 18:11 UTC (permalink / raw)
To: linux-scsi; +Cc: Michael Chan, James Bottomley
This fixes up the CONFIG_PCI=n case, primarily triggered on
allmodconfig/allyesconfig builds:
drivers/scsi/bnx2i/bnx2i_iscsi.c:760: error: implicit declaration of function 'pci_dev_get'
make[4]: *** [drivers/scsi/bnx2i/bnx2i_iscsi.o] Error 1
make[3]: *** [drivers/scsi/bnx2i] Error 2
The entire driver is PCI dependent, so just reflect it in the Kconfig.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Michael Chan <mchan@broadcom.com>
---
drivers/scsi/bnx2i/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/bnx2i/Kconfig b/drivers/scsi/bnx2i/Kconfig
index 820d428..0d63146 100644
--- a/drivers/scsi/bnx2i/Kconfig
+++ b/drivers/scsi/bnx2i/Kconfig
@@ -1,5 +1,6 @@
config SCSI_BNX2_ISCSI
tristate "Broadcom NetXtreme II iSCSI support"
+ depends on PCI
select SCSI_ISCSI_ATTRS
select CNIC
---help---
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: bnx2i depends on PCI.
2009-06-15 18:11 [PATCH] scsi: bnx2i depends on PCI Paul Mundt
@ 2009-06-15 18:23 ` Michael Chan
0 siblings, 0 replies; 2+ messages in thread
From: Michael Chan @ 2009-06-15 18:23 UTC (permalink / raw)
To: Paul Mundt; +Cc: linux-scsi, James Bottomley
On Mon, 2009-06-15 at 11:11 -0700, Paul Mundt wrote:
> This fixes up the CONFIG_PCI=n case, primarily triggered on
> allmodconfig/allyesconfig builds:
>
> drivers/scsi/bnx2i/bnx2i_iscsi.c:760: error: implicit declaration of function 'pci_dev_get'
> make[4]: *** [drivers/scsi/bnx2i/bnx2i_iscsi.o] Error 1
> make[3]: *** [drivers/scsi/bnx2i] Error 2
>
> The entire driver is PCI dependent, so just reflect it in the Kconfig.
>
A similar patch is already in James' tree:
http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=babdb788f7ec1a782a52240a5f6dae568f32565f
> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
> Cc: Michael Chan <mchan@broadcom.com>
>
> ---
>
> drivers/scsi/bnx2i/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/bnx2i/Kconfig b/drivers/scsi/bnx2i/Kconfig
> index 820d428..0d63146 100644
> --- a/drivers/scsi/bnx2i/Kconfig
> +++ b/drivers/scsi/bnx2i/Kconfig
> @@ -1,5 +1,6 @@
> config SCSI_BNX2_ISCSI
> tristate "Broadcom NetXtreme II iSCSI support"
> + depends on PCI
> select SCSI_ISCSI_ATTRS
> select CNIC
> ---help---
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-15 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-15 18:11 [PATCH] scsi: bnx2i depends on PCI Paul Mundt
2009-06-15 18:23 ` Michael Chan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.