lkml.org 
[lkml]   [1996]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectKernel 2.0.9 IDE fix
It appears that hd_status in linux/drivers/block/ide.c has the hd_status
is defined a bit late. The following patch should fix it...(i.e. it
compiled fine for me after the change).

kenn herman


*** ide.c Fri Jul 26 15:56:43 1996
--- ide.c.new Fri Jul 26 15:56:47 1996
***************
*** 2383,2393 ****
*/
static int try_to_identify (ide_drive_t *drive, byte cmd)
{
! int irqs, rc;
unsigned long timeout;
#ifdef CONFIG_BLK_DEV_CMD640
int retry = 0;
- int hd_status;

try_again:
#endif /* CONFIG_BLK_DEV_CMD640 */
--- 2383,2392 ----
*/
static int try_to_identify (ide_drive_t *drive, byte cmd)
{
! int hd_status, irqs, rc;
unsigned long timeout;
#ifdef CONFIG_BLK_DEV_CMD640
int retry = 0;

try_again:
#endif /* CONFIG_BLK_DEV_CMD640 */




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