Signed-off-by: Andrew Morton --- drivers/ieee1394/ieee1394_core.c | 4 ++++ drivers/ieee1394/ohci1394.c | 5 +++++ 2 files changed, 9 insertions(+) diff -puN drivers/ieee1394/ieee1394_core.c~x86_64-mm-ieee1394-early drivers/ieee1394/ieee1394_core.c --- a/drivers/ieee1394/ieee1394_core.c~x86_64-mm-ieee1394-early +++ a/drivers/ieee1394/ieee1394_core.c @@ -1169,7 +1169,11 @@ static void __exit ieee1394_cleanup(void unregister_chrdev_region(IEEE1394_CORE_DEV, 256); } +#ifndef MODULE +fs_initcall(ieee1394_init); +#else module_init(ieee1394_init); +#endif module_exit(ieee1394_cleanup); /* Exported symbols */ diff -puN drivers/ieee1394/ohci1394.c~x86_64-mm-ieee1394-early drivers/ieee1394/ohci1394.c --- a/drivers/ieee1394/ohci1394.c~x86_64-mm-ieee1394-early +++ a/drivers/ieee1394/ohci1394.c @@ -3718,5 +3718,10 @@ static int __init ohci1394_init(void) return pci_register_driver(&ohci1394_pci_driver); } +/* Try to register 1394 early to get the DMA engine running for debugging purposes */ +#ifndef MODULE +fs_initcall(ohci1394_init); +#else module_init(ohci1394_init); +#endif module_exit(ohci1394_cleanup); _