Skip to content
Snippets Groups Projects
  1. Jun 07, 2009
    • Bartlomiej Zolnierkiewicz's avatar
      ide: preserve Host Protected Area by default (v2) · 075affcb
      Bartlomiej Zolnierkiewicz authored
      
      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 <hancockrwd@gmail.com>
      Cc: Frans Pop <elendil@planet.nl>
      Cc: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Acked-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      [patch description was based on input from Alan Cox and Frans Pop]
      Emphatically-Acked-by: default avatarAlan Cox <alan@linux.intel.com>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      075affcb
  2. Jan 06, 2009
  3. Apr 27, 2008
  4. Apr 17, 2008
    • Bartlomiej Zolnierkiewicz's avatar
      ide: add ide-4drives host driver (take 3) · ffd4f6f0
      Bartlomiej Zolnierkiewicz authored
      
      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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      ffd4f6f0
    • Bartlomiej Zolnierkiewicz's avatar
      ide: remove obsoleted "idex=base[,ctl[,irq]]" kernel parameters (take 2) · 9a0e77f2
      Bartlomiej Zolnierkiewicz authored
      
      * 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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      9a0e77f2
    • Bartlomiej Zolnierkiewicz's avatar
      ide: remove CONFIG_BLK_DEV_HD_IDE config option (take 2) · 80aa31cb
      Bartlomiej Zolnierkiewicz authored
      
      * 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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      80aa31cb
    • Bartlomiej Zolnierkiewicz's avatar
      ide: add warm-plug support for IDE devices (take 2) · f74c9141
      Bartlomiej Zolnierkiewicz authored
      
      * 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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      f74c9141
    • Greg Kroah-Hartman's avatar
      IDE: remove ide=reverse IDE core · a594eeb1
      Greg Kroah-Hartman authored
      
      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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      a594eeb1
  5. Mar 22, 2008
  6. Mar 07, 2008
  7. Feb 02, 2008
  8. Feb 01, 2008
Loading