From: <app...@ms...> - 2007-03-14 02:39:38
|
<DIV> <DIV>Dear all:</DIV> <DIV> I have two quest= ions about linux sdio stack.</DIV> <DIV>(1)I use 2.6.18 linux kernel. When I compile the sdio bus driver, it s= how error "CONFIG_PNP not defined". I trace the kernel code, then I found C= ONFIG_PNP based on ISA or ACPI. But the kernel don't define ISA or ACPI. Do= es it mean I must fix the kernel to add "select ISA" to support CONFIG_PNP?= ?</DIV> <DIV> </DIV> <DIV>(2)In 2.6.18 or 2.6.20 kernel , these symbol "pnp_register_protocol" o= r "pnp_unregister_protocol" don't export. I found the list:</DIV> <DIV>#if 0<BR>EXPORT_SYMBOL(pnp_register_protocol);<BR>EXPORT_SYMBOL(pnp_un= register_protocol);<BR>EXPORT_SYMBOL(pnp_add_device);<BR>EXPORT_SYMBOL(pnp_= remove_device);<BR>#endif /* 0 */<BR>I don't know if I ch= ange #if 0 to #if 1 to let symbol export. Is it correct ? Do I fix others?<= /DIV> <DIV> </DIV> <DIV>Thank you very much.</DIV> <DIV> </DIV> <DIV>Best regards,</DIV> <DIV> </DIV> <DIV>Appie</DIV></DIV><br><span style=3D"font-size:13px">--- =A5=BB=B6l=A5= =F3=A8=D3=A6=DBHiNet WebMail ---</span> |