diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2010-03-01 15:40:56 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-03-02 16:20:53 -0500 |
commit | f25e188c892a9a82f8c3babf6fda304fff8cb3cc (patch) | |
tree | 4ef0e9ce4d70ef5dc5a2413f3d0905a713c65e03 /drivers/pcmcia/xxs1500_ss.c | |
parent | f9097dce5d799462e086adca28815dac5006bb30 (diff) |
pcmcia: alchemy: fixup wrong comments
Commit 11b897cf84c37e6522db914793677e933ef311fb changed expected
pcmcia area addresses from the 32bit pseudo to the real 36bit
addresses, but did not update the comments.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/xxs1500_ss.c')
-rw-r--r-- | drivers/pcmcia/xxs1500_ss.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/drivers/pcmcia/xxs1500_ss.c b/drivers/pcmcia/xxs1500_ss.c index 61560cd6e287..f9009d34254b 100644 --- a/drivers/pcmcia/xxs1500_ss.c +++ b/drivers/pcmcia/xxs1500_ss.c | |||
@@ -218,11 +218,7 @@ static int __devinit xxs1500_pcmcia_probe(struct platform_device *pdev) | |||
218 | 218 | ||
219 | ret = -ENODEV; | 219 | ret = -ENODEV; |
220 | 220 | ||
221 | /* | 221 | /* 36bit PCMCIA Attribute area address */ |
222 | * pseudo-attr: The 32bit address of the PCMCIA attribute space | ||
223 | * for this socket (usually the 36bit address shifted 4 to the | ||
224 | * right). | ||
225 | */ | ||
226 | r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "pcmcia-attr"); | 222 | r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "pcmcia-attr"); |
227 | if (!r) { | 223 | if (!r) { |
228 | dev_err(&pdev->dev, "missing 'pcmcia-attr' resource!\n"); | 224 | dev_err(&pdev->dev, "missing 'pcmcia-attr' resource!\n"); |
@@ -230,10 +226,7 @@ static int __devinit xxs1500_pcmcia_probe(struct platform_device *pdev) | |||
230 | } | 226 | } |
231 | sock->phys_attr = r->start; | 227 | sock->phys_attr = r->start; |
232 | 228 | ||
233 | /* | 229 | /* 36bit PCMCIA Memory area address */ |
234 | * pseudo-mem: The 32bit address of the PCMCIA memory space for | ||
235 | * this socket (usually the 36bit address shifted 4 to the right) | ||
236 | */ | ||
237 | r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "pcmcia-mem"); | 230 | r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "pcmcia-mem"); |
238 | if (!r) { | 231 | if (!r) { |
239 | dev_err(&pdev->dev, "missing 'pcmcia-mem' resource!\n"); | 232 | dev_err(&pdev->dev, "missing 'pcmcia-mem' resource!\n"); |
@@ -241,10 +234,7 @@ static int __devinit xxs1500_pcmcia_probe(struct platform_device *pdev) | |||
241 | } | 234 | } |
242 | sock->phys_mem = r->start; | 235 | sock->phys_mem = r->start; |
243 | 236 | ||
244 | /* | 237 | /* 36bit PCMCIA IO area address */ |
245 | * pseudo-io: The 32bit address of the PCMCIA IO space for this | ||
246 | * socket (usually the 36bit address shifted 4 to the right). | ||
247 | */ | ||
248 | r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "pcmcia-io"); | 238 | r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "pcmcia-io"); |
249 | if (!r) { | 239 | if (!r) { |
250 | dev_err(&pdev->dev, "missing 'pcmcia-io' resource!\n"); | 240 | dev_err(&pdev->dev, "missing 'pcmcia-io' resource!\n"); |