ide: warm-plug support for IDE devices and other goodies
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | ide-generic: set hwif->chipsetdrivers/ | +3 | 0 replies | |
| 2/18 | ide: fix ide_find_port()drivers/ drivers/ | +2 | 1 reply | |
| 3/18 | ide: use ide_find_port() instead of ide_deprecated_find_port()drivers/ drivers/ drivers/ +3 more | +5 | 0 replies | |
| 4/18 | ide-acpi: add missing drive->acpidata zeroingdrivers/ | +2 | 0 replies | |
| 5/18 | ide: factor out cable detection from ide_init_port()drivers/ | +4 | 1 reply | |
| 6/18 | ide: factor out code unregistering devices from ide_unregister()drivers/ | +19 | 1 reply | |
| 7/18 | ide: factor out devices init from ide_init_port_data()drivers/ | +17 | 1 reply | |
| 8/18 | ide: move ide_port_setup_devices() call to ide_device_add_all()drivers/ | +4 | 1 reply | |
| 9/18 | ide: rework PowerMac media-bay supportdrivers/ drivers/ drivers/ +3 more | +48 | 2 replies | |
| 10/18 | ide: add warm-plug support for IDE devicesDocumentation/ drivers/ drivers/ +1 more | +109 | 0 replies | |
| 11/18 | ide-generic: add ide_generic class and attribute for adding new interfacesdrivers/ | +77 | 0 replies | |
| 12/18 | ide: remove needless CONFIG_BLK_DEV_HD hack from init_hwif()drivers/ | +0 | 0 replies | |
| 13/18 | ide: remove CONFIG_BLK_DEV_HD_IDE config optiondrivers/ drivers/ | +5 | 0 replies | |
| 14/18 | ide: remove obsoleted "idex=base[,ctl[,irq]]" kernel parametersDocumentation/ drivers/ drivers/ +5 more | +9 | 0 replies | |
| 15/18 | ide: remove broken/dangerous HDIO_[UNREGISTER,SCAN]_HWIF ioctlsblock/ drivers/ drivers/ +9 more | +17 | 4 replies | |
| 16/18 | ide: remove ->hold field from ide_hwif_tdrivers/ drivers/ include/ | +0 | 0 replies | |
| 17/18 | ide: remove init_hwif_default()drivers/ | +9 | 0 replies | |
| 18/18 | ide: remove ide_init_hwif_ports()drivers/ include/ | +9 | 0 replies |
Reviews trailers per patch
6 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Sergei Shtylyov |
|---|---|
| 1/18 | |
| 2/18 | A-b |
| 3/18 | |
| 4/18 | |
| 5/18 | A-b |
| 6/18 | A-b |
| 7/18 | A-b |
| 8/18 | A-b |
| 9/18 | |
| 10/18 | |
| 11/18 | |
| 12/18 | |
| 13/18 | |
| 14/18 | |
| 15/18 | A-b |
| 16/18 | |
| 17/18 | |
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/18] ide: warm-plug support for IDE devices and other goodies
- couple of fixes and preparatory patches
- rework of PowerMac media-bay support ([un]register IDE devices instead of [un]registering IDE interface) [ it is the main reason for spamming PPC ML ]
- IDE warm-plug support (though it is still experimental it should work fine, unlike the older method), to warm-plug devices on a port 'idex':
# echo -n "1" > /sys/class/ide_port/idex/delete_devices
unplug old device(s) and plug new device(s)
# echo -n "1" > /sys/class/ide_port/idex/scan
done
- ability to add new interfaces for ide-generic host driver through /sys/class/ide_generic/add, i.e.
echo -n "0x168:0x36e:10" > /sys/class/ide_generic/add
- because of the above changes some obsoleted/broken code can be removed (thus the total effect of the patch series is -100 LOC)
diffstat:
Documentation/ide.txt | 31 -- Documentation/ide/warm-plug-howto.txt | 13 + block/compat_ioctl.c | 1 drivers/ide/Kconfig | 25 -- drivers/ide/Makefile | 2 drivers/ide/arm/bast-ide.c | 4 drivers/ide/arm/palm_bk3710.c | 2 drivers/ide/arm/rapide.c | 2 drivers/ide/ide-acpi.c | 2 drivers/ide/ide-generic.c | 85 +++++++ drivers/ide/ide-pnp.c | 2 drivers/ide/ide-probe.c | 108 ++++++++- drivers/ide/ide-proc.c | 3 drivers/ide/ide.c | 386 ++++++++-------------------------- drivers/ide/legacy/ide-cs.c | 6 drivers/ide/legacy/ide_platform.c | 2 drivers/ide/mips/au1xxx-ide.c | 5 drivers/ide/pci/cmd640.c | 2 drivers/ide/pci/delkin_cb.c | 6 drivers/ide/pci/scc_pata.c | 2 drivers/ide/ppc/pmac.c | 4 drivers/ide/setup-pci.c | 11 drivers/macintosh/mediabay.c | 17 - include/asm-powerpc/mediabay.h | 4 include/linux/hdreg.h | 4 include/linux/ide.h | 51 ---- 26 files changed, 339 insertions(+), 441 deletions(-)