| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | IDE module problem |
| From: | Jun Sun <jsun@mvista.com> |
| Date: | Mon, 9 Dec 2002 11:58:42 -0800 |
| Cc: | jsun@mvista.com |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5i |
If you configure IDE support as a module (CONFIG_IDE), you will soon find that ide-std.o and ide-no.o are missing. This is because arch/mips/lib/Makefile says: obj-$(CONFIG_IDE) += ide-std.o ide-no.o Here are the possible fixes. I'd like to hear your feedbacks. 1) change config-shared.in file so that CONFIG_IDE only has a binary state (y or n) 2) change Makefile so that ide-std.o and ide-no.o are always included. Waste about 1K for systems don't use them at all. 3) use some smart trick in Makefile so that we include those two files only if CONFIG_IDE is 'y' or 'm'. (How?) Jun |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: The 64-bit version of __access_ok is broken., Ralf Baechle |
|---|---|
| Next by Date: | Re: The 64-bit version of __access_ok is broken., Carsten Langgaard |
| Previous by Thread: | ret_from_sys_call in entry.S, atul srivastava |
| Next by Thread: | Re: IDE module problem, Maciej W. Rozycki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |