diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-06-27 17:36:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 18:11:43 -0400 |
commit | 8c8709334cec803368a432a33e0f2e116d48fe07 (patch) | |
tree | f3298ae6d844e548c36df9fc3bfb5a3662d4e45d /drivers/ide/ppc | |
parent | fcd16cc084f2b98ab64d27721abdb941f3d9c4cb (diff) |
[PATCH] ppc32: Remove CONFIG_PMAC_PBOOK
This patch removes CONFIG_PMAC_PBOOK (PowerBook support). This is now
split into CONFIG_PMAC_MEDIABAY for the actual hotswap bay that some
powerbooks have, CONFIG_PM for power management related code, and just left
out of any CONFIG_* option for some generally useful stuff that can be used
on non-laptops as well.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ide/ppc')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 569f16767442..818380b5fd27 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1324,9 +1324,9 @@ pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif) | |||
1324 | /* XXX FIXME: Media bay stuff need re-organizing */ | 1324 | /* XXX FIXME: Media bay stuff need re-organizing */ |
1325 | if (np->parent && np->parent->name | 1325 | if (np->parent && np->parent->name |
1326 | && strcasecmp(np->parent->name, "media-bay") == 0) { | 1326 | && strcasecmp(np->parent->name, "media-bay") == 0) { |
1327 | #ifdef CONFIG_PMAC_PBOOK | 1327 | #ifdef CONFIG_PMAC_MEDIABAY |
1328 | media_bay_set_ide_infos(np->parent, pmif->regbase, pmif->irq, hwif->index); | 1328 | media_bay_set_ide_infos(np->parent, pmif->regbase, pmif->irq, hwif->index); |
1329 | #endif /* CONFIG_PMAC_PBOOK */ | 1329 | #endif /* CONFIG_PMAC_MEDIABAY */ |
1330 | pmif->mediabay = 1; | 1330 | pmif->mediabay = 1; |
1331 | if (!bidp) | 1331 | if (!bidp) |
1332 | pmif->aapl_bus_id = 1; | 1332 | pmif->aapl_bus_id = 1; |
@@ -1382,10 +1382,10 @@ pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif) | |||
1382 | hwif->index, model_name[pmif->kind], pmif->aapl_bus_id, | 1382 | hwif->index, model_name[pmif->kind], pmif->aapl_bus_id, |
1383 | pmif->mediabay ? " (mediabay)" : "", hwif->irq); | 1383 | pmif->mediabay ? " (mediabay)" : "", hwif->irq); |
1384 | 1384 | ||
1385 | #ifdef CONFIG_PMAC_PBOOK | 1385 | #ifdef CONFIG_PMAC_MEDIABAY |
1386 | if (pmif->mediabay && check_media_bay_by_base(pmif->regbase, MB_CD) == 0) | 1386 | if (pmif->mediabay && check_media_bay_by_base(pmif->regbase, MB_CD) == 0) |
1387 | hwif->noprobe = 0; | 1387 | hwif->noprobe = 0; |
1388 | #endif /* CONFIG_PMAC_PBOOK */ | 1388 | #endif /* CONFIG_PMAC_MEDIABAY */ |
1389 | 1389 | ||
1390 | hwif->sg_max_nents = MAX_DCMDS; | 1390 | hwif->sg_max_nents = MAX_DCMDS; |
1391 | 1391 | ||