07 Jun, 2009

1 commit

  • From the perspective of most users of recent systems, disabling Host
    Protected Area (HPA) can break vendor RAID formats, GPT partitions and
    risks corrupting firmware or overwriting vendor system recovery tools.

    Unfortunately the original (kernels < 2.6.30) behavior (unconditionally
    disabling HPA and using full disk capacity) was introduced at the time
    when the main use of HPA was to make the drive look small enough for the
    BIOS to allow the system to boot with large capacity drives.

    Thus to allow the maximum compatibility with the existing setups (using
    HPA and partitioned with HPA disabled) we automically disable HPA if
    any partitions overlapping HPA are detected. Additionally HPA can also
    be disabled using the "nohpa" module parameter (i.e. "ide_core.nohpa=0.0"
    to disable HPA on /dev/hda).

    v2:
    Fix ->resume HPA support.

    While at it:
    - remove stale "idebus=" entry from Documentation/kernel-parameters.txt

    Cc: Robert Hancock
    Cc: Frans Pop
    Cc: "Andries E. Brouwer"
    Cc: Al Viro
    Acked-by: Sergei Shtylyov
    [patch description was based on input from Alan Cox and Frans Pop]
    Emphatically-Acked-by: Alan Cox
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

07 Jan, 2009

1 commit


27 Apr, 2008

11 commits


18 Apr, 2008

5 commits

  • CONFIG_BLK_DEV_4DRIVES deserves its own host driver:

    * Add drivers/ide/legacy/ide-4drives.c and move "4drives" support there.

    * Add ide-4drives.o in the link order after all other legacy host
    drivers enabled by "ide0=" options (they all are mutually exclusive).

    * Make ide-4drives host driver probe itself for IDE devices instead of
    indirectly depending on ide_generic host driver.

    * Add "probe" module parameter to ide-4drives and update documentation.

    v2:
    * s/paramater/parameter/ in ide.txt. (Noticed by Randy Dunlap)

    v3:
    * s/ide_4drives.probe/ide-4drives.probe/ in help entry.
    (Noticed by Sergei Shtylyov)

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • * Remove obsoleted "idex=base[,ctl[,irq]]" kernel parameters
    and update Documentation/ide/ide.txt.

    * Remove no longer needed ide_forced chipset type.

    v2:
    * is_chipset_set[] -> is_chipset_set in ide.c.

    * Documentation/ide/ide.txt fix.

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • * Remove CONFIG_BLK_DEV_HD hack from init_hwif_default()
    ("hda=noprobe hdb=noprobe" kernel parameters should be used
    instead if somebody wishes to use the old "hd" driver).

    * Make CONFIG_BLK_DEV_HD_ONLY config option available also when
    IDE subsystem is used and update help entry.

    * Remove no longer needed CONFIG_BLK_DEV_HD_IDE config option.

    v2:
    * Update documentation to suggest "hda=noprobe hdb=noprobe"
    instead of obsoleted "ide0=noprobe".

    * Update Documentation/ide/ide.txt.

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • * Add 'struct class ide_port_class' ('ide_port' class) and a 'struct
    device *portdev' ('ide_port' class device) in ide_hwif_t.

    * Register 'ide_port' class in ide_init() and unregister it in
    cleanup_module().

    * Create ->portdev in ide_register_port () and unregister it in
    ide_unregister().

    * Add "delete_devices" class device attribute for unregistering IDE devices
    on a port and "scan" one for probing+registering IDE devices on a port.

    * Add ide_sysfs_register_port() helper for registering "delete_devices"
    and "scan" attributes with ->portdev. Call it in ide_device_add_all().

    * Document IDE warm-plug support in Documentation/ide/warm-plug-howto.txt.

    v2:
    * Convert patch from using 'struct class_device' to use 'struct device'.
    (thanks to Kay Sievers for doing it)

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • This option is obsolete and can be removed safely.

    It allows us to remove the pci_get_device_reverse() function from the
    PCI core.

    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Greg Kroah-Hartman
     

22 Mar, 2008

3 commits


08 Mar, 2008

2 commits


03 Feb, 2008

1 commit


02 Feb, 2008

2 commits