lkml.org 
[lkml]   [2004]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.4.28-pre4-bk6] delkin_cb: new driver for Cardbus IDE CF adaptor
wrt to 2.6.x version

> + memset(&hw, 0, sizeof(hw));
> + ide_init_hwif_ports(&hw, (ide_ioreg_t)(base + 0x10),
> + (ide_ioreg_t)(base + 0x1e), NULL);

please use ide_std_init_ports()

> + rc = ide_register_hw(&hw, &hwif);
> + if (rc < 0) /* ide_register_hw likes to be invoked twice (buggy) */
> + rc = ide_register_hw(&hw, &hwif);

is this needed in 2.6.x and if so why?

> + drive->id->csfo = 0; /* workaround for idedisk_open bug */

ditto
-
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 14:07    [W:0.048 / U:1.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site