From: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
To: Pavel Roskin <proski-mXXj517/zsQ@public.gmane.org>
Cc: Orinoco Development List
<orinoco-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 8/8] orinoco: New driver - spectrum_cs.
Date: Tue, 6 Sep 2005 12:24:24 +0100 [thread overview]
Message-ID: <20050906112424.GA5309@infradead.org> (raw)
In-Reply-To: <1125619806.29016.11.camel@dv>
> +#ifdef __IN_PCMCIA_PACKAGE__
> +#include <pcmcia/k_compat.h>
> +#endif /* __IN_PCMCIA_PACKAGE__ */
this doesn't make sense for a 2.6 driver.
> +/*
> + * If SPECTRUM_FW_INCLUDED is defined, the firmware is hardcoded into
> + * the driver. Use get_symbol_fw script to generate spectrum_fw.h and
> + * copy it to the same directory as spectrum_cs.c.
> + *
> + * If SPECTRUM_FW_INCLUDED is not defined, the firmware is loaded at the
> + * runtime using hotplug. Use the same get_symbol_fw script to generate
> + * files symbol_sp24t_prim_fw symbol_sp24t_sec_fw, copy them to the
> + * hotplug firmware directory (typically /usr/lib/hotplug/firmware) and
> + * make sure that you have hotplug installed and enabled in the kernel.
> + */
> +/* #define SPECTRUM_FW_INCLUDED 1 */
> +
> +#ifdef SPECTRUM_FW_INCLUDED
> +/* Header with the firmware */
> +#include "spectrum_fw.h"
> +#else /* !SPECTRUM_FW_INCLUDED */
While I see the point of this for the standalone orinoco driver package
it doesn't make sense for the version in the kernel tree.
> +#define CS_CHECK(fn, ret) \
> + do { last_fn = (fn); if ((last_ret = (ret)) != 0) goto cs_failed; } while (0)
I don't think this macro abuse helps anyone..
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
next prev parent reply other threads:[~2005-09-06 11:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-02 0:10 [PATCH 8/8] orinoco: New driver - spectrum_cs Pavel Roskin
2005-09-06 11:24 ` Christoph Hellwig [this message]
[not found] ` <20050906112424.GA5309-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2005-09-09 22:40 ` Pavel Roskin
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=20050906112424.GA5309@infradead.org \
--to=hch-wegcikhe2lqwvfeawa7xhq@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=orinoco-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=proski-mXXj517/zsQ@public.gmane.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.