Skip to contentSkip to conversation

(2.6 IDE) why PDC202XX_FORCE not allowed with BLK_DEV_PDC202XX_NEW=m?

PATCH Jakub Bogusz 2 participants 2 messages Mar 7, 2004

lore
Share & tools
lore
#0 lore raw

PDC202XX_FORCE option is needed to override controller disable by BIOS when RAID is used. Or maybe there is another way to do this in 2.6.x?

This option has "depends on BLK_DEV_PDC202XX_NEW=y" flag in drivers/ide/Kconfig, thus is not available with pdc202xx_new in module - why?
I saw success report with modular pdc202xx_new after this simple change (without PDC202XX_FORCE controller ports were not detected):

drivers/ide/Kconfig 2004-03-07 17:37:25.000000000 +0100 renamed from drivers/ide/Kconfig.orig 2004-03-04 07:16:45.000000000 +0100 +1 -1
@@ -720,7 +720,7 @@
 # FIXME - probably wants to be one for old and for new
 config PDC202XX_FORCE
        bool "Enable controller even if disabled by BIOS"
-       depends on BLK_DEV_PDC202XX_NEW=y
+       depends on BLK_DEV_PDC202XX_NEW
        help
          Enable the PDC202xx controller even if it has been disabled in the BIOS setup.
 

The same may apply to PDC202XX_BURST for pdc202xx_old module... (but not tested)

Signature · 2 lines
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/
PLD Team        http://www.pld-linux.org/
#1 lore raw

[ Please use [email protected] for IDE issues. ]

Quoted 2 lines · Jakub Bogusz

PDC202XX_FORCE option is needed to override controller disable by BIOS when RAID is used. Or maybe there is another way to do this in 2.6.x?

Nope.

Quoted 3 lines

This option has "depends on BLK_DEV_PDC202XX_NEW=y" flag in drivers/ide/Kconfig, thus is not available with pdc202xx_new in module - why?

It seems like a leftover from non-modular IDE PCI days.

Quoted 16 lines

I saw success report with modular pdc202xx_new after this simple change (without PDC202XX_FORCE controller ports were not detected):

--- linux/drivers/ide/Kconfig.orig 2004-03-04 07:16:45.000000000
+0100 +++ linux/drivers/ide/Kconfig 2004-03-07 17:37:25.000000000 +0100

drivers/ide/Kconfig 2004-03-07 17:37:25.000000000 +0100 renamed from drivers/ide/Kconfig.orig 2004-03-04 07:16:45.000000000 +0100 +1 -1
@@ -720,7 +720,7 @@
 # FIXME - probably wants to be one for old and for new
 config PDC202XX_FORCE
        bool "Enable controller even if disabled by BIOS"
-       depends on BLK_DEV_PDC202XX_NEW=y
+       depends on BLK_DEV_PDC202XX_NEW
        help
          Enable the PDC202xx controller even if it has been disabled in

the BIOS setup.

Quoted 2 lines

The same may apply to PDC202XX_BURST for pdc202xx_old module... (but not tested)

Yes, you are right.

Thanks,
Bartlomiej