From: Andrei Konovalov <akonovalov-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
To: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
Cc: bryan.wu-OyLXuOCK7orQT0dZR+AlfA@public.gmane.org,
Grant Likely
<grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>,
Wolfgang Reissnegger
<wolfgang.reissnegger-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>,
anemo-7JcRY8pycbNHfZP73Gtkiw@public.gmane.org,
ben-Y5A6D6n0/KfQXOPxS62xeg@public.gmane.org,
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
Andrew Morton
<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
a.paterniani-03BXCEkGbFHYGGNLXY5/rw@public.gmane.org
Subject: Re: [patch 2.6.23-rc3-git] SPI driver hotplug/coldplug fixes
Date: Fri, 24 Aug 2007 18:50:20 +0400 [thread overview]
Message-ID: <46CEF02C.2010505@ru.mvista.com> (raw)
In-Reply-To: <200708221315.12184.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
David Brownell wrote:
> Update various SPI drivers so they properly support
>
> - coldplug through "modprobe $(cat /sys/devices/.../modalias)"
>
> - hotplug through "modprobe $(MODALIAS)"
>
> The basic rule for platform, SPI, and (new style) I2C drivers is just
> to make sure that modprobing the driver name works. In this case, all
> the relevant drivers are platform drivers, and this patch either
>
> (a) Changes the driver name, if no in-tree code would break;
> this is simpler and thus preferable in the long term.
>
> (b) Adds MODULE_ALIAS directives, when in-tree platforms declare
> devices using the current driver name; less desirable.
>
> Most systems will link SPI controller drivers statically, but
> there's no point in being needlessly broken.
>
> Signed-off-by: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
> ---
> Build-tested for the ARM drivers.
>
> drivers/spi/spi_bfin5xx.c | 3 ++-
> drivers/spi/spi_imx.c | 2 +-
> drivers/spi/spi_mpc83xx.c | 1 +
> drivers/spi/spi_s3c24xx.c | 1 +
> drivers/spi/spi_s3c24xx_gpio.c | 2 +-
> drivers/spi/spi_txx9.c | 1 +
> drivers/spi/xilinx_spi.c | 2 +-
> 7 files changed, 8 insertions(+), 4 deletions(-)
<snip>
> --- g26.orig/drivers/spi/xilinx_spi.c 2007-08-11 11:48:09.000000000 -0700
> +++ g26/drivers/spi/xilinx_spi.c 2007-08-11 12:13:19.000000000 -0700
> @@ -21,7 +21,7 @@
>
> #include <syslib/virtex_devices.h>
>
> -#define XILINX_SPI_NAME "xspi"
> +#define XILINX_SPI_NAME "xilinx_spi"
>
> /* Register definitions as per "OPB Serial Peripheral Interface (SPI) (v1.00e)
> * Product Specification", DS464
Acked-by: Andrei Konovalov <akonovalov-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
I'll add the corresponding modifications to the device registration stuff
for the Xilinx boards to git://source.mvista.com/git/linux-xilinx-26.git shortly.
Thanks,
Andrei
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
prev parent reply other threads:[~2007-08-24 14:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 20:15 [patch 2.6.23-rc3-git] SPI driver hotplug/coldplug fixes David Brownell
[not found] ` <200708221315.12184.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2007-08-23 1:29 ` Atsushi Nemoto
[not found] ` <20070823.102958.126573100.nemoto-IGagC74glE2asRnM1LW+pc8NsWr+9BEh@public.gmane.org>
2007-08-23 1:56 ` David Brownell
[not found] ` <20070823015656.6C67A231949-ZcXrCSuhvln6VZ3dlLfH/g4gEjPzgfUyLrfjE7I9kuVHxeISYlDBzl6hYfS7NtTn@public.gmane.org>
2007-08-23 3:36 ` Atsushi Nemoto
2007-08-24 14:50 ` Andrei Konovalov [this message]
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=46CEF02C.2010505@ru.mvista.com \
--to=akonovalov-hkdhdckh98+b+jhodadfcq@public.gmane.org \
--cc=a.paterniani-03BXCEkGbFHYGGNLXY5/rw@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=anemo-7JcRY8pycbNHfZP73Gtkiw@public.gmane.org \
--cc=ben-Y5A6D6n0/KfQXOPxS62xeg@public.gmane.org \
--cc=bryan.wu-OyLXuOCK7orQT0dZR+AlfA@public.gmane.org \
--cc=david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org \
--cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=wolfgang.reissnegger-gjFFaj9aHVfQT0dZR+AlfA@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.