lkml.org 
[lkml]   [2003]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] ide.c as a module
Date
On Friday 12 of December 2003 15:42, Daniel Tram Lux wrote:
> Hi,
>
> I tried with using only your suggested changes and removing the ide_probe
^^^^
Your patch + changes or only changes?

> ptr, but due to (in include/asm-i386/ide.h) where CONFIG_BLK_DEV_IDEPCI is
> indeed undefined:
>
> static __inline__ void ide_init_default_hwifs(void)
> {
> #ifndef CONFIG_BLK_DEV_IDEPCI
> hw_regs_t hw;
> int index;
>
> for(index = 0; index < MAX_HWIFS; index++) {
> memset(&hw, 0, sizeof hw);
> ide_init_hwif_ports(&hw, ide_default_io_base(index), 0, NULL);
> hw.irq = ide_default_irq(ide_default_io_base(index));
> ide_register_hw(&hw, NULL);
> }
> #endif /* CONFIG_BLK_DEV_IDEPCI */
> }
>
> I get the following probing messages (I enabled a debug message which is
> why there are so many messages):

"initializing = 1" must be moved from ide_init() to ide_init_data()
(just before ide_init_default_hwifs() call).

--bart

-
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:59    [W:0.023 / U:3.544 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site