linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] IDE: Small fix for "hold" flag
@ 2003-08-03 14:05 Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2003-08-03 14:05 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel mailing list

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 @@


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-03 14:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-03 14:05 [PATCH] IDE: Small fix for "hold" flag Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).