diff options
author | Brent Casavant <bcasavan@sgi.com> | 2006-10-17 03:09:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-17 11:18:42 -0400 |
commit | 59f148005cfd3d41537a4b872c266213d5fe4dc6 (patch) | |
tree | 1e769ca80218a39417f7d45759e1bd2a4dbf6452 /drivers/ide/pci/sgiioc4.c | |
parent | 107d5a72f2c6a6819b66eebcb0281c7a67b6baaa (diff) |
[PATCH] ioc4: Enable build on non-SN2
The SGI PCI-RT card, based on the SGI IOC4 chip, will be made available on
Altix XE (x86_64) platforms in the near future. As such it is now a
misnomer for the IOC4 base device driver to live under drivers/sn, and
would complicate builds for non-SN2.
This patch moves the IOC4 base driver code from drivers/sn to drivers/misc,
and updates the associated Makefiles and Kconfig files to allow building on
non-SN2 configs. Due to the resulting change in link order, it is now
necessary to use late_initcall() for IOC4 subdriver initialization.
[akpm@osdl.org: __udivdi3 fix]
[akpm@osdl.org: fix default in Kconfig]
Acked-by: Pat Gefre <pfg@sgi.com>
Acked-by: Jeremy Higdon <jeremy@sgi.com>
Signed-off-by: Brent Casavant <bcasavan@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ide/pci/sgiioc4.c')
-rw-r--r-- | drivers/ide/pci/sgiioc4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/sgiioc4.c b/drivers/ide/pci/sgiioc4.c index f3fe287fbd89..244f7eb7006d 100644 --- a/drivers/ide/pci/sgiioc4.c +++ b/drivers/ide/pci/sgiioc4.c | |||
@@ -774,7 +774,7 @@ ioc4_ide_exit(void) | |||
774 | ioc4_unregister_submodule(&ioc4_ide_submodule); | 774 | ioc4_unregister_submodule(&ioc4_ide_submodule); |
775 | } | 775 | } |
776 | 776 | ||
777 | module_init(ioc4_ide_init); | 777 | late_initcall(ioc4_ide_init); /* Call only after IDE init is done */ |
778 | module_exit(ioc4_ide_exit); | 778 | module_exit(ioc4_ide_exit); |
779 | 779 | ||
780 | MODULE_AUTHOR("Aniket Malatpure/Jeremy Higdon"); | 780 | MODULE_AUTHOR("Aniket Malatpure/Jeremy Higdon"); |