linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
@ 2008-07-27 16:37 Stephen Rothwell
  2008-07-27 17:27 ` Alan Cox
  2008-07-27 17:39 ` Sean MacLennan
  0 siblings, 2 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-07-27 16:37 UTC (permalink / raw)
  To: Karsten Keil; +Cc: ppc-dev, Andrew Morton, Linus, LKML

On powerpc (allyesconfig build) we get this error:

drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of function 'virt_to_bus'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/isdn/hardware/mISDN/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/isdn/hardware/mISDN/Kconfig b/drivers/isdn/hardware/mISDN/Kconfig
index 1479348..9cd5f5f 100644
--- a/drivers/isdn/hardware/mISDN/Kconfig
+++ b/drivers/isdn/hardware/mISDN/Kconfig
@@ -7,6 +7,7 @@ config MISDN_HFCPCI
 	tristate "Support for HFC PCI cards"
 	depends on MISDN
 	depends on PCI
+	depends on VIRT_TO_BUS
 	help
 	  Enable support for cards with Cologne Chip AG's
           HFC PCI chip.
-- 
1.5.6.3

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 16:37 [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus() Stephen Rothwell
@ 2008-07-27 17:27 ` Alan Cox
  2008-07-27 19:56   ` David Miller
  2008-07-28  0:15   ` Stephen Rothwell
  2008-07-27 17:39 ` Sean MacLennan
  1 sibling, 2 replies; 13+ messages in thread
From: Alan Cox @ 2008-07-27 17:27 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: ppc-dev, Andrew Morton, Linus, LKML, Karsten Keil

On Mon, 28 Jul 2008 02:37:32 +1000
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> On powerpc (allyesconfig build) we get this error:
> 
> drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of function 'virt_to_bus'
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Can we please not merge new virt_to_bus users and instead fix the actual
code to use the right functions?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 16:37 [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus() Stephen Rothwell
  2008-07-27 17:27 ` Alan Cox
@ 2008-07-27 17:39 ` Sean MacLennan
  2008-07-28  0:23   ` Stephen Rothwell
  1 sibling, 1 reply; 13+ messages in thread
From: Sean MacLennan @ 2008-07-27 17:39 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: ppc-dev, Andrew Morton, Linus, LKML, Karsten Keil

On Mon, 28 Jul 2008 02:37:32 +1000
"Stephen Rothwell" <sfr@canb.auug.org.au> wrote:

> On powerpc (allyesconfig build) we get this error:
> 
> drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit
> declaration of function 'virt_to_bus'

When did mISDN make it into the kernel? And which kernel tree is it in?
I don't see it in the Linux next tree....

I am very interested since we are trying to get mISDN working on the
Warp. There was no notice that they got 2.6.26 compiling.

Cheers,
   Sean

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 17:27 ` Alan Cox
@ 2008-07-27 19:56   ` David Miller
  2008-07-27 20:33     ` Roland Dreier
  2008-07-28 12:33     ` Christoph Hellwig
  2008-07-28  0:15   ` Stephen Rothwell
  1 sibling, 2 replies; 13+ messages in thread
From: David Miller @ 2008-07-27 19:56 UTC (permalink / raw)
  To: alan; +Cc: sfr, kkeil, linux-kernel, linuxppc-dev, akpm, torvalds

From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Sun, 27 Jul 2008 18:27:09 +0100

> On Mon, 28 Jul 2008 02:37:32 +1000
> Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> > On powerpc (allyesconfig build) we get this error:
> > 
> > drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of function 'virt_to_bus'
> > 
> > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> 
> Can we please not merge new virt_to_bus users and instead fix the actual
> code to use the right functions?

Yes, please.

IMHO, this driver was really rushed in and that was a huge mistake.
If it had gone through linux-next we could have tidied all of this
stuff up in a less "rushed" manner.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 19:56   ` David Miller
@ 2008-07-27 20:33     ` Roland Dreier
  2008-07-27 20:43       ` Sam Ravnborg
                         ` (2 more replies)
  2008-07-28 12:33     ` Christoph Hellwig
  1 sibling, 3 replies; 13+ messages in thread
From: Roland Dreier @ 2008-07-27 20:33 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, kkeil, linux-kernel, linuxppc-dev, akpm, torvalds, alan

 > IMHO, this driver was really rushed in and that was a huge mistake.
 > If it had gone through linux-next we could have tidied all of this
 > stuff up in a less "rushed" manner.

??  This thread *is* about a build failure in linux-next.

 - R.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 20:33     ` Roland Dreier
@ 2008-07-27 20:43       ` Sam Ravnborg
  2008-07-28  0:17         ` Stephen Rothwell
  2008-07-27 23:14       ` David Miller
  2008-07-28  0:16       ` Stephen Rothwell
  2 siblings, 1 reply; 13+ messages in thread
From: Sam Ravnborg @ 2008-07-27 20:43 UTC (permalink / raw)
  To: Roland Dreier
  Cc: sfr, kkeil, linux-kernel, linuxppc-dev, akpm, torvalds,
	David Miller, alan

On Sun, Jul 27, 2008 at 01:33:49PM -0700, Roland Dreier wrote:
>  > IMHO, this driver was really rushed in and that was a huge mistake.
>  > If it had gone through linux-next we could have tidied all of this
>  > stuff up in a less "rushed" manner.
> 
> ??  This thread *is* about a build failure in linux-next.
mISDN are in -linus which is part of -next and Stephens point is that if
we have had mISDN in -next then this would have been fixed before hitting
-linus. Maybe Karsten should use davem as gateway as he has anyway been
so for other isdn patches lately?

	Sam

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 20:33     ` Roland Dreier
  2008-07-27 20:43       ` Sam Ravnborg
@ 2008-07-27 23:14       ` David Miller
  2008-07-28  0:20         ` Stephen Rothwell
  2008-07-28  0:16       ` Stephen Rothwell
  2 siblings, 1 reply; 13+ messages in thread
From: David Miller @ 2008-07-27 23:14 UTC (permalink / raw)
  To: rdreier; +Cc: sfr, kkeil, linux-kernel, linuxppc-dev, akpm, torvalds, alan

From: Roland Dreier <rdreier@cisco.com>
Date: Sun, 27 Jul 2008 13:33:49 -0700

>  > IMHO, this driver was really rushed in and that was a huge mistake.
>  > If it had gone through linux-next we could have tidied all of this
>  > stuff up in a less "rushed" manner.
> 
> ??  This thread *is* about a build failure in linux-next.

The driver went directly into Linus's tree.

Stephen hit the build problem once he synced linux-next up with
Linus's current tree.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 17:27 ` Alan Cox
  2008-07-27 19:56   ` David Miller
@ 2008-07-28  0:15   ` Stephen Rothwell
  1 sibling, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-07-28  0:15 UTC (permalink / raw)
  To: Alan Cox; +Cc: ppc-dev, Andrew Morton, Linus, LKML, Karsten Keil

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

On Sun, 27 Jul 2008 18:27:09 +0100 Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>
> On Mon, 28 Jul 2008 02:37:32 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> > On powerpc (allyesconfig build) we get this error:
> > 
> > drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of function 'virt_to_bus'
> > 
> > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> 
> Can we please not merge new virt_to_bus users and instead fix the actual
> code to use the right functions?

Absolutely.  But I currently just want my trees to build (I am a bear of
little brain with simple needs :-))

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 20:33     ` Roland Dreier
  2008-07-27 20:43       ` Sam Ravnborg
  2008-07-27 23:14       ` David Miller
@ 2008-07-28  0:16       ` Stephen Rothwell
  2 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-07-28  0:16 UTC (permalink / raw)
  To: Roland Dreier
  Cc: kkeil, linux-kernel, linuxppc-dev, akpm, torvalds, David Miller,
	alan

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

Hi Roland,

On Sun, 27 Jul 2008 13:33:49 -0700 Roland Dreier <rdreier@cisco.com> wrote:
>
>  > IMHO, this driver was really rushed in and that was a huge mistake.
>  > If it had gone through linux-next we could have tidied all of this
>  > stuff up in a less "rushed" manner.
> 
> ??  This thread *is* about a build failure in linux-next.

I noticed this in Linus' tree ... I did not mention linux-next.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 20:43       ` Sam Ravnborg
@ 2008-07-28  0:17         ` Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-07-28  0:17 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: kkeil, Roland Dreier, linux-kernel, linuxppc-dev, akpm, torvalds,
	David Miller, alan

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

Hi Sam,

On Sun, 27 Jul 2008 22:43:55 +0200 Sam Ravnborg <sam@ravnborg.org> wrote:
>
> On Sun, Jul 27, 2008 at 01:33:49PM -0700, Roland Dreier wrote:
> >  > IMHO, this driver was really rushed in and that was a huge mistake.
> >  > If it had gone through linux-next we could have tidied all of this
> >  > stuff up in a less "rushed" manner.
> > 
> > ??  This thread *is* about a build failure in linux-next.
> mISDN are in -linus which is part of -next and Stephens point is that if
> we have had mISDN in -next then this would have been fixed before hitting
> -linus.

Dave made that point, not me.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 23:14       ` David Miller
@ 2008-07-28  0:20         ` Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-07-28  0:20 UTC (permalink / raw)
  To: David Miller
  Cc: kkeil, rdreier, linux-kernel, linuxppc-dev, akpm, torvalds, alan

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

Hi Dave,

On Sun, 27 Jul 2008 16:14:32 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> The driver went directly into Linus's tree.
> 
> Stephen hit the build problem once he synced linux-next up with
> Linus's current tree.

It didn't even get as far as linux-next, I was just browsing the
bloodbath that is/was Linus' tree
(http://kisskb.ellerman.id.au/kisskb/branch/3/) :-(.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 17:39 ` Sean MacLennan
@ 2008-07-28  0:23   ` Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-07-28  0:23 UTC (permalink / raw)
  To: Sean MacLennan; +Cc: ppc-dev, Andrew Morton, Linus, LKML, Karsten Keil

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

Hi Sean,

On Sun, 27 Jul 2008 13:39:18 -0400 Sean MacLennan <smaclennan@pikatech.com> wrote:
>
> On Mon, 28 Jul 2008 02:37:32 +1000
> "Stephen Rothwell" <sfr@canb.auug.org.au> wrote:
> 
> > On powerpc (allyesconfig build) we get this error:
> > 
> > drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit
> > declaration of function 'virt_to_bus'
> 
> When did mISDN make it into the kernel? And which kernel tree is it in?
> I don't see it in the Linux next tree....

Its not in linux-next (will be today).  It went straight into Linus' tree
late last week.

> I am very interested since we are trying to get mISDN working on the
> Warp. There was no notice that they got 2.6.26 compiling.

It won't even build on powerpc64, powercp32 should at least build.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()
  2008-07-27 19:56   ` David Miller
  2008-07-27 20:33     ` Roland Dreier
@ 2008-07-28 12:33     ` Christoph Hellwig
  1 sibling, 0 replies; 13+ messages in thread
From: Christoph Hellwig @ 2008-07-28 12:33 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, kkeil, linux-kernel, linuxppc-dev, akpm, torvalds, alan

On Sun, Jul 27, 2008 at 12:56:04PM -0700, David Miller wrote:
> Yes, please.
> 
> IMHO, this driver was really rushed in and that was a huge mistake.
> If it had gone through linux-next we could have tidied all of this
> stuff up in a less "rushed" manner.

Or just reviewed in at least some way..

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-07-28 12:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-27 16:37 [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus() Stephen Rothwell
2008-07-27 17:27 ` Alan Cox
2008-07-27 19:56   ` David Miller
2008-07-27 20:33     ` Roland Dreier
2008-07-27 20:43       ` Sam Ravnborg
2008-07-28  0:17         ` Stephen Rothwell
2008-07-27 23:14       ` David Miller
2008-07-28  0:20         ` Stephen Rothwell
2008-07-28  0:16       ` Stephen Rothwell
2008-07-28 12:33     ` Christoph Hellwig
2008-07-28  0:15   ` Stephen Rothwell
2008-07-27 17:39 ` Sean MacLennan
2008-07-28  0:23   ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).