Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.21 kernel config question : USB : PowerMac G4 [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1609
Location: U.S.A.

PostPosted: Wed Jul 18, 2007 1:21 am    Post subject: 2.6.21 kernel config question : USB : PowerMac G4 [Solved] Reply with quote

On a stock (for these purposes) Apple PowerMac G4/500 (AGP), I have been using Device Drivers > USB Support > OHCI HCD support (CONFIG_USB_OHCI_HCD=y).

Updating to 2.6.21-gentoo-sources I see new USB driver options for OHCI HCDs that I don't how to configure (especially with respect to "endian-ness").

Would these be right?
Quote:
[*] OHCI support for PPC USB controller on OF platform bus (USB_OHCI_HCD_PPC_OF=y)
[*] Support big endian HC (USB_OHCI_HCD_PPC_OF_BE=y)
[ ] Support little endian HC (USB_OHCI_HCD_PPC_OF_LE is not set)
[*] OHCI support for PCI-bus USB controllers (USB_OHCI_HCD_PCI=y)


If you're not familiar with the device, here's the lspci output:
Code:
0001:11:08.0 USB Controller: Apple Computer Inc. KeyLargo USB (prog-if 10 [OHCI])
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 (750ns min, 21500ns max)
        Interrupt: pin A routed to IRQ 27
        Region 0: Memory at 80082000 (32-bit, non-prefetchable) [size=4K]


Last edited by Bones McCracker on Wed Jul 18, 2007 1:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Wed Jul 18, 2007 6:32 am    Post subject: Reply with quote

If it works, then it's OK. ;-)

And those options *should be* OK. As you are running Apple PowerPC it's big endian.

regards,

-markus
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1609
Location: U.S.A.

PostPosted: Wed Jul 18, 2007 12:46 pm    Post subject: Reply with quote

Thank you. :)
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed Jul 18, 2007 9:29 pm    Post subject: Reply with quote

corsair wrote:
If it works, then it's OK. ;-)

And those options *should be* OK. As you are running Apple PowerPC it's big endian.

regards,

-markus

Just as a matter of curiosity, what kind of machine is PPC _and_ little endian?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 19, 2007 12:55 pm    Post subject: Reply with quote

You can actually run PowerPC in little endian mode, but it's not the default and linux isn't ported to this variant. That option exists for USB *host* controllers that work in little endian mode. Many PCI devices do, even on big endian machines.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1609
Location: U.S.A.

PostPosted: Thu Jul 19, 2007 4:24 pm    Post subject: Reply with quote

Wouldn't selecting both options "work", but cause each new usb i/o process to thrash for a second probing to see whether the controller is big-endian or little-endian?
_________________
patrix_neo wrote:
The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum