All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Jander <david.jander@protonic.nl>
To: linux-ppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: MPC8xx support in 2.6 and [PATCH] USB host controller selection...
Date: Thu, 27 Oct 2005 14:39:48 +0200	[thread overview]
Message-ID: <200510271439.48990.david.jander@protonic.nl> (raw)

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


Hi all,

I am trying to figure out if kernel-2.6.x is already a (stable) option for 
MPC8xx processors. Any hints? experience?
I just rsynced DENX's git tree (cg-clone will crash on a 404 error).
Problems I have found until now:

- Processor identification is still shady. Thanks to Marcello's patch 
yesterday, it now boots up without problems, but this definitely needs to be 
done. Who is working on this part?

- USB Kconfig file for 2.6 kernel is broken. It is not correct to assume that 
you either have a PCI interface or a processor with internal HCI. Proof: We 
have a board based on MPC852T (no internal UHCI) which can plug into an 
(optional) daughter board with a ISP1160 on it. See attached patch.

Maybe the patch should be sent elsewere since it has not much to do with PPC, 
so can someone please tell me where?

Greetings,

-- 
David Jander

[-- Attachment #2: usb-hcd-selection.patch --]
[-- Type: text/x-diff, Size: 1111 bytes --]

--- drivers/usb/Kconfig.old	2005-10-27 14:26:03.701868944 +0200
+++ drivers/usb/Kconfig	2005-10-27 14:26:37.729695928 +0200
@@ -4,37 +4,9 @@
 
 menu "USB support"
 
-# Host-side USB depends on having a host controller
-# NOTE:  dummy_hcd is always an option, but it's ignored here ...
-# NOTE:  SL-811 option should be board-specific ...
-config USB_ARCH_HAS_HCD
-	boolean
-	default y if USB_ARCH_HAS_OHCI
-	default y if ARM				# SL-811
-	default PCI
-
-# many non-PCI SOC chips embed OHCI
-config USB_ARCH_HAS_OHCI
-	boolean
-	# ARM:
-	default y if SA1111
-	default y if ARCH_OMAP
-	default y if ARCH_LH7A404
-	default y if ARCH_S3C2410
-	default y if PXA27x
-	# PPC:
-	default y if STB03xxx
-	default y if PPC_MPC52xx
-	default y if 440EP
-	# MIPS:
-	default y if SOC_AU1X00
-	# more:
-	default PCI
-
 # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
 config USB
 	tristate "Support for Host-side USB"
-	depends on USB_ARCH_HAS_HCD
 	---help---
 	  Universal Serial Bus (USB) is a specification for a serial bus
 	  subsystem which offers higher speeds and more features than the

             reply	other threads:[~2005-10-27 12:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27 12:39 David Jander [this message]
2005-10-27 12:57 ` MPC8xx support in 2.6 and [PATCH] USB host controller selection Vitaly Bordug
2005-10-27 13:47 ` Wolfgang Denk
2005-10-27 14:28   ` Jeff Angielski
2005-10-27 21:08     ` Wolfgang Denk
2005-10-28 15:21 ` Marcelo Tosatti
2005-10-28 20:43   ` Greg KH

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=200510271439.48990.david.jander@protonic.nl \
    --to=david.jander@protonic.nl \
    --cc=linuxppc-embedded@ozlabs.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 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.