ppc32: Remove CONFIG_PMAC_PBOOK
Subsystems (8)
PATCH 1/1 ppc32: Remove CONFIG_PMAC_PBOOK
Hi !
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.
It applies on top of my two previous patches removing macserial and fixing the PMU irq priority.
drivers/video/aty/aty128fb.c +0 -14
@@ -350,10 +350,8 @@static int default_cmode__initdata =CMODE_8 ;#endif -#ifdef CONFIG_PMAC_PBOOK static int default_crt_on__initdata =0 ;static int default_lcd_on__initdata =1 ; -#endif #ifdef CONFIG_MTRR static int mtrr =1 ;
@@ -1249,7 +1247,6 @@return 0 ; } -#ifdef CONFIG_PMAC_PBOOK static void aty128_set_crt_enable (struct aty128fb_par *par,int on) {if (on) {
@@ -1284,7 +1281,6 @@aty_st_le32 (LVDS_GEN_CNTL , reg); } } -#endif /* CONFIG_PMAC_PBOOK */ static void aty128_set_pll (struct aty128_pll *pll,const struct aty128fb_par *par) {
@@ -1491,12 +1487,10 @@ info->fix.visual = par->crtc.bpp ==8 ?FB_VISUAL_PSEUDOCOLOR :FB_VISUAL_DIRECTCOLOR ; -#ifdef CONFIG_PMAC_PBOOK if (par->chip_gen == rage_M3) {aty128_set_crt_enable (par, par->crt_on);aty128_set_lcd_enable (par, par->lcd_on); } -#endif if (par->accel_flags &FB_ACCELF_TEXT )aty128_init_engine (par);
@@ -1652,7 +1646,6 @@return 0 ;while ((this_opt =strsep (&options,"," )) !=NULL ) { -#ifdef CONFIG_PMAC_PBOOK if (!strncmp (this_opt,"lcd:" ,4 )) { default_lcd_on =simple_strtoul (this_opt+4 ,NULL ,0 );continue ;
@@ -1660,7 +1653,6 @@ default_crt_on =simple_strtoul (this_opt+4 ,NULL ,0 );continue ; } -#endif #ifdef CONFIG_MTRR if (!strncmp (this_opt,"nomtrr" ,6 )) { mtrr =0 ;
@@ -1752,10 +1744,8 @@ info->fbops = &aty128fb_ops; info->flags =FBINFO_FLAG_DEFAULT ; -#ifdef CONFIG_PMAC_PBOOK par->lcd_on = default_lcd_on; par->crt_on = default_crt_on; -#endif var = default_var;#ifdef CONFIG_PPC_PMAC
@@ -2035,12 +2025,10 @@aty_st_8 (CRTC_EXT_CNTL +1 , state); -#ifdef CONFIG_PMAC_PBOOK if (par->chip_gen == rage_M3) {aty128_set_crt_enable (par, par->crt_on && !blank);aty128_set_lcd_enable (par, par->lcd_on && !blank); } -#endif #ifdef CONFIG_PMAC_BACKLIGHT if ((_machine == _MACH_Pmac) && !blank)set_backlight_enable (1 );
@@ -2124,7 +2112,6 @@static int aty128fb_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg,struct fb_info *info) { -#ifdef CONFIG_PMAC_PBOOK struct aty128fb_par *par = info->par;u32 value;int rc;
@@ -2149,7 +2136,6 @@ value = (par->crt_on <<1 ) | par->lcd_on;return put_user (value, (__u32 __user *)arg); } -#endif return -EINVAL ; }
drivers/macintosh/Kconfig +10 -25
@@ -86,33 +86,18 @@ on the "SMU" system control chip which replaces the old PMU. If you don't know, say Y. -config PMAC_PBOOK - bool "Power management support for PowerBooks" - depends on ADB_PMU - ---help--- - This provides support for putting a PowerBook to sleep; it also - enables media bay support. Power management works on the - PB2400/3400/3500, Wallstreet, Lombard, and Bronze PowerBook G3 and - the Titanium Powerbook G4, as well as the iBooks. You should get - the power management daemon, pmud, to make it work and you must have - the /dev/pmu device (see the pmud README). - - Get pmud from <ftp://ftp.samba.org/pub/ppclinux/pmud/>. - - If you have a PowerBook, you should say Y here. - - You may also want to compile the dma sound driver as a module and - have it autoloaded. The act of removing the module shuts down the - sound hardware for more power savings. - -config PM - bool - depends on PPC_PMAC && ADB_PMU && PMAC_PBOOK - default y - config PMAC_APM_EMU tristate "APM emulation" - depends on PMAC_PBOOK + depends on PPC_PMAC && PPC32 && PM + +config PMAC_MEDIABAY + bool "Support PowerBook hotswap media bay" + depends on PPC_PMAC && PPC32 + help + This option adds support for older PowerBook's hotswap media bay + that can contains batteries, floppy drives, or IDE devices. PCI + devices are not fully supported in the bay as I never had one to + try with # made a separate option since backlight may end up beeing used # on non-powerbook machines (but only on PMU based ones AFAIK)
drivers/macintosh/adb.c +5 -5
@@ -90,7 +90,7 @@static int autopoll_devs;int __adb_probe_sync; -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM static int adb_notify_sleep (struct pmu_sleep_notifier *self,int when);static struct pmu_sleep_notifier adb_sleep_notifier = { adb_notify_sleep,
@@ -320,9 +320,9 @@printk (KERN_WARNING "Warning: no ADB interface detected\n" ); adb_controller =NULL ; }else { -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM pmu_register_sleep_notifier (&adb_sleep_notifier); -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ #ifdef CONFIG_PPC if (machine_is_compatible ("AAPL,PowerBook1998" ) ||machine_is_compatible ("PowerBook1,1" ))
@@ -337,7 +337,7 @@__initcall (adb_init); -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM /* * notify clients before sleep and reset bus afterwards */
@@ -378,7 +378,7 @@ }return PBOOK_SLEEP_OK ; } -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ static int do_adb_reset_bus (void )
arch/ppc/platforms/pmac_sleep.S +2 -2
@@ -46,7 +46,7 @@ .section .text .align 5 -#if defined(CONFIG_PMAC_PBOOK) || defined(CONFIG_CPU_FREQ_PMAC) +#if defined(CONFIG_PM) || defined(CONFIG_CPU_FREQ_PMAC) /* This gets called by via-pmu.c late during the sleep process. * The PMU was already send the sleep command and will shut us down
@@ -382,7 +382,7 @@ isync rfi -#endif /* defined(CONFIG_PMAC_PBOOK) || defined(CONFIG_CPU_FREQ) */ +#endif /* defined(CONFIG_PM) || defined(CONFIG_CPU_FREQ) */ .section .data .balign L1_CACHE_LINE_SIZE
arch/ppc/platforms/pmac_time.c +4 -4
@@ -206,7 +206,7 @@return 1 ; } -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM /* * Reset the time after a sleep. */
@@ -238,7 +238,7 @@ static struct pmu_sleep_notifier time_sleep_notifier __pmacdata = { time_sleep_notify,SLEEP_LEVEL_MISC , }; -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ /* * Query the OF and get the decr frequency.
@@ -251,9 +251,9 @@struct device_node *cpu;unsigned int freq, *fp; -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM pmu_register_sleep_notifier (&time_sleep_notifier); -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ /* We assume MacRISC2 machines have correct device-tree * calibration. That's better since the VIA itself seems
drivers/block/swim3.c +9 -1
@@ -253,7 +253,7 @@static int swim3_add_device (struct device_node *swims);int swim3_init (void ); -#ifndef CONFIG_PMAC_PBOOK +#ifndef CONFIG_PMAC_MEDIABAY #define check_media_bay (which, what) 1#endif
@@ -297,9 +297,11 @@int i;for (i=0 ;i<floppy_count;i++) { +#ifdef CONFIG_PMAC_MEDIABAY if (floppy_states[i].media_bay &&check_media_bay (floppy_states[i].media_bay,MB_FD ))continue ; +#endif /* CONFIG_PMAC_MEDIABAY */ start_request (&floppy_states[i]); }sti ();
@@ -856,8 +858,10 @@if ((cmd &0x80 ) && !capable (CAP_SYS_ADMIN ))return -EPERM ; +#ifdef CONFIG_PMAC_MEDIABAY if (fs->media_bay &&check_media_bay (fs->media_bay,MB_FD ))return -ENXIO ; +#endif switch (cmd) {case FDEJECT :
@@ -881,8 +885,10 @@int n, err =0 ;if (fs->ref_count ==0 ) { +#ifdef CONFIG_PMAC_MEDIABAY if (fs->media_bay &&check_media_bay (fs->media_bay,MB_FD ))return -ENXIO ; +#endif out_8 (&sw->setup,S_IBM_DRIVE |S_FCLK_DIV2 );out_8 (&sw->control_bic,0xff );out_8 (&sw->mode,0x95 );
@@ -967,8 +973,10 @@struct swim3 __iomem *sw;int ret, n; +#ifdef CONFIG_PMAC_MEDIABAY if (fs->media_bay &&check_media_bay (fs->media_bay,MB_FD ))return -ENXIO ; +#endif sw = fs->swim3;grab_drive (fs, revalidating,0 );
drivers/char/misc.c +0 -3
@@ -309,9 +309,6 @@#ifdef CONFIG_BVME6000 rtc_DP8570A_init ();#endif -#ifdef CONFIG_PMAC_PBOOK -pmu_device_init (); -#endif if (register_chrdev (MISC_MAJOR ,"misc" ,&misc_fops)) {printk ("unable to get major %d for misc devices\n" ,MISC_MAJOR );
drivers/ide/ppc/pmac.c +4 -4
@@ -1324,9 +1324,9 @@/* XXX FIXME: Media bay stuff need re-organizing */ if (np->parent && np->parent->name &&strcasecmp (np->parent->name,"media-bay" ) ==0 ) { -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PMAC_MEDIABAY media_bay_set_ide_infos (np->parent, pmif->regbase, pmif->irq, hwif->index); -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PMAC_MEDIABAY */ pmif->mediabay =1 ;if (!bidp) pmif->aapl_bus_id =1 ;
@@ -1382,10 +1382,10 @@ hwif->index, model_name[pmif->kind], pmif->aapl_bus_id, pmif->mediabay ? " (mediabay)" : "", hwif->irq); -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PMAC_MEDIABAY if (pmif->mediabay &&check_media_bay_by_base (pmif->regbase,MB_CD ) ==0 ) hwif->noprobe =0 ; -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PMAC_MEDIABAY */ hwif->sg_max_nents =MAX_DCMDS ;
drivers/ieee1394/ohci1394.c +5 -5
@@ -3538,8 +3538,8 @@static int ohci1394_pci_resume (struct pci_dev *pdev) { -#ifdef CONFIG_PMAC_PBOOK - { +#ifdef CONFIG_PPC_PMAC +if (_machine == _MACH_Pmac) {struct device_node *of_node;/* Re-enable 1394 */
@@ -3547,7 +3547,7 @@if (of_node) pmac_call_feature (PMAC_FTR_1394_ENABLE, of_node, 0, 1); } -#endif +#endif /* CONFIG_PPC_PMAC */ pci_enable_device (pdev);
@@ -3557,8 +3557,8 @@static int ohci1394_pci_suspend (struct pci_dev *pdev,pm_message_t state) { -#ifdef CONFIG_PMAC_PBOOK - { +#ifdef CONFIG_PPC_PMAC +if (_machine == _MACH_Pmac) {struct device_node *of_node;/* Disable 1394 */
drivers/macintosh/Makefile +1 -1
@@ -6,7 +6,7 @@ obj-$(CONFIG_PPC_PMAC) += macio_asic.o -obj-$(CONFIG_PMAC_PBOOK) += mediabay.o +obj-$(CONFIG_PMAC_MEDIABAY) += mediabay.o obj-$(CONFIG_MAC_EMUMOUSEBTN) += mac_hid.o obj-$(CONFIG_INPUT_ADBHID) += adbhid.o obj-$(CONFIG_ANSLCD) += ans-lcd.o
drivers/usb/host/ohci-pci.c +5 -8
@@ -14,14 +14,11 @@* This file is licenced under the GPL. */ -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PPC_PMAC #include <asm/machdep.h> #include <asm/pmac_feature.h> #include <asm/pci-bridge.h> #include <asm/prom.h> -#ifndef CONFIG_PM -# define CONFIG_PM -#endif #endif #ifndef CONFIG_PCI
@@ -132,7 +129,7 @@/* let things settle down a bit */ msleep (100 ); -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PPC_PMAC if (_machine == _MACH_Pmac) {struct device_node *of_node;
@@ -141,7 +138,7 @@if (of_node) pmac_call_feature(PMAC_FTR_USB_ENABLE, of_node, 0, 0); } -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PPC_PMAC */ return 0 ; }
@@ -151,7 +148,7 @@struct ohci_hcd *ohci =hcd_to_ohci (hcd);int retval =0 ; -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PPC_PMAC if (_machine == _MACH_Pmac) {struct device_node *of_node;
@@ -160,7 +157,7 @@if (of_node) pmac_call_feature (PMAC_FTR_USB_ENABLE, of_node, 0, 1); } -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PPC_PMAC */ /* resume root hub */ if (time_before (jiffies, ohci->next_statechange))
drivers/video/chipsfb.c +93 -85
261 lines not on this page · raw message
sound/oss/dmasound/dmasound_awacs.c +7 -7
@@ -255,7 +255,7 @@static volatile struct dbdma_cmd *emergency_dbdma_cmd; -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM /* * Stuff for restoring after a sleep. */
@@ -263,7 +263,7 @@struct pmu_sleep_notifier awacs_sleep_notifier = { awacs_sleep_notify,SLEEP_LEVEL_SOUND , }; -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ /* for (soft) sample rate translations */ int expand_bal;/* Balance factor for expanding (not volume!) */
@@ -675,7 +675,7 @@kfree (awacs_rx_cmd_space);kfree (beep_dbdma_cmd_space);kfree (beep_buf); -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM pmu_unregister_sleep_notifier (&awacs_sleep_notifier);#endif }
@@ -1415,7 +1415,7 @@ } } -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM /* * Save state when going to sleep, restore it afterwards. */
@@ -1551,7 +1551,7 @@ }return PBOOK_SLEEP_OK ; } -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ /* All the burgundy functions: */
@@ -3053,9 +3053,9 @@if ((res=setup_beep ()))return res ; -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM pmu_register_sleep_notifier (&awacs_sleep_notifier); -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ /* Powerbooks have odd ways of enabling inputs such as an expansion-bay CD or sound from an internal modem
sound/ppc/awacs.c +4 -4
@@ -90,7 +90,7 @@snd_pmac_awacs_write (chip, val | (reg <<12 )); } -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM /* Recalibrate chip */ static void screamer_recalibrate (pmac_t *chip) {
@@ -642,7 +642,7 @@ } } -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM static void snd_pmac_awacs_suspend (pmac_t *chip) { snd_pmac_awacs_write_noreg(chip, 1, (chip->awacs_reg[1]
@@ -676,7 +676,7 @@ }#endif } -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ #ifdef PMAC_SUPPORT_AUTOMUTE /*
@@ -883,7 +883,7 @@* set lowlevel callbacks */ chip->set_format = snd_pmac_awacs_set_format; -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM chip->suspend = snd_pmac_awacs_suspend; chip->resume = snd_pmac_awacs_resume;#endif
sound/ppc/daca.c +3 -3
@@ -218,7 +218,7 @@ }; -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM static void daca_resume (pmac_t *chip) {pmac_daca_t *mix = chip->mixer_data;
@@ -227,7 +227,7 @@ mix->amp_on ? 0x05 : 0x04); daca_set_volume(mix); } -#endif /* CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ static void daca_cleanup (pmac_t *chip)
@@ -275,7 +275,7 @@return err; } -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM chip->resume = daca_resume;#endif
sound/ppc/pmac.c +6 -5
@@ -36,7 +36,7 @@#include <asm/pci-bridge.h> -#if defined(CONFIG_PM ) && defined(CONFIG_PMAC_PBOOK ) +#ifdef CONFIG_PM static int snd_pmac_register_sleep_notifier (pmac_t *chip);static int snd_pmac_unregister_sleep_notifier (pmac_t *chip);static int snd_pmac_suspend (snd_card_t *card,pm_message_t state);
@@ -782,7 +782,7 @@ }snd_pmac_sound_feature (chip,0 ); -#if defined(CONFIG_PM ) && defined(CONFIG_PMAC_PBOOK ) +#ifdef CONFIG_PM snd_pmac_unregister_sleep_notifier (chip);#endif
@@ -1292,7 +1292,7 @@/* Reset dbdma channels */ snd_pmac_dbdma_reset (chip); -#if defined(CONFIG_PM ) && defined(CONFIG_PMAC_PBOOK ) +#ifdef CONFIG_PM /* add sleep notifier */ if (!snd_pmac_register_sleep_notifier (chip))snd_card_set_pm_callback (chip->card, snd_pmac_suspend, snd_pmac_resume, chip);
@@ -1316,7 +1316,7 @@* sleep notify for powerbook */ -#if defined(CONFIG_PM ) && defined(CONFIG_PMAC_PBOOK ) +#ifdef CONFIG_PM /* * Save state when going to sleep, restore it afterwards.
@@ -1414,4 +1414,5 @@ return 0; } -#endif /* CONFIG_PM && CONFIG_PMAC_PBOOK */ +#endif /* CONFIG_PM */ +
sound/ppc/pmac.h +1 -1
@@ -167,7 +167,7 @@void (*set_format)(pmac_t *chip);void (*update_automute)(pmac_t *chip,int do_notify);int (*detect_headphone)(pmac_t *chip); -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM void (*suspend)(pmac_t *chip);void (*resume)(pmac_t *chip);#endif
sound/ppc/tumbler.c +2 -2
@@ -1128,7 +1128,7 @@ } } -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM /* suspend mixer */ static void tumbler_suspend (pmac_t *chip) {
@@ -1370,7 +1370,7 @@if ((err =snd_ctl_add (chip->card, chip->drc_sw_ctl)) <0 )return err; -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM chip->suspend = tumbler_suspend; chip->resume = tumbler_resume;#endif
drivers/macintosh/via-pmu.c +30 -40
264 lines not on this page · raw message
include/linux/pmu.h +3 -3
@@ -166,7 +166,7 @@extern int pmu_i2c_simple_write (int bus,int addr,u8 * data,int len); -#ifdef CONFIG_PMAC_PBOOK +#ifdef CONFIG_PM /* * Stuff for putting the powerbook to sleep and waking it again. *
@@ -208,6 +208,8 @@int pmu_register_sleep_notifier (struct pmu_sleep_notifier * notifier);int pmu_unregister_sleep_notifier (struct pmu_sleep_notifier * notifier); +#endif /* CONFIG_PM */ +#define PMU_MAX_BATTERIES 2/* values for pmu_power_flags */
@@ -235,6 +237,4 @@extern struct pmu_battery_info pmu_batteries[PMU_MAX_BATTERIES ];extern unsigned int pmu_power_flags; -#endif /* CONFIG_PMAC_PBOOK */ -#endif /* __KERNEL__ */
Quoted 5 lines
This patch removes
CONFIG_PMAC_PBOOK(PowerBook support). This is now split intoCONFIG_PMAC_MEDIABAYfor the actual hotswap bay that some powerbooks have,CONFIG_PMfor 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.
Is there any real reason not to enable CONFIG_PM on all Macs?
Segher
Quoted 8 lines · Segher Boessenkool
Quoted 6 lines
This patch removes
CONFIG_PMAC_PBOOK(PowerBook support). This is now split intoCONFIG_PMAC_MEDIABAYfor the actual hotswap bay that some powerbooks have,CONFIG_PMfor 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.Is there any real reason not to enable
CONFIG_PMon all Macs
People using old desktop machines with little memory may want to keep the RAM footprint low :)
Ben.
Quoted 5 lines · Benjamin Herrenschmidt
This patch removes
CONFIG_PMAC_PBOOK(PowerBook support). This is now split intoCONFIG_PMAC_MEDIABAYfor the actual hotswap bay that some powerbooks have,CONFIG_PMfor 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.
Can you clarify the CONFIG_PMAC_MEDIABAY for which powerbooks this is needed exactly? AFAIK up to one of the G3 models, but you probably know better :)
Quoted 10 lines · Christoph Hellwig
Quoted 5 lines · Benjamin Herrenschmidt
This patch removes
CONFIG_PMAC_PBOOK(PowerBook support). This is now split intoCONFIG_PMAC_MEDIABAYfor the actual hotswap bay that some powerbooks have,CONFIG_PMfor 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.Can you clarify the
CONFIG_PMAC_MEDIABAYfor which powerbooks this is needed exactly? AFAIK up to one of the G3 models, but you probably know better :)
3400/3500 models (603 & first G3), wallstreet and 101 afaik. Mostly old models with a hotswap bay containing the CD-ROM, a floppy drive or an additional battery.
Ben.
Quoted 8 lines · Benjamin Herrenschmidt
Quoted 7 lines · Christoph Hellwig
Quoted 5 lines · Benjamin Herrenschmidt
This patch removes
CONFIG_PMAC_PBOOK(PowerBook support). This is now split intoCONFIG_PMAC_MEDIABAYfor the actual hotswap bay that some powerbooks have,CONFIG_PMfor 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.
Quoted 7 lines
Quoted 3 lines
Can you clarify the
CONFIG_PMAC_MEDIABAYfor which powerbooks this is needed exactly? AFAIK up to one of the G3 models, but you probably know better :)3400/3500 models (603 & first G3), wallstreet and 101 afaik. Mostly old models with a hotswap bay containing the CD-ROM, a floppy drive or an additional battery.
Actually all G3 including the Pismo (I have one) although I don't know if the drive bay accepts floppy drives. By the time this model was introduced, floppies were already on their way out.
Mine was delivered with a DVD reader, which is the only part that really shows problems after 4 years and a half of daily use (and it has got its third battery but that's in line with expected battery life).
Gabriel
Quoted 13 lines · Gabriel Paubert
Quoted 12 lines · Benjamin Herrenschmidt
Quoted 10 lines · Christoph Hellwig
Quoted 5 lines · Benjamin Herrenschmidt
This patch removes
CONFIG_PMAC_PBOOK(PowerBook support). This is now split intoCONFIG_PMAC_MEDIABAYfor the actual hotswap bay that some powerbooks have,CONFIG_PMfor 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.Can you clarify the
CONFIG_PMAC_MEDIABAYfor which powerbooks this is needed exactly? AFAIK up to one of the G3 models, but you probably know better :)
Quoted 7 lines
Quoted 3 lines
3400/3500 models (603 & first G3), wallstreet and 101 afaik. Mostly old models with a hotswap bay containing the CD-ROM, a floppy drive or an additional battery.
Actually all G3 including the Pismo (I have one) although I don't know if the drive bay accepts floppy drives. By the time this model was introduced, floppies were already on their way out.
Yup, I don't think Keylargo has a swim3 cell
Quoted 5 lines
Mine was delivered with a DVD reader, which is the only part that really shows problems after 4 years and a half of daily use (and it has got its third battery but that's in line with expected battery life).
Gabriel