From: Rusty Russell <rusty@rustcorp.com.au>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] fix/improve modular IDE (Re: [PATCH] modular IDE for 2.6.1 ugly but working fix)
Date: Tue, 20 Jan 2004 13:01:02 +1100 [thread overview]
Message-ID: <20040120020710.837CE2C226@lists.samba.org> (raw)
In-Reply-To: Your message of "Sat, 17 Jan 2004 14:22:06 BST." <200401171422.06211.bzolnier@elka.pw.edu.pl>
In message <200401171422.06211.bzolnier@elka.pw.edu.pl> you write:
> +static int __init ide_generic_init(void)
> +{
> + MOD_INC_USE_COUNT;
> + if (ide_hwifs[0].io_ports[IDE_DATA_OFFSET])
> + ide_get_lock(NULL, NULL); /* for atari only */
> +
> + (void)ideprobe_init();
> +
> + if (ide_hwifs[0].io_ports[IDE_DATA_OFFSET])
> + ide_release_lock(); /* for atari only */
> +
> +#ifdef CONFIG_PROC_FS
> + create_proc_ide_interfaces();
> +#endif
> + return 0;
> +}
> +
> +static void __exit ide_generic_exit(void)
> +{
> +}
If you don't want to be unloadable, just don't have a module_exit() at
all.
Thanks,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
next prev parent reply other threads:[~2004-01-20 2:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-17 12:13 [PATCH] modular IDE for 2.6.1 ugly but working fix Witold Krecicki
2004-01-17 13:22 ` [PATCH] fix/improve modular IDE (Re: [PATCH] modular IDE for 2.6.1 ugly but working fix) Bartlomiej Zolnierkiewicz
2004-01-17 15:38 ` Sam Ravnborg
2004-01-17 16:02 ` Bartlomiej Zolnierkiewicz
2004-01-18 11:52 ` Arkadiusz Miskiewicz
2004-01-18 12:25 ` Sam Ravnborg
2004-01-18 12:56 ` Bartlomiej Zolnierkiewicz
2004-01-20 2:01 ` Rusty Russell [this message]
2004-01-20 15:45 ` Bartlomiej Zolnierkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040120020710.837CE2C226@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.