| To: | Florian Fainelli <florian@openwrt.org> |
|---|---|
| Subject: | Re: [PATCH v2 3/3] MIPS: BCM47xx: rewrite GPIO handling and use gpiolib |
| From: | Rafał Miłecki <zajec5@gmail.com> |
| Date: | Thu, 16 Aug 2012 19:39:10 +0200 |
| Cc: | Hauke Mehrtens <hauke@hauke-m.de>, ralf@linux-mips.org, linux-mips@linux-mips.org, linux-wireless@vger.kernel.org, john@phrozen.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=YzvUXa0F5TWf5Q6hQD3rjDaJsqFMAY9Q/7mK85mxoJo=; b=wsqVmV0xlSMl39XWi+TusLTqdlfJWom/MjkCO6rDqgRPB0SjBCzIEiqgdDR1XsW3OL Bi7zELwH7h/PEjER2l1M/lua4CIWpNGKjO8fT7jTa5NEj8mX8tqOKIF93vl7HFt0kAxR UOEEDbDY28vMjma/lg+GgKaj8rq8LPbOzwh4fO691gKpOy+UH7DUTzOe23CL1Ikt5pAv rNgDM3qyUraJ2BYP0fD675w8pfbIS4Kk+i9RppwBPmynrdYSPH+jCxp4jkYVyhgp5Sm1 NiWNtYim/1hTd58zOmQil8P78CwdROm8I85s6nNBrb1KNbUUVKYnzBtpP7v7aaveO+N4 8q5g== |
| In-reply-to: | <1791263.5FQJJv4xHF@bender> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1345132801-8430-1-git-send-email-hauke@hauke-m.de> <1345132801-8430-4-git-send-email-hauke@hauke-m.de> <1791263.5FQJJv4xHF@bender> |
| Sender: | linux-mips-bounce@linux-mips.org |
2012/8/16 Florian Fainelli <florian@openwrt.org>:
>> +void __init bcm47xx_gpio_init(void)
>> +{
>> + int err;
>> +
>> + switch (bcm47xx_bus_type) {
>> +#ifdef CONFIG_BCM47XX_SSB
>> + case BCM47XX_BUS_TYPE_SSB:
>> + bcm47xx_gpio_count = ssb_gpio_count(&bcm47xx_bus.ssb);
>> +#endif
>> +#ifdef CONFIG_BCM47XX_BCMA
>> + case BCM47XX_BUS_TYPE_BCMA:
>> + bcm47xx_gpio_count = bcma_gpio_count(&bcm47xx_bus.bcma.bus);
>> +#endif
>> + }
>
> Is this exclusive? Cannot we have both SSB and BCMA on the same device?
This applies to SoC only, so I believe it's fine. We don't have SoCs
based on BCMA and SSB at the same time.
You can find devices with multiple buses, but additional ones are
connected via PCIE or USB interface (or some other I don't know
about).
--
Rafał
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v3 6/7] mm: make clear_huge_page cache clear only around the fault address, Kirill A. Shutemov |
|---|---|
| Next by Date: | [PATCH] MIPS: Optimize pgd_init and pmd_init, David Daney |
| Previous by Thread: | Re: [PATCH v2 3/3] MIPS: BCM47xx: rewrite GPIO handling and use gpiolib, Florian Fainelli |
| Next by Thread: | Re: [PATCH v2 3/3] MIPS: BCM47xx: rewrite GPIO handling and use gpiolib, Arend van Spriel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |