lkml.org 
[lkml]   [2003]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] IDE: Small fix for "hold" flag
From
Date
Hi Marcelo !

The "hold" flag we added a few weeks ago to IDE to deal with
some laptop hotswap bays isn't properly kept around in ide_unregister(),
this fixes it. This fix is necessary for PowerMac media bay to work
properly (and this is also the only driver using this flag so far)

Please apply,
Ben.

diff -urN linux-2.4/drivers/ide/ide.c linuxppc_benh_devel/drivers/ide/ide.c
--- linux-2.4/drivers/ide/ide.c 2003-07-14 18:31:40.000000000 +0200
+++ linuxppc_benh_devel/drivers/ide/ide.c 2003-08-03 11:17:20.000000000 +0200
@@ -798,6 +798,7 @@
hwif->swdma_mask = old_hwif.swdma_mask;

hwif->chipset = old_hwif.chipset;
+ hwif->hold = old_hwif.hold;

#ifdef CONFIG_BLK_DEV_IDEPCI
hwif->pci_dev = old_hwif.pci_dev;
@@ -2221,7 +2222,6 @@

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.025 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site