Thread (1 message) 1 message, 1 author, 2000-06-27

RE: PCMCIA ATA flash support

From: Mike Coy <hidden>
Date: 2000-06-27 21:10:10

Yep, it has an __init for me too.   Interesting.

Good eyes!
mike

At 04:59 PM 6/27/00, Lucinda Schafer wrote:
I noticed an __init in front of m8xx_ide_init_hwif_ports.

According to init.h:

/* These macros are used to mark some functions or
 * initialized data (doesn't apply to uninitialized data)
 * as `initialization' functions. The kernel can take this
 * as hint that the function is used only during the initialization
 * phase and free up used memory resources after
 *
 * Usage:

If you are calling ide_register() after bootup, could this be a problem
(note: I am using 2.2.13 with no patches for the PCMCIA so this may not be
true in your case)?

However, if your function is missing, this could be your problem.

Maybe one of the more experienced "listees" could give a better answer.


Lucinda Schafer
Staff Software Engineer
Adaptive Micro-Ware, Inc.



-----Original Message-----
From: Mike Coy [mailto:coym@embeddedplanet.com]
Sent: Tuesday, June 27, 2000 2:58 PM
To: Lucinda Schafer; linuxppc-embedded@lists.linuxppc.org
Subject: RE: PCMCIA ATA flash support



NIP is c00def58 (m8xx_ide_init_hwif_ports)
LR is c0002da4 (inside ide_init_hwif_ports)

I gather that LR is the place you were called from and NIP is the next
instruction, in which case both of these seem to be correct.

mike

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help