From: John Otken <jotken@softadvances•com>
To: Kumar Gala <kumar.gala@freescale•com>
Cc: thomas@schnuerer-online•de,
linuxppc-embedded list <linuxppc-embedded@ozlabs•org>
Subject: Re: [linuxppc] 2.6.12-3 header <asm/usb.h> missing ?
Date: Tue, 09 Aug 2005 11:58:49 -0500 [thread overview]
Message-ID: <42F8E0C9.2050505@softadvances.com> (raw)
In-Reply-To: <A9E0A66D-CE6F-4A55-80FD-5D9E57BB6035@freescale.com>
My patch to add on-chip OHCI support to the 440EP adds
an asm/usb.h reference to 4xx/ibm440ep.c. Thomas may
also require it for his MPC5200 mods.
I don't like small include files either. Perhaps there
is an existing file where struct usb_hcd_platform_data
can live. Any suggestions?
John
Kumar Gala wrote:
> Why are we bothering with asm-ppc/usb.h anyways?
>
> The structure defn only appears to be used once. If this is true, why
> not just define it in the .c file.
>
> - kumar
>
> On Aug 9, 2005, at 7:19 AM, John Otken wrote:
>
>> Google found it for me. It is in my "Support 440EP
>> On-Chip OHCI USB Host Controller" patch:
>>
>> http://patchwork.ozlabs.org/linuxppc/patch?id=1965
>>
>>
>> diff -uprN a/include/asm-ppc/usb.h b/include/asm-ppc/usb.h
>> --- a/include/asm-ppc/usb.h 1969-12-31 17:00:00.000000000 -0700
>> +++ b/include/asm-ppc/usb.h 2005-08-05 06:13:58.000000000 -0500
>> @@ -0,0 +1,13 @@
>> +/*
>> + * ppc/usb.h:
>> + *
>> + */
>> +#ifndef _PPC_USB_H
>> +#define _PPC_USB_H
>> +
>> +struct usb_hcd_platform_data {
>> + int (*start) (struct platform_device *pdev);
>> + void (*stop) (struct platform_device *pdev);
>> +};
>> +
>> +#endif /* !(_PPC_USB_H) */
>>
>>
>> Kumar Gala wrote:
>>
>>>
>>>
>>> Begin forwarded message:
>>>
>>>
>>>> From: "Thomas S." <thomas@schnuerer-online•de>
>>>> Date: August 8, 2005 4:48:03 PM CDT
>>>> To: <linux-kernel@vger•kernel.org>
>>>> Subject: [linuxppc] 2.6.12-3 header <asm/usb.h> missing ?
>>>>
>>>>
>>>> Hello,
>>>>
>>>> Im using Kernel PPC on a MPC5200 board and try to use the onChip
>>>> USB. In
>>>> file /drivers/usb/host/ohci-ppc-soc.c a file <asm/usb.h> is included
>>>> which seems to be missing. I cant find it anywhere , any ideas ?
>>>>
>>>> Thomas
>>>>
>>>>
>>>>
>>>>
>>>> -
>>>> To unsubscribe from this list: send the line "unsubscribe linux-
>>>> kernel"
>>>> in
>>>> the body of a message to majordomo@vger•kernel.org
>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>> Please read the FAQ at http://www.tux.org/lkml/
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Linuxppc-embedded mailing list
>>> Linuxppc-embedded@ozlabs•org
>>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>>
>>
>
>
next prev parent reply other threads:[~2005-08-09 16:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <42F7D313.4020109@schnuerer-online.de>
2005-08-09 4:30 ` Fwd: [linuxppc] 2.6.12-3 header <asm/usb.h> missing ? Kumar Gala
2005-08-09 12:19 ` John Otken
2005-08-09 14:50 ` Kumar Gala
2005-08-09 16:26 ` Eugene Surovegin
2005-08-09 16:58 ` John Otken [this message]
2005-08-09 18:42 ` Kumar Gala
2005-08-10 19:44 ` Thomas S.
2005-08-10 19:53 ` Kumar Gala
2005-08-10 23:20 ` Dale Farnsworth
2005-08-09 18:26 ` Dale Farnsworth
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=42F8E0C9.2050505@softadvances.com \
--to=jotken@softadvances$(echo .)com \
--cc=kumar.gala@freescale$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
--cc=thomas@schnuerer-online$(echo .)de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox