mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.17: CONFIG_PARPORT_SERIAL should require CONFIG_SERIAL_8250_PCI?
@ 2006-06-18 10:23 Andrey Borzenkov
  2006-06-18 12:05 ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Borzenkov @ 2006-06-18 10:23 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just rebuilt 2.6.17 from older config and disabling 8250 PCI (I do not have 
any on notebook) and got:

WARNING: "pciserial_init_ports" [drivers/parport/parport_serial.ko] undefined!
WARNING: "pciserial_suspend_ports" [drivers/parport/parport_serial.ko] 
undefined!
WARNING: "pciserial_remove_ports" [drivers/parport/parport_serial.ko] 
undefined!
WARNING: "pciserial_resume_ports" [drivers/parport/parport_serial.ko] 
undefined!

# CONFIG_SERIAL_8250_PCI is not set
CONFIG_PARPORT_SERIAL=m

PARPORT_SERIAL is probably leftover that I overlooked, I do not actually need 
this either.

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFElSmVR6LMutpd94wRAmDrAKCgKU5OIDhTqqPuyqNE8G1tHnzONACgq6+B
hvNakgfw8FQV4nUSfga8/DQ=
=oD/G
-----END PGP SIGNATURE-----

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

* Re: 2.6.17: CONFIG_PARPORT_SERIAL should require CONFIG_SERIAL_8250_PCI?
  2006-06-18 10:23 2.6.17: CONFIG_PARPORT_SERIAL should require CONFIG_SERIAL_8250_PCI? Andrey Borzenkov
@ 2006-06-18 12:05 ` Russell King
  2006-06-18 15:28   ` Andrey Borzenkov
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King @ 2006-06-18 12:05 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: linux-kernel

On Sun, Jun 18, 2006 at 02:23:07PM +0400, Andrey Borzenkov wrote:
> Just rebuilt 2.6.17 from older config and disabling 8250 PCI (I do not have 
> any on notebook) and got:

Thanks for reporting this.  The patch below should fix this - please
test so it can be submitted for the stable branch, thanks.

# Base git commit: 427abfa28afedffadfca9dd8b067eb6d36bac53f
#	(Linux v2.6.17)
#
# Author:    Russell King (Sun Jun 18 13:00:48 BST 2006)
# Committer: Russell King (Sun Jun 18 13:00:48 BST 2006)
#	
#	[SERIAL] PARPORT_SERIAL should depend on SERIAL_8250_PCI
#	
#	Since parport_serial uses symbols from 8250_pci, there should
#	be a dependency between the configuration symbols for these
#	two modules.  Problem reported by Andrey Borzenkov
#	
#	Signed-off-by: Russell King
#
#	 drivers/parport/Kconfig |    2 +-
#	 1 files changed, 1 insertions(+), 1 deletions(-)
#
diff --git a/drivers/parport/Kconfig b/drivers/parport/Kconfig
--- a/drivers/parport/Kconfig
+++ b/drivers/parport/Kconfig
@@ -48,7 +48,7 @@ config PARPORT_PC
 
 config PARPORT_SERIAL
 	tristate "Multi-IO cards (parallel and serial)"
-	depends on SERIAL_8250 && PARPORT_PC && PCI
+	depends on SERIAL_8250_PCI && PARPORT_PC && PCI
 	help
 	  This adds support for multi-IO PCI cards that have parallel and
 	  serial ports.  You should say Y or M here.  If you say M, the module


-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

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

* Re: 2.6.17: CONFIG_PARPORT_SERIAL should require CONFIG_SERIAL_8250_PCI?
  2006-06-18 12:05 ` Russell King
@ 2006-06-18 15:28   ` Andrey Borzenkov
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Borzenkov @ 2006-06-18 15:28 UTC (permalink / raw)
  To: Russell King; +Cc: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 18 June 2006 16:05, Russell King wrote:
> On Sun, Jun 18, 2006 at 02:23:07PM +0400, Andrey Borzenkov wrote:
> > Just rebuilt 2.6.17 from older config and disabling 8250 PCI (I do not
> > have any on notebook) and got:
>
> Thanks for reporting this.  The patch below should fix this - please
> test so it can be submitted for the stable branch, thanks.
>

I confirm that with this patch doing oldconfig and deselecting SERIAL_8250_PCI 
also deselects PARPORT_SERIAL.

regards

- -andrey

> # Base git commit: 427abfa28afedffadfca9dd8b067eb6d36bac53f
> #	(Linux v2.6.17)
> #
> # Author:    Russell King (Sun Jun 18 13:00:48 BST 2006)
> # Committer: Russell King (Sun Jun 18 13:00:48 BST 2006)
> #
> #	[SERIAL] PARPORT_SERIAL should depend on SERIAL_8250_PCI
> #
> #	Since parport_serial uses symbols from 8250_pci, there should
> #	be a dependency between the configuration symbols for these
> #	two modules.  Problem reported by Andrey Borzenkov
> #
> #	Signed-off-by: Russell King
> #
> #	 drivers/parport/Kconfig |    2 +-
> #	 1 files changed, 1 insertions(+), 1 deletions(-)
> #
> diff --git a/drivers/parport/Kconfig b/drivers/parport/Kconfig
> --- a/drivers/parport/Kconfig
> +++ b/drivers/parport/Kconfig
> @@ -48,7 +48,7 @@ config PARPORT_PC
>
>  config PARPORT_SERIAL
>  	tristate "Multi-IO cards (parallel and serial)"
> -	depends on SERIAL_8250 && PARPORT_PC && PCI
> +	depends on SERIAL_8250_PCI && PARPORT_PC && PCI
>  	help
>  	  This adds support for multi-IO PCI cards that have parallel and
>  	  serial ports.  You should say Y or M here.  If you say M, the module
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFElXEzR6LMutpd94wRAh5PAKC7rNyFMqogQPGgYYixgK14M6hwcgCgs8h8
IqQIn2z447RBjQGLXM00iog=
=Tisv
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2006-06-18 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-18 10:23 2.6.17: CONFIG_PARPORT_SERIAL should require CONFIG_SERIAL_8250_PCI? Andrey Borzenkov
2006-06-18 12:05 ` Russell King
2006-06-18 15:28   ` Andrey Borzenkov

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®