From komurojun-mbn at nifty.com  Sun Nov  2 03:46:22 2008
From: komurojun-mbn at nifty.com (Komuro)
Date: Sun, 2 Nov 2008 17:46:22 +0900
Subject: [BUG REPORT!!!] [PATCH 19/49] pcmcia: remove remaining
	in-kernel pcmcia_get_configuration_info() users
In-Reply-To: <20081101110746.41733076.komurojun-mbn@nifty.com>
References: <20080922155814.2bdad40f@lxorguk.ukuu.org.uk>
	<20080922215617.GA13057@comet.dominikbrodowski.net>
	<20080922231227.2625dd09@lxorguk.ukuu.org.uk>
	<20080922222655.GA3792@isilmar.linta.de>
	<20081101110746.41733076.komurojun-mbn@nifty.com>
Message-ID: <20081102174622.02500138.komurojun-mbn@nifty.com>

Dear Dominik


The reason of this bug is link->io is not copied
to the slave serial_cs device.

My patch below fix this problem.

--- ds.c.orig   2008-11-01 08:59:13.000000000 +0900
+++ ds.c        2008-11-02 17:05:44.000000000 +0900
@@ -668,6 +668,7 @@ struct pcmcia_device * pcmcia_device_add
         list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list)
                 if (p_dev->func == tmp_dev->func) {
                        p_dev->function_config = tmp_dev->function_config;
+                       p_dev->io = tmp_dev->io;
                        kref_get(&p_dev->function_config->ref);
                }



Best Regards
Komuro



> Dear Dominik
> 
> Unfortunately, your path "[PATCH 19/49] pcmcia: remove remaining in-kernel
> pcmcia_get_configuration_info() users"
> broke the "serial_cs" and other drivers.
> 
> You replace "config->BasePort2" to "link->io.BasePort2" at serial_cs. 
> 
> But link->io.BasePort2, link->io.NumPorts2(etc) 
> does not contain correct value (it is zero).
> 
> Please fix this problem (or reveart the patch).
> 
> 
> Best Regards
> Komuro
> 
> Here is your patch.
> >--- a/drivers/serial/serial_cs.c
> >+++ b/drivers/serial/serial_cs.c
> >@@ -488,23 +488,23 @@ static int simple_config_check_notpicky(struct pcmcia_device *p_dev,
> > static int simple_config(struct pcmcia_device *link)
> > {
> > 	struct serial_info *info = link->priv;
> >-	config_info_t config;
> >-	int i, try;
> >+	int i = -ENODEV, try;
> > 
> > 	/* If the card is already configured, look up the port and irq */
> >-	i = pcmcia_get_configuration_info(link, &config);
> >-	if ((i == CS_SUCCESS) && (config.Attributes & CONF_VALID_CLIENT)) {
> >+	if (link->function_config) {
> > 		unsigned int port = 0;
> >-		if ((config.BasePort2 != 0) && (config.NumPorts2 == 8)) {
> >-			port = config.BasePort2;
> >+		if ((link->io.BasePort2 != 0) &&
> >+		    (link->io.NumPorts2 == 8)) {
> >+			port = link->io.BasePort2;
> > 			info->slave = 1;
> > 		} else if ((info->manfid == MANFID_OSITECH) &&
> >-			   (config.NumPorts1 == 0x40)) {
> >-			port = config.BasePort1 + 0x28;
> >+			   (link->io.NumPorts1 == 0x40)) {
> >+			port = link->io.BasePort1 + 0x28;
> > 			info->slave = 1;
> > 		}
> > 		if (info->slave) {
> >-			return setup_serial(link, info, port, config.AssignedIRQ);
> >+			return setup_serial(link, info, port,
> >+					    link->irq.AssignedIRQ);
>  		}
>  	}
> 
> 
> 
> 
> _______________________________________________
> Linux PCMCIA reimplementation list
> http://lists.infradead.org/mailman/listinfo/linux-pcmcia


-- 
Komuro <komurojun-mbn at nifty.com>


From linux at dominikbrodowski.net  Sun Nov  2 04:17:56 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Sun, 2 Nov 2008 10:17:56 +0100
Subject: [BUG REPORT!!!] [PATCH 19/49] pcmcia: remove remaining in-kernel
	pcmcia_get_configuration_info() users
In-Reply-To: <20081102174622.02500138.komurojun-mbn@nifty.com>
References: <20080922155814.2bdad40f@lxorguk.ukuu.org.uk>
	<20080922215617.GA13057@comet.dominikbrodowski.net>
	<20080922231227.2625dd09@lxorguk.ukuu.org.uk>
	<20080922222655.GA3792@isilmar.linta.de>
	<20081101110746.41733076.komurojun-mbn@nifty.com>
	<20081102174622.02500138.komurojun-mbn@nifty.com>
Message-ID: <20081102091756.GA25322@isilmar.linta.de>

Dear Komuro,

thanks for tracking this down. Could I get your Signed-off-by line for the
patch you submitted, please?

Thanks,
	Dominik



From komurojun-mbn at nifty.com  Sun Nov  2 05:33:24 2008
From: komurojun-mbn at nifty.com (Komuro)
Date: Sun, 2 Nov 2008 19:33:24 +0900
Subject: [BUG REPORT!!!] [PATCH 19/49] pcmcia: remove remaining
	in-kernel pcmcia_get_configuration_info() users
In-Reply-To: <20081102091756.GA25322@isilmar.linta.de>
References: <20080922155814.2bdad40f@lxorguk.ukuu.org.uk>
	<20080922215617.GA13057@comet.dominikbrodowski.net>
	<20080922231227.2625dd09@lxorguk.ukuu.org.uk>
	<20080922222655.GA3792@isilmar.linta.de>
	<20081101110746.41733076.komurojun-mbn@nifty.com>
	<20081102174622.02500138.komurojun-mbn@nifty.com>
	<20081102091756.GA25322@isilmar.linta.de>
Message-ID: <20081102193324.86f0d4a3.komurojun-mbn@nifty.com>


drivers/pcmcia/ds.c

setup "io" and "irq" for pseudo multifunction devices.

Signed-off-by: Komuro <komurojun-mbn at nifty.com>

---


--- linux-2.6.28-rc2/drivers/pcmcia/ds.c.orig	2008-11-01 08:59:13.000000000 +0900
+++ linux-2.6.28-rc2/drivers/pcmcia/ds.c	2008-11-02 18:59:18.000000000 +0900
@@ -668,6 +668,8 @@ struct pcmcia_device * pcmcia_device_add
         list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list)
                 if (p_dev->func == tmp_dev->func) {
 			p_dev->function_config = tmp_dev->function_config;
+			p_dev->io = tmp_dev->io;
+			p_dev->irq = tmp_dev->irq;
 			kref_get(&p_dev->function_config->ref);
 		}
 


From bugme-daemon at bugzilla.kernel.org  Sun Nov  2 07:06:54 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Sun,  2 Nov 2008 04:06:54 -0800 (PST)
Subject: [Bug 11911] new PCMCIA device instance after resume - orinoco can't
	download firmware
In-Reply-To: <bug-11911-4463@http.bugzilla.kernel.org/>
Message-ID: <20081102120654.A46F4108042@picon.linux-foundation.org>

http://bugzilla.kernel.org/show_bug.cgi?id=11911


linux at brodo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|linux-                      |linux at brodo.de
                   |pcmcia at lists.infradead.org  |
             Status|NEW                         |ASSIGNED




------- Comment #1 from linux at brodo.de  2008-11-02 04:06 -------
fixed by commit 60df3de8b1f5ce085049e9e3c83d96643c426158 in the pcmcia git tree
(pcmcia: fix indentation & braces disagreement - add braces) which will be
pushed upstream soon.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.


From linux at dominikbrodowski.net  Sun Nov  2 07:04:34 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Sun, 2 Nov 2008 13:04:34 +0100
Subject: [BUG REPORT!!!] [PATCH 19/49] pcmcia: remove remaining
	in-kernel pcmcia_get_configuration_info() users
In-Reply-To: <20081102193324.86f0d4a3.komurojun-mbn@nifty.com>
References: <20080922155814.2bdad40f@lxorguk.ukuu.org.uk>
	<20080922215617.GA13057@comet.dominikbrodowski.net>
	<20080922231227.2625dd09@lxorguk.ukuu.org.uk>
	<20080922222655.GA3792@isilmar.linta.de>
	<20081101110746.41733076.komurojun-mbn@nifty.com>
	<20081102174622.02500138.komurojun-mbn@nifty.com>
	<20081102091756.GA25322@isilmar.linta.de>
	<20081102193324.86f0d4a3.komurojun-mbn@nifty.com>
Message-ID: <20081102120434.GA14531@comet.dominikbrodowski.net>

On Sun, Nov 02, 2008 at 07:33:24PM +0900, Komuro wrote:
> 
> drivers/pcmcia/ds.c
> 
> setup "io" and "irq" for pseudo multifunction devices.

Applied, thanks!



From linux at dominikbrodowski.net  Sun Nov  2 07:06:00 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Sun, 2 Nov 2008 13:06:00 +0100
Subject: [PATCH] pcmcia: fix indentation & braces disagreement - add braces
In-Reply-To: <Pine.LNX.4.64.0810301301260.7072@wrl-59.cs.helsinki.fi>
References: <Pine.LNX.4.64.0810301301260.7072@wrl-59.cs.helsinki.fi>
Message-ID: <20081102120600.GB14531@comet.dominikbrodowski.net>

On Thu, Oct 30, 2008 at 01:02:54PM +0200, Ilpo J?rvinen wrote:
> Broken by d8b0a49da4f2 (pcmcia: deprecate CS_BAD_VCC and
> CS_BAD_VPP).

Applied, thanks!

	Dominik


From donotreply at mail.itabom.com.br  Wed Nov  5 01:12:57 2008
From: donotreply at mail.itabom.com.br (Hutton alps)
Date: Tue, 04 Nov 2008 23:12:57 -0700
Subject: Dentists List in the USA
Message-ID: <040112m0lrg0$m3195sq0$1966x0f0@Delldim5150






New for 2008 in the United States

++> 164,342 D.entists 
++> 158,993 Civic Addresses
++> 163,733 Tel #'s
++> 77,514 Fax Nos.
++> 45,091 E-Mails

Until Nov 7 the special introductory price is $291 (reduced from $594)

Please reply by email to Bauer at profdatanetwork.com for more details




to get off please email stopit at profdatanetwork.com



From bugme-daemon at bugzilla.kernel.org  Wed Nov  5 23:11:58 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Wed,  5 Nov 2008 20:11:58 -0800 (PST)
Subject: [Bug 7116] pcnet_cs no longer works after linux-2.6.16-git20 (Too
	much work at interrupt)
In-Reply-To: <bug-7116-4463@http.bugzilla.kernel.org/>
Message-ID: <20081106041158.21A9F11D108@picon.linux-foundation.org>

http://bugzilla.kernel.org/show_bug.cgi?id=7116





------- Comment #42 from nemesis at icequake.net  2008-11-05 20:11 -------
And still no fix in 2.6.27.4.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


From bugme-daemon at bugzilla.kernel.org  Wed Nov  5 23:41:27 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Wed,  5 Nov 2008 20:41:27 -0800 (PST)
Subject: [Bug 7116] pcnet_cs no longer works after linux-2.6.16-git20 (Too
	much work at interrupt)
In-Reply-To: <bug-7116-4463@http.bugzilla.kernel.org/>
Message-ID: <20081106044127.7002E11D108@picon.linux-foundation.org>

http://bugzilla.kernel.org/show_bug.cgi?id=7116





------- Comment #43 from nemesis at icequake.net  2008-11-05 20:41 -------
Finally, some illumination.  I have some more of these IBM H&A credit cards. 
There seems to have been a firmware update (HAWIN95.EXE) available at some
point.  This firmware update seems to change the prodid string from "Home and
Away Credit Card Adapter" to "w95 Home and Away Credit Card ".  It is the "w95"
version which does not function with Linux.  The card without the "w95"
firmware works perfectly.  So now where to look?


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


From bugme-daemon at bugzilla.kernel.org  Thu Nov  6 00:49:57 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Wed,  5 Nov 2008 21:49:57 -0800 (PST)
Subject: [Bug 7116] pcnet_cs no longer works after linux-2.6.16-git20 (Too
	much work at interrupt)
In-Reply-To: <bug-7116-4463@http.bugzilla.kernel.org/>
Message-ID: <20081106054957.25AC711D108@picon.linux-foundation.org>

http://bugzilla.kernel.org/show_bug.cgi?id=7116





------- Comment #44 from nemesis at icequake.net  2008-11-05 21:49 -------
I did the obvious thing and flashed the "w95" card back to the original
firmware.

Now it works.

Apparently, whatever hack is done by IBM to support Win95 renders the card
incompatible with later versions of Linux.

Both the Win95 and original firmware work correctly with Linux prior to some
change in 2.6.16.28.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


From bugme-daemon at bugzilla.kernel.org  Thu Nov  6 00:51:44 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Wed,  5 Nov 2008 21:51:44 -0800 (PST)
Subject: [Bug 7116] pcnet_cs no longer works after linux-2.6.16-git20 (Too
	much work at interrupt)
In-Reply-To: <bug-7116-4463@http.bugzilla.kernel.org/>
Message-ID: <20081106055144.65EFD11D108@picon.linux-foundation.org>

http://bugzilla.kernel.org/show_bug.cgi?id=7116





------- Comment #45 from nemesis at icequake.net  2008-11-05 21:51 -------
It seems that the IBM Win95 kludge has to do with how the separate devices on
the multifunction card are enumerated.  Perhaps this is why the above patch
worked for the time (and then broke again later).


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


From noreply at 6.162-224-89.dsl.completel.net  Thu Nov  6 02:33:13 2008
From: noreply at 6.162-224-89.dsl.completel.net (Bret R Potter)
Date: 6 Nov 2008 08:33:13 +0100
Subject: Yes I have dental and medical lists
Message-ID: <EXCHANGECmaK88bjpO300000fe9@exchange.lesia.local>

Promos for the MD and Dentist datasets are still running. let me know if you're interested. Email me here: Pat at rexdata.net










erase from list cancel at rexdata.net





From marc.pignat at hevs.ch  Thu Nov  6 05:44:34 2008
From: marc.pignat at hevs.ch (Marc Pignat)
Date: Thu, 6 Nov 2008 11:44:34 +0100
Subject: [PATCH] pata_pcmcia: another memory card support
Message-ID: <200811061144.35556.marc.pignat@hevs.ch>

Support for Apacer photo steno pro card.

Signed-off-by: Marc Pignat <marc.pignat at hevs.ch>
---

Hi all!

Here is a new ID for ide-cs and pata_pcmcia. I tried all the card
I can find in the labs, only this one was unknown.

Best regards

Marc



diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
index 271cb64..64b2e22 100644
--- a/drivers/ata/pata_pcmcia.c
+++ b/drivers/ata/pata_pcmcia.c
@@ -416,6 +416,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {
 	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
 	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
 	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
+	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
 	PCMCIA_DEVICE_NULL,
 };
 
diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
index cb199c8..f50210f 100644
--- a/drivers/ide/ide-cs.c
+++ b/drivers/ide/ide-cs.c
@@ -444,6 +444,7 @@ static struct pcmcia_device_id ide_ids[] = {
 	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
 	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
 	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
+	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
 	PCMCIA_DEVICE_NULL,
 };
 MODULE_DEVICE_TABLE(pcmcia, ide_ids);


From komurojun-mbn at nifty.com  Thu Nov  6 06:55:22 2008
From: komurojun-mbn at nifty.com (Komuro)
Date: Thu, 6 Nov 2008 20:55:22 +0900
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <200811061144.35556.marc.pignat@hevs.ch>
References: <200811061144.35556.marc.pignat@hevs.ch>
Message-ID: <20081106205522.1c86a44b.komurojun-mbn@nifty.com>

Hi,

Could you post the output of lspcmcia -vv?

I think it is better to use "PCMCIA_DEVICE_PROD_ID12"
instead of "PCMCIA_DEVICE_PROD_ID2"

> +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),


Best Regards
Komuro


> Support for Apacer photo steno pro card.
> 
> Signed-off-by: Marc Pignat <marc.pignat at hevs.ch>
> ---
> 
> Hi all!
> 
> Here is a new ID for ide-cs and pata_pcmcia. I tried all the card
> I can find in the labs, only this one was unknown.
> 
> Best regards
> 
> Marc
> 
> 
> 
> diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
> index 271cb64..64b2e22 100644
> --- a/drivers/ata/pata_pcmcia.c
> +++ b/drivers/ata/pata_pcmcia.c
> @@ -416,6 +416,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {
>  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
>  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
>  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
> +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
>  	PCMCIA_DEVICE_NULL,
>  };
>  
> diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
> index cb199c8..f50210f 100644
> --- a/drivers/ide/ide-cs.c
> +++ b/drivers/ide/ide-cs.c
> @@ -444,6 +444,7 @@ static struct pcmcia_device_id ide_ids[] = {
>  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
>  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
>  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
> +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
>  	PCMCIA_DEVICE_NULL,
>  };
>  MODULE_DEVICE_TABLE(pcmcia, ide_ids);
> 
> _______________________________________________
> Linux PCMCIA reimplementation list
> http://lists.infradead.org/mailman/listinfo/linux-pcmcia


-- 
Komuro <komurojun-mbn at nifty.com>


From marc.pignat at hevs.ch  Thu Nov  6 07:09:26 2008
From: marc.pignat at hevs.ch (Marc Pignat)
Date: Thu, 6 Nov 2008 13:09:26 +0100
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <20081106205522.1c86a44b.komurojun-mbn@nifty.com>
References: <200811061144.35556.marc.pignat@hevs.ch>
	<20081106205522.1c86a44b.komurojun-mbn@nifty.com>
Message-ID: <200811061309.26939.marc.pignat@hevs.ch>

Hi!

On Thursday 06 November 2008, Komuro wrote:
...
> Could you post the output of lspcmcia -vv?

Here it is:
armebs3:~# lspcmcia -vv
Socket 0 Bridge:        [at91_cf]       (bus ID: at91_cf)
        Configuration:  state: on       ready: yes
                        Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
                        Available IRQs: none
Socket 0 Device 0:      [pata_pcmcia]           (bus ID: 0.0)
        Configuration:  state: on
        Product Name:    512MB Flash Card 55LD017-A2 CFCA217I
        Identification: manf_id: 0x00bf card_id: 0x0001
                        function: 4 (fixed disk)
                        prod_id(1): " 512MB" (0xdc108d0e)
                        prod_id(2): "Flash Card" (0x5a362506)
                        prod_id(3): "55LD017-A2" (0xc0ede6dd)
                        prod_id(4): "CFCA217I" (0x8c1a6afb)
armebs3:~#        
> 
> I think it is better to use "PCMCIA_DEVICE_PROD_ID12"
> instead of "PCMCIA_DEVICE_PROD_ID2"
> 
> > +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),

I don't want to hardcode the size, however I'm not sure if other size have the
same prod_id2. " 512MB" with the space at the begginning let me hope there is
some card exists with 1024, 2048, ... or anything else in that place.

Best regards

Marc


From komurojun-mbn at nifty.com  Thu Nov  6 16:09:21 2008
From: komurojun-mbn at nifty.com (Komuro)
Date: Fri, 7 Nov 2008 06:09:21 +0900
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <200811061309.26939.marc.pignat@hevs.ch>
References: <200811061144.35556.marc.pignat@hevs.ch>
	<20081106205522.1c86a44b.komurojun-mbn@nifty.com>
	<200811061309.26939.marc.pignat@hevs.ch>
Message-ID: <20081107060921.ad18bb83.komurojun-mbn@nifty.com>


> > 
> > > +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
> 
> I don't want to hardcode the size, however I'm not sure if other size have the
> same prod_id2. " 512MB" with the space at the begginning let me hope there is
> some card exists with 1024, 2048, ... or anything else in that place.
> 

OK. You are right.
Thanks!


Best Regards
Komuro


From noreplyhere at mail.psbb.com.au  Wed Nov  5 20:54:42 2008
From: noreplyhere at mail.psbb.com.au (crude)
Date: 6 Nov 2008 12:54:42 +1100
Subject: We have data for Massage Therapists, Veterinarians,
	Chiropractors etc..
Message-ID: <SRV1PSBBfDc5DYge2Qw00001505@psbb.com.au>






Currently in Practice:  Medical Doctors in the US 

788,840 in total <> 17,306 emails

Lots of Medical Doctors in specialties like Orthopedics, Surgery, Radiology, Dermatology, Neurology, General Practice etc..

you can sort by many different fields like zip or county

This week's special price =  $395


()()() If you order by the end of the week you can take all the items below for fr ee ()()()

--> Marketing List of US Pharma Companies
  47,000 personal emails and names of decision makers

--> Hospitals in the United States
  more than 23k hospital administrators in over 7k hospitals [worth over $300 alone)

--> American Dentists
  Virtually every dentist in the USA with full contact details

--> US Chiropractor Contact List
  100k Chiropractors offices with full contact data including email, postal address, phone and fax

reply by email:      Cobb at profdatanetwork.com

  

this offer is only valid until Nov 7, 2008


to adjust your subscription status email to stopit at profdatanetwork.com


From elendil at planet.nl  Fri Nov  7 08:19:10 2008
From: elendil at planet.nl (Frans Pop)
Date: Fri, 7 Nov 2008 14:19:10 +0100
Subject: [PATCH] pcmcia: ensure correct logging in do_io_probe
In-Reply-To: <200811031942.20360.elendil@planet.nl>
References: <200811031942.20360.elendil@planet.nl>
Message-ID: <200811071419.11050.elendil@planet.nl>

Frans Pop wrote:
> On Toshiba Satellite (i386):
> yenta_cardbus 0000:01:0b.0: ISA IRQ mask 0x0c38, PCI irq 18
> yenta_cardbus 0000:01:0b.0: Socket status: 30000020
> yenta_cardbus 0000:01:0b.0: pcmcia: parent PCI bridge I/O window: 0xc000 - 0xcfff
> : cs: IO port probe 0xc000-0xcfff: clean. 
> ^^--- missing device ID
> 
> Note that a bit later the device ID _is_ present in the same message:
> yenta_cardbus 0000:01:0b.0: pcmcia: parent PCI bridge Memory window: 0xcfe00000 - 0xcfefffff
> yenta_cardbus 0000:01:0b.0: pcmcia: parent PCI bridge Memory window: 0x28000000 - 0x2bffffff
> pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
> pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: clean.

The following patch fixes this issue and also fixes another minor error.

The patch prefixes "yenta_cardbus 0000:01:0b.0" for the first IO probe and
leaves the later ones unchanged.
Alternative would be to just unconditionally use &s->cb_dev->dev.

It might be good to clean up the seemingly inconsistent use in the messages
of "pcmcia: ", "pccard: " and "cs: " at some point. (Or even just just remove
them altogether as they are now redundant?)

Cheers,
FJP

---
From: Frans Pop <elendil at planet.nl>

pcmcia: ensure correct logging in do_io_probe
    
During early probing of the parent PCI bridge I/O window no socket
has been allocated yet.
In that case print &s->cb_dev->dev instead of &s->dev as device.
    
Also properly close previous dev_printk if kzalloc fails.

Signed-off-by: Frans Pop <elendil at planet.nl>

diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index 17f4ecf..2a6a3d1 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -200,14 +200,17 @@ static void do_io_probe(struct pcmcia_socket *s, unsigned int base,
     int any;
     u_char *b, hole, most;
 
-    dev_printk(KERN_INFO, &s->dev, "cs: IO port probe %#x-%#x:",
-	       base, base+num-1);
+    dev_printk(KERN_INFO,
+	       s->state & SOCKET_PRESENT ? &s->dev : &s->cb_dev->dev,
+	       "cs: IO port probe %#x-%#x:", base, base+num-1);
 
     /* First, what does a floating port look like? */
     b = kzalloc(256, GFP_KERNEL);
     if (!b) {
-	    dev_printk(KERN_ERR, &s->dev,
-		   "do_io_probe: unable to kmalloc 256 bytes");
+	    printk("\n");
+	    dev_printk(KERN_ERR,
+		   s->state & SOCKET_PRESENT ? &s->dev : &s->cb_dev->dev,
+		   "cs: do_io_probe: unable to kmalloc 256 bytes");
             return;
     }
     for (i = base, most = 0; i < base+num; i += 8) {


From elendil at planet.nl  Fri Nov  7 08:35:15 2008
From: elendil at planet.nl (Frans Pop)
Date: Fri, 7 Nov 2008 14:35:15 +0100
Subject: [PATCH] pcmcia: minor logging improvement on card detection
In-Reply-To: <200811071419.11050.elendil@planet.nl>
References: <200811031942.20360.elendil@planet.nl>
	<200811071419.11050.elendil@planet.nl>
Message-ID: <200811071435.15934.elendil@planet.nl>

From: Frans Pop <elendil at planet.nl>

pcmcia: minor logging improvement on card detection
    
Show for which device a card has been inserted, so instead of:
   pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
print:
   yenta_cardbus 0000:01:0b.0: pccard: CardBus card inserted into slot 0
    
This provides a more logical link between previous and following messages.
    
Signed-off-by: Frans Pop <elendil at planet.nl>
CC: Dominik Brodowski <linux at dominikbrodowski.net>

diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c
index c68c5d3..c249776 100644
--- a/drivers/pcmcia/cs.c
+++ b/drivers/pcmcia/cs.c
@@ -510,7 +510,7 @@ static int socket_insert(struct pcmcia_socket *skt)
 	if (ret == 0) {
 		skt->state |= SOCKET_PRESENT;
 
-		dev_printk(KERN_NOTICE, &skt->dev,
+		dev_printk(KERN_NOTICE, &skt->cb_dev->dev,
 			   "pccard: %s card inserted into slot %d\n",
 			   (skt->state & SOCKET_CARDBUS) ? "CardBus" : "PCMCIA",
 			   skt->sock);


From elendil at planet.nl  Fri Nov  7 09:22:42 2008
From: elendil at planet.nl (Frans Pop)
Date: Fri, 7 Nov 2008 15:22:42 +0100
Subject: [PATCH] pcmcia: ensure correct logging in do_io_probe [v2]
Message-ID: <200811071522.43618.elendil@planet.nl>

I've added parens around the conditions. Maybe not strictly needed,
but better readable and consistent with similar usage in cs.c.

Cheers,
FJP

---
From: Frans Pop <elendil at planet.nl>

pcmcia: ensure correct logging in do_io_probe
    
During early probing of the parent PCI bridge I/O window no socket
has been allocated yet.
In that case print &s->cb_dev->dev instead of &s->dev as device.
    
Also properly close previous dev_printk if kzalloc fails.

Signed-off-by: Frans Pop <elendil at planet.nl>
CC: Dominik Brodowski <linux at dominikbrodowski.net>

diff --git a/drivers/pcmcia/rsrc_nonstatic.c 
b/drivers/pcmcia/rsrc_nonstatic.c
index 17f4ecf..2a6a3d1 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -200,14 +200,17 @@ static void do_io_probe(struct pcmcia_socket *s, 
unsigned int base,
     int any;
     u_char *b, hole, most;
 
-    dev_printk(KERN_INFO, &s->dev, "cs: IO port probe %#x-%#x:",
-	       base, base+num-1);
+    dev_printk(KERN_INFO,
+	       (s->state & SOCKET_PRESENT) ? &s->dev : &s->cb_dev->dev,
+	       "cs: IO port probe %#x-%#x:", base, base+num-1);
 
     /* First, what does a floating port look like? */
     b = kzalloc(256, GFP_KERNEL);
     if (!b) {
-	    dev_printk(KERN_ERR, &s->dev,
-		   "do_io_probe: unable to kmalloc 256 bytes");
+	    printk("\n");
+	    dev_printk(KERN_ERR,
+		   (s->state & SOCKET_PRESENT) ? &s->dev : &s->cb_dev->dev,
+		   "cs: do_io_probe: unable to kmalloc 256 bytes");
             return;
     }
     for (i = base, most = 0; i < base+num; i += 8) {


From bugme-daemon at bugzilla.kernel.org  Sun Nov  9 02:45:45 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Sat,  8 Nov 2008 23:45:45 -0800 (PST)
Subject: [Bug 11992] New: [drivers/pcmcia/cistpl.c:357]: Unreachable code
Message-ID: <bug-11992-4463@http.bugzilla.kernel.org/>

http://bugzilla.kernel.org/show_bug.cgi?id=11992

           Summary: [drivers/pcmcia/cistpl.c:357]: Unreachable code
           Product: Drivers
           Version: 2.5
     KernelVersion: latest git tree
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PCMCIA
        AssignedTo: linux-pcmcia at lists.infradead.org
        ReportedBy: danielm77 at spray.se


The code below the return will never be executed.. it seems to me that brackets
are missing.

int verify_cis_cache(struct pcmcia_socket *s)
{
        struct cis_cache_entry *cis;
        char *buf;

        buf = kmalloc(256, GFP_KERNEL);
        if (buf == NULL)
                dev_printk(KERN_WARNING, &s->dev,
                           "no memory for verifying CIS\n");
                return -ENOMEM;


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


From bugme-daemon at bugzilla.kernel.org  Sun Nov  9 15:31:35 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Sun,  9 Nov 2008 12:31:35 -0800 (PST)
Subject: [Bug 11992] [drivers/pcmcia/cistpl.c:357]: Unreachable code
In-Reply-To: <bug-11992-4463@http.bugzilla.kernel.org/>
Message-ID: <20081109203135.6D0B2108040@picon.linux-foundation.org>

http://bugzilla.kernel.org/show_bug.cgi?id=11992


linux at brodo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|linux-                      |linux at brodo.de
                   |pcmcia at lists.infradead.org  |
             Status|NEW                         |ASSIGNED




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.


From linux at dominikbrodowski.net  Sun Nov  9 15:37:58 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Sun, 9 Nov 2008 21:37:58 +0100
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <200811061144.35556.marc.pignat@hevs.ch>
References: <200811061144.35556.marc.pignat@hevs.ch>
Message-ID: <20081109203758.GA16744@comet.dominikbrodowski.net>

On Thu, Nov 06, 2008 at 11:44:34AM +0100, Marc Pignat wrote:
> Support for Apacer photo steno pro card.

Applied, many thanks!

	Dominik


From linux at dominikbrodowski.net  Sun Nov  9 15:43:41 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Sun, 9 Nov 2008 21:43:41 +0100
Subject: [PATCH] pcmcia: minor logging improvement on card detection
In-Reply-To: <200811071435.15934.elendil@planet.nl>
References: <200811031942.20360.elendil@planet.nl>
	<200811071419.11050.elendil@planet.nl>
	<200811071435.15934.elendil@planet.nl>
Message-ID: <20081109204341.GA16869@comet.dominikbrodowski.net>

Hi,

On Fri, Nov 07, 2008 at 02:35:15PM +0100, Frans Pop wrote:
> From: Frans Pop <elendil at planet.nl>
> 
> pcmcia: minor logging improvement on card detection
>     
> Show for which device a card has been inserted, so instead of:
>    pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
> print:
>    yenta_cardbus 0000:01:0b.0: pccard: CardBus card inserted into slot 0
>     
> This provides a more logical link between previous and following messages.

unfortunately, this won't work -- &skt->cb_dev is only available and set if
the parent device is a PCI device; therefore, &skt->dev is the only thing we
can use.

Best,
	Dominik


From linux at dominikbrodowski.net  Sun Nov  9 16:28:49 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Sun, 9 Nov 2008 22:28:49 +0100
Subject: [PATCH] pcmcia: ensure correct logging in do_io_probe [v2]
In-Reply-To: <200811071522.43618.elendil@planet.nl>
References: <200811071522.43618.elendil@planet.nl>
Message-ID: <20081109212849.GA12584@isilmar.linta.de>

Hi,

On Fri, Nov 07, 2008 at 03:22:42PM +0100, Frans Pop wrote:
> I've added parens around the conditions. Maybe not strictly needed,
> but better readable and consistent with similar usage in cs.c.
>
> From: Frans Pop <elendil at planet.nl>
> 
> pcmcia: ensure correct logging in do_io_probe
>     
> During early probing of the parent PCI bridge I/O window no socket
> has been allocated yet.
> In that case print &s->cb_dev->dev instead of &s->dev as device.

similar to the other patch, this won't work: &skt->cb_dev is only available
and set if the parent device is a PCI device; therefore, &skt->dev is the
only thing we can use.

An alternative approach would be to move this initialization code only after
we've set dev_name. Could you test whether this approach works for you,
please?

Thanks,
	Dominik


>From b1769450da0eeae2d95aae5496acbdf4c6ba89b2 Mon Sep 17 00:00:00 2001
From: Dominik Brodowski <linux at dominikbrodowski.net>
Date: Sun, 9 Nov 2008 21:47:47 +0100
Subject: [PATCH] pcmcia: ensure correct logging in do_io_probe

Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>

diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c
index 5d0e60e..0660ad1 100644
--- a/drivers/pcmcia/cs.c
+++ b/drivers/pcmcia/cs.c
@@ -186,12 +186,6 @@ int pcmcia_register_socket(struct pcmcia_socket *socket)
 
 	spin_lock_init(&socket->lock);
 
-	if (socket->resource_ops->init) {
-		ret = socket->resource_ops->init(socket);
-		if (ret)
-			return (ret);
-	}
-
 	/* try to obtain a socket number [yes, it gets ugly if we
 	 * register more than 2^sizeof(unsigned int) pcmcia
 	 * sockets... but the socket number is deprecated
@@ -239,6 +233,12 @@ int pcmcia_register_socket(struct pcmcia_socket *socket)
 	mutex_init(&socket->skt_mutex);
 	spin_lock_init(&socket->thread_lock);
 
+	if (socket->resource_ops->init) {
+		ret = socket->resource_ops->init(socket);
+		if (ret)
+			goto err;
+	}
+
 	tsk = kthread_run(pccardd, socket, "pccardd");
 	if (IS_ERR(tsk)) {
 		ret = PTR_ERR(tsk);


From arvidjaar at mail.ru  Sun Nov  9 22:55:18 2008
From: arvidjaar at mail.ru (Andrey Borzenkov)
Date: Mon, 10 Nov 2008 06:55:18 +0300
Subject: [Bug #11911] new PCMCIA device instance after resume - orinoco
	can't download firmware
In-Reply-To: <wnN9HICUAgP.A.W2G.74zFJB@chimera>
References: <YrUCLn0F-xH.A.fhE.E4zFJB@chimera>
	<wnN9HICUAgP.A.W2G.74zFJB@chimera>
Message-ID: <200811100655.28323.arvidjaar@mail.ru>

On Sunday 09 November 2008, Rafael J. Wysocki wrote:
> This message has been generated automatically as a part of a report
> of recent regressions.
> 
> The following bug entry is on the current list of known regressions
> from 2.6.27.  Please verify if it still should be listed and let me know
> (either way).
> 

Still present in rc4.

> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=11911
> Subject		: new PCMCIA device instance after resume - orinoco can't download firmware
> Submitter	: Andrey Borzenkov <arvidjaar at mail.ru>
> Date		: 2008-10-28 19:19 (13 days old)
> References	: http://marc.info/?l=linux-wireless&m=122522165719760&w=4
> Handled-By	: Dave <kilroyd at googlemail.com>
> Patch		: http://marc.info/?l=linux-wireless&m=122539058601588&w=4
> 
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20081110/30a58e4b/attachment.bin 

From bugme-daemon at bugzilla.kernel.org  Mon Nov 10 00:52:32 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Sun,  9 Nov 2008 21:52:32 -0800 (PST)
Subject: [Bug 10949] PCMCIA Card to RS232 don't work
In-Reply-To: <bug-10949-4463@http.bugzilla.kernel.org/>
Message-ID: <20081110055232.79EA1108042@picon.linux-foundation.org>

http://bugzilla.kernel.org/show_bug.cgi?id=10949





------- Comment #2 from johnrdoe63 at cregion.ru  2008-11-09 21:52 -------
Same result.

? ???, 26/10/2008 ? 06:17 -0700, bugme-daemon at bugzilla.kernel.org
?????:
> http://bugzilla.kernel.org/show_bug.cgi?id=10949
> 
> 
> 
> 
> 
> ------- Comment #1 from komurojun-mbn at nifty.com  2008-10-26 06:17 -------
> 
> 
> Could you try the kernel 2.6.27?
> 
> 


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


From jeff at garzik.org  Tue Nov 11 03:02:23 2008
From: jeff at garzik.org (Jeff Garzik)
Date: Tue, 11 Nov 2008 03:02:23 -0500
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <200811061144.35556.marc.pignat@hevs.ch>
References: <200811061144.35556.marc.pignat@hevs.ch>
Message-ID: <49193C0F.5000908@garzik.org>

Marc Pignat wrote:
> Support for Apacer photo steno pro card.
> 
> Signed-off-by: Marc Pignat <marc.pignat at hevs.ch>
> ---
> 
> Hi all!
> 
> Here is a new ID for ide-cs and pata_pcmcia. I tried all the card
> I can find in the labs, only this one was unknown.
> 
> Best regards
> 
> Marc
> 
> 
> 
> diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
> index 271cb64..64b2e22 100644
> --- a/drivers/ata/pata_pcmcia.c
> +++ b/drivers/ata/pata_pcmcia.c
> @@ -416,6 +416,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {
>  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
>  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
>  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
> +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
>  	PCMCIA_DEVICE_NULL,
>  };
>  
> diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
> index cb199c8..f50210f 100644
> --- a/drivers/ide/ide-cs.c
> +++ b/drivers/ide/ide-cs.c
> @@ -444,6 +444,7 @@ static struct pcmcia_device_id ide_ids[] = {
>  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
>  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
>  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
> +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
>  	PCMCIA_DEVICE_NULL,
>  };
>  MODULE_DEVICE_TABLE(pcmcia, ide_ids);
> --

applied pata_pcmcia bit




From linux at dominikbrodowski.net  Tue Nov 11 03:40:53 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Tue, 11 Nov 2008 09:40:53 +0100
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <49193C0F.5000908@garzik.org>
References: <200811061144.35556.marc.pignat@hevs.ch>
	<49193C0F.5000908@garzik.org>
Message-ID: <20081111084053.GA12965@isilmar.linta.de>

Jeff,

On Tue, Nov 11, 2008 at 03:02:23AM -0500, Jeff Garzik wrote:
> Marc Pignat wrote:
> > Support for Apacer photo steno pro card.
> > 
> > Signed-off-by: Marc Pignat <marc.pignat at hevs.ch>
> > ---
> > 
> > Hi all!
> > 
> > Here is a new ID for ide-cs and pata_pcmcia. I tried all the card
> > I can find in the labs, only this one was unknown.
> > 
> > Best regards
> > 
> > Marc
> > 
> > 
> > 
> > diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
> > index 271cb64..64b2e22 100644
> > --- a/drivers/ata/pata_pcmcia.c
> > +++ b/drivers/ata/pata_pcmcia.c
> > @@ -416,6 +416,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {
> >  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
> >  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
> >  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
> > +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
> >  	PCMCIA_DEVICE_NULL,
> >  };
> >  
> > diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
> > index cb199c8..f50210f 100644
> > --- a/drivers/ide/ide-cs.c
> > +++ b/drivers/ide/ide-cs.c
> > @@ -444,6 +444,7 @@ static struct pcmcia_device_id ide_ids[] = {
> >  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
> >  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
> >  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
> > +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
> >  	PCMCIA_DEVICE_NULL,
> >  };
> >  MODULE_DEVICE_TABLE(pcmcia, ide_ids);
> > --
> 
> applied pata_pcmcia bit

could we merge such stuff through pcmcia-git in future, please? (see
http://git.kernel.org/?p=linux/kernel/git/brodo/pcmcia-2.6.git;a=commitdiff;h=980fc29f20f5cfb8cef29ddfccecb685f299ada4
) Else the device tables in ide-cs and pata_pcmcia will diverge again.

Thanks,
	Dominik


From jeff at garzik.org  Tue Nov 11 03:44:09 2008
From: jeff at garzik.org (Jeff Garzik)
Date: Tue, 11 Nov 2008 03:44:09 -0500
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <20081111084053.GA12965@isilmar.linta.de>
References: <200811061144.35556.marc.pignat@hevs.ch>
	<49193C0F.5000908@garzik.org>
	<20081111084053.GA12965@isilmar.linta.de>
Message-ID: <491945D9.2080201@garzik.org>

Dominik Brodowski wrote:
> Jeff,
> 
> On Tue, Nov 11, 2008 at 03:02:23AM -0500, Jeff Garzik wrote:
>> Marc Pignat wrote:
>>> Support for Apacer photo steno pro card.
>>>
>>> Signed-off-by: Marc Pignat <marc.pignat at hevs.ch>
>>> ---
>>>
>>> Hi all!
>>>
>>> Here is a new ID for ide-cs and pata_pcmcia. I tried all the card
>>> I can find in the labs, only this one was unknown.
>>>
>>> Best regards
>>>
>>> Marc
>>>
>>>
>>>
>>> diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
>>> index 271cb64..64b2e22 100644
>>> --- a/drivers/ata/pata_pcmcia.c
>>> +++ b/drivers/ata/pata_pcmcia.c
>>> @@ -416,6 +416,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {
>>>  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
>>>  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
>>>  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
>>> +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
>>>  	PCMCIA_DEVICE_NULL,
>>>  };
>>>  
>>> diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
>>> index cb199c8..f50210f 100644
>>> --- a/drivers/ide/ide-cs.c
>>> +++ b/drivers/ide/ide-cs.c
>>> @@ -444,6 +444,7 @@ static struct pcmcia_device_id ide_ids[] = {
>>>  	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
>>>  	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
>>>  	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
>>> +	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
>>>  	PCMCIA_DEVICE_NULL,
>>>  };
>>>  MODULE_DEVICE_TABLE(pcmcia, ide_ids);
>>> --
>> applied pata_pcmcia bit
> 
> could we merge such stuff through pcmcia-git in future, please? (see
> http://git.kernel.org/?p=linux/kernel/git/brodo/pcmcia-2.6.git;a=commitdiff;h=980fc29f20f5cfb8cef29ddfccecb685f299ada4
> ) Else the device tables in ide-cs and pata_pcmcia will diverge again.

It is not normal practice to merge add-device-id patches through 
bus-specific trees.  We do not do such things with PCI IDs, for example.

I would be happy to apply the whole patch, or ACK it and let Bart apply 
the entire patch.  Either way is fine with me.

	Jeff






From linux at dominikbrodowski.net  Tue Nov 11 06:22:43 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Tue, 11 Nov 2008 12:22:43 +0100
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <491945D9.2080201@garzik.org>
References: <200811061144.35556.marc.pignat@hevs.ch>
	<49193C0F.5000908@garzik.org>
	<20081111084053.GA12965@isilmar.linta.de>
	<491945D9.2080201@garzik.org>
Message-ID: <20081111112243.GA6271@comet.dominikbrodowski.net>

Jeff,

On Tue, Nov 11, 2008 at 03:44:09AM -0500, Jeff Garzik wrote:
> It is not normal practice to merge add-device-id patches through 
> bus-specific trees.  We do not do such things with PCI IDs, for example.

Well, it's been normal practice for pcmcia IDs.

> I would be happy to apply the whole patch, or ACK it and let Bart apply 
> the entire patch.  Either way is fine with me.

Anyways, as it's already in my queue for Linus, it'll be a double-merge this
time. Let's just try to keep the IDs in pata_pcmcia and ide-cs coordinated
in future, ok?

Best,
	Dominik


From alan at lxorguk.ukuu.org.uk  Tue Nov 11 06:37:38 2008
From: alan at lxorguk.ukuu.org.uk (Alan Cox)
Date: Tue, 11 Nov 2008 11:37:38 +0000
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <491945D9.2080201@garzik.org>
References: <200811061144.35556.marc.pignat@hevs.ch>
	<49193C0F.5000908@garzik.org>
	<20081111084053.GA12965@isilmar.linta.de>
	<491945D9.2080201@garzik.org>
Message-ID: <20081111113738.26a8132b@lxorguk.ukuu.org.uk>

> It is not normal practice to merge add-device-id patches through 
> bus-specific trees.  We do not do such things with PCI IDs, for example.

We've also been parallel applying patches via myself through Jeff and via
Bart since the beginnings of libata without a problem. So it ain't
broke ....


From alan at lxorguk.ukuu.org.uk  Tue Nov 11 06:59:10 2008
From: alan at lxorguk.ukuu.org.uk (Alan Cox)
Date: Tue, 11 Nov 2008 11:59:10 +0000
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <20081111112243.GA6271@comet.dominikbrodowski.net>
References: <200811061144.35556.marc.pignat@hevs.ch>
	<49193C0F.5000908@garzik.org>
	<20081111084053.GA12965@isilmar.linta.de>
	<491945D9.2080201@garzik.org>
	<20081111112243.GA6271@comet.dominikbrodowski.net>
Message-ID: <20081111115910.54d86403@lxorguk.ukuu.org.uk>

On Tue, 11 Nov 2008 12:22:43 +0100
Dominik Brodowski <linux at dominikbrodowski.net> wrote:

> Jeff,
> 
> On Tue, Nov 11, 2008 at 03:44:09AM -0500, Jeff Garzik wrote:
> > It is not normal practice to merge add-device-id patches through 
> > bus-specific trees.  We do not do such things with PCI IDs, for example.
> 
> Well, it's been normal practice for pcmcia IDs.

Not for ide or ATA in the past few years.

Alan


From linux at dominikbrodowski.net  Tue Nov 11 07:25:37 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Tue, 11 Nov 2008 13:25:37 +0100
Subject: [PATCH] pata_pcmcia: another memory card support
In-Reply-To: <20081111113738.26a8132b@lxorguk.ukuu.org.uk>
	<20081111115910.54d86403@lxorguk.ukuu.org.uk>
References: <49193C0F.5000908@garzik.org>
	<20081111084053.GA12965@isilmar.linta.de>
	<491945D9.2080201@garzik.org>
	<20081111113738.26a8132b@lxorguk.ukuu.org.uk>
	<200811061144.35556.marc.pignat@hevs.ch>
	<49193C0F.5000908@garzik.org>
	<20081111084053.GA12965@isilmar.linta.de>
	<491945D9.2080201@garzik.org>
	<20081111112243.GA6271@comet.dominikbrodowski.net>
	<20081111115910.54d86403@lxorguk.ukuu.org.uk>
Message-ID: <20081111122537.GA9958@comet.dominikbrodowski.net>

On Tue, Nov 11, 2008 at 11:37:38AM +0000, Alan Cox wrote:
> > It is not normal practice to merge add-device-id patches through 
> > bus-specific trees.  We do not do such things with PCI IDs, for example.
> 
> We've also been parallel applying patches via myself through Jeff and via
> Bart since the beginnings of libata without a problem. So it ain't
> broke ....

795659ef0ee175d47723f806e7a29427b171e61b . Let's just try to apply new IDs
to both files, and not cherry-pick parts of such a patch?

Best,
	Dominik


From linux at dominikbrodowski.net  Wed Nov 12 05:24:55 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Wed, 12 Nov 2008 11:24:55 +0100
Subject: [PATCH 3/6] pcmcia: struct device - replace bus_id with dev_name(),
	dev_set_name()
In-Reply-To: <20081112101725.GA14698@comet.dominikbrodowski.net>
References: <20081112101725.GA14698@comet.dominikbrodowski.net>
Message-ID: <1226485498-15754-3-git-send-email-linux@dominikbrodowski.net>

From: Kay Sievers <kay.sievers at vrfy.org>

Signed-Off-By: Kay Sievers <kay.sievers at vrfy.org>
Acked-by: Greg Kroah-Hartman <gregkh at suse.de>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/pcmcia/cs.c             |    2 +-
 drivers/pcmcia/ds.c             |    9 ++++-----
 drivers/pcmcia/rsrc_nonstatic.c |    6 +++---
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c
index c68c5d3..5d0e60e 100644
--- a/drivers/pcmcia/cs.c
+++ b/drivers/pcmcia/cs.c
@@ -226,7 +226,7 @@ int pcmcia_register_socket(struct pcmcia_socket *socket)
 	/* set proper values in socket->dev */
 	dev_set_drvdata(&socket->dev, socket);
 	socket->dev.class = &pcmcia_socket_class;
-	snprintf(socket->dev.bus_id, BUS_ID_SIZE, "pcmcia_socket%u", socket->sock);
+	dev_set_name(&socket->dev, "pcmcia_socket%u", socket->sock);
 
 	/* base address = 0, map = 0 */
 	socket->cis_mem.flags = 0;
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 00eee14..47cab31 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -622,7 +622,6 @@ struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int f
 {
 	struct pcmcia_device *p_dev, *tmp_dev;
 	unsigned long flags;
-	int bus_id_len;
 
 	s = pcmcia_get_socket(s);
 	if (!s)
@@ -650,12 +649,12 @@ struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int f
 	/* by default don't allow DMA */
 	p_dev->dma_mask = DMA_MASK_NONE;
 	p_dev->dev.dma_mask = &p_dev->dma_mask;
-	bus_id_len = sprintf (p_dev->dev.bus_id, "%d.%d", p_dev->socket->sock, p_dev->device_no);
-
-	p_dev->devname = kmalloc(6 + bus_id_len + 1, GFP_KERNEL);
+	dev_set_name(&p_dev->dev, "%d.%d", p_dev->socket->sock, p_dev->device_no);
+	if (!dev_name(&p_dev->dev))
+		goto err_free;
+	p_dev->devname = kasprintf(GFP_KERNEL, "pcmcia%s", dev_name(&p_dev->dev));
 	if (!p_dev->devname)
 		goto err_free;
-	sprintf (p_dev->devname, "pcmcia%s", p_dev->dev.bus_id);
 	ds_dev_dbg(3, &p_dev->dev, "devname is %s\n", p_dev->devname);
 
 	spin_lock_irqsave(&pcmcia_dev_list_lock, flags);
diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index 17f4ecf..9ca22c7 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -71,7 +71,7 @@ static DEFINE_MUTEX(rsrc_mutex);
 ======================================================================*/
 
 static struct resource *
-make_resource(resource_size_t b, resource_size_t n, int flags, char *name)
+make_resource(resource_size_t b, resource_size_t n, int flags, const char *name)
 {
 	struct resource *res = kzalloc(sizeof(*res), GFP_KERNEL);
 
@@ -624,7 +624,7 @@ static int nonstatic_adjust_io_region(struct resource *res, unsigned long r_star
 static struct resource *nonstatic_find_io_region(unsigned long base, int num,
 		   unsigned long align, struct pcmcia_socket *s)
 {
-	struct resource *res = make_resource(0, num, IORESOURCE_IO, s->dev.bus_id);
+	struct resource *res = make_resource(0, num, IORESOURCE_IO, dev_name(&s->dev));
 	struct socket_data *s_data = s->resource_data;
 	struct pcmcia_align_data data;
 	unsigned long min = base;
@@ -658,7 +658,7 @@ static struct resource *nonstatic_find_io_region(unsigned long base, int num,
 static struct resource * nonstatic_find_mem_region(u_long base, u_long num,
 		u_long align, int low, struct pcmcia_socket *s)
 {
-	struct resource *res = make_resource(0, num, IORESOURCE_MEM, s->dev.bus_id);
+	struct resource *res = make_resource(0, num, IORESOURCE_MEM, dev_name(&s->dev));
 	struct socket_data *s_data = s->resource_data;
 	struct pcmcia_align_data data;
 	unsigned long min, max;
-- 
1.5.6.3



From linux at dominikbrodowski.net  Wed Nov 12 05:24:57 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Wed, 12 Nov 2008 11:24:57 +0100
Subject: [PATCH 5/6] pcmcia: add another pata/ide ID
In-Reply-To: <20081112101725.GA14698@comet.dominikbrodowski.net>
References: <20081112101725.GA14698@comet.dominikbrodowski.net>
Message-ID: <1226485498-15754-5-git-send-email-linux@dominikbrodowski.net>

From: Marc Pignat <marc.pignat at hevs.ch>

Support for Apacer photo steno pro card.

Signed-off-by: Marc Pignat <marc.pignat at hevs.ch>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
CC: Alan Cox <alan at lxorguk.ukuu.org.uk
CC: linux-ide at vger.kernel.org
---
 drivers/ata/pata_pcmcia.c |    1 +
 drivers/ide/ide-cs.c      |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
index 271cb64..64b2e22 100644
--- a/drivers/ata/pata_pcmcia.c
+++ b/drivers/ata/pata_pcmcia.c
@@ -416,6 +416,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {
 	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
 	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
 	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
+	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
 	PCMCIA_DEVICE_NULL,
 };
 
diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
index cb199c8..f50210f 100644
--- a/drivers/ide/ide-cs.c
+++ b/drivers/ide/ide-cs.c
@@ -444,6 +444,7 @@ static struct pcmcia_device_id ide_ids[] = {
 	PCMCIA_DEVICE_PROD_ID1("STI Flash", 0xe4a13209),
 	PCMCIA_DEVICE_PROD_ID12("STI", "Flash 5.0", 0xbf2df18d, 0x8cb57a0e),
 	PCMCIA_MFC_DEVICE_PROD_ID12(1, "SanDisk", "ConnectPlus", 0x7a954bd9, 0x74be00c6),
+	PCMCIA_DEVICE_PROD_ID2("Flash Card", 0x5a362506),
 	PCMCIA_DEVICE_NULL,
 };
 MODULE_DEVICE_TABLE(pcmcia, ide_ids);
-- 
1.5.6.3



From linux at dominikbrodowski.net  Wed Nov 12 05:24:53 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Wed, 12 Nov 2008 11:24:53 +0100
Subject: [PATCH 1/6] pcmcia: fix indentation & braces disagreement - add braces
In-Reply-To: <20081112101725.GA14698@comet.dominikbrodowski.net>
References: <20081112101725.GA14698@comet.dominikbrodowski.net>
Message-ID: <1226485498-15754-1-git-send-email-linux@dominikbrodowski.net>

From: Ilpo J?rvinen <ilpo.jarvinen at helsinki.fi>

Broken by d8b0a49da4f2 (pcmcia: deprecate CS_BAD_VCC and
CS_BAD_VPP).

Signed-off-by: Ilpo J?rvinen <ilpo.jarvinen at helsinki.fi>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/pcmcia/pcmcia_resource.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c
index 76d4a98..f5d0ba8 100644
--- a/drivers/pcmcia/pcmcia_resource.c
+++ b/drivers/pcmcia/pcmcia_resource.c
@@ -302,9 +302,10 @@ int pcmcia_modify_configuration(struct pcmcia_device *p_dev,
 	/* We only allow changing Vpp1 and Vpp2 to the same value */
 	if ((mod->Attributes & CONF_VPP1_CHANGE_VALID) &&
 	    (mod->Attributes & CONF_VPP2_CHANGE_VALID)) {
-		if (mod->Vpp1 != mod->Vpp2)
+		if (mod->Vpp1 != mod->Vpp2) {
 			ds_dbg(s, 0, "Vpp1 and Vpp2 must be the same\n");
 			return -EINVAL;
+		}
 		s->socket.Vpp = mod->Vpp1;
 		if (s->ops->set_socket(s, &s->socket)) {
 			dev_printk(KERN_WARNING, &s->dev,
-- 
1.5.6.3



From linux at dominikbrodowski.net  Wed Nov 12 05:24:58 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Wed, 12 Nov 2008 11:24:58 +0100
Subject: [PATCH 6/6] pcmcia: ensure correct logging in do_io_probe
In-Reply-To: <20081112101725.GA14698@comet.dominikbrodowski.net>
References: <20081112101725.GA14698@comet.dominikbrodowski.net>
Message-ID: <1226485498-15754-6-git-send-email-linux@dominikbrodowski.net>

Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/pcmcia/cs.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c
index 5d0e60e..0660ad1 100644
--- a/drivers/pcmcia/cs.c
+++ b/drivers/pcmcia/cs.c
@@ -186,12 +186,6 @@ int pcmcia_register_socket(struct pcmcia_socket *socket)
 
 	spin_lock_init(&socket->lock);
 
-	if (socket->resource_ops->init) {
-		ret = socket->resource_ops->init(socket);
-		if (ret)
-			return (ret);
-	}
-
 	/* try to obtain a socket number [yes, it gets ugly if we
 	 * register more than 2^sizeof(unsigned int) pcmcia
 	 * sockets... but the socket number is deprecated
@@ -239,6 +233,12 @@ int pcmcia_register_socket(struct pcmcia_socket *socket)
 	mutex_init(&socket->skt_mutex);
 	spin_lock_init(&socket->thread_lock);
 
+	if (socket->resource_ops->init) {
+		ret = socket->resource_ops->init(socket);
+		if (ret)
+			goto err;
+	}
+
 	tsk = kthread_run(pccardd, socket, "pccardd");
 	if (IS_ERR(tsk)) {
 		ret = PTR_ERR(tsk);
-- 
1.5.6.3



From linux at dominikbrodowski.net  Wed Nov 12 05:24:56 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Wed, 12 Nov 2008 11:24:56 +0100
Subject: [PATCH 4/6] pcmcia: add braces in error path
In-Reply-To: <20081112101725.GA14698@comet.dominikbrodowski.net>
References: <20081112101725.GA14698@comet.dominikbrodowski.net>
Message-ID: <1226485498-15754-4-git-send-email-linux@dominikbrodowski.net>

Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/pcmcia/cistpl.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c
index dcce9f5..4a110b7 100644
--- a/drivers/pcmcia/cistpl.c
+++ b/drivers/pcmcia/cistpl.c
@@ -351,10 +351,11 @@ int verify_cis_cache(struct pcmcia_socket *s)
 	char *buf;
 
 	buf = kmalloc(256, GFP_KERNEL);
-	if (buf == NULL)
+	if (buf == NULL) {
 		dev_printk(KERN_WARNING, &s->dev,
 			   "no memory for verifying CIS\n");
 		return -ENOMEM;
+	}
 	list_for_each_entry(cis, &s->cis_cache, node) {
 		int len = cis->len;
 
-- 
1.5.6.3



From linux at dominikbrodowski.net  Wed Nov 12 05:24:54 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Wed, 12 Nov 2008 11:24:54 +0100
Subject: [PATCH 2/6] pcmcia: setup resource information for pseudo
	multifunction devices.
In-Reply-To: <20081112101725.GA14698@comet.dominikbrodowski.net>
References: <20081112101725.GA14698@comet.dominikbrodowski.net>
Message-ID: <1226485498-15754-2-git-send-email-linux@dominikbrodowski.net>

From: Komuro <komurojun-mbn at nifty.com>

Setup "io" and "irq" for pseudo multifunction devices.

Signed-off-by: Komuro <komurojun-mbn at nifty.com>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/pcmcia/ds.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 7956602..00eee14 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -668,6 +668,8 @@ struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int f
         list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list)
                 if (p_dev->func == tmp_dev->func) {
 			p_dev->function_config = tmp_dev->function_config;
+			p_dev->io = tmp_dev->io;
+			p_dev->irq = tmp_dev->irq;
 			kref_get(&p_dev->function_config->ref);
 		}
 
-- 
1.5.6.3



From linux at dominikbrodowski.net  Wed Nov 12 05:17:25 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Wed, 12 Nov 2008 11:17:25 +0100
Subject: [git pull] PCMCIA updates and fixes for 2.6.28-rc4
Message-ID: <20081112101725.GA14698@comet.dominikbrodowski.net>

Linus,

a few PCMCIA bugfixes are available at

  git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git master

The diffstat and list of changes follows, the individual diffs are sent (at
least) to the linux-pcmcia list.

Thanks,
	Dominik

----

Dominik Brodowski (2):
      pcmcia: add braces in error path
      pcmcia: ensure correct logging in do_io_probe

Ilpo J?rvinen (1):
      pcmcia: fix indentation & braces disagreement - add braces

Kay Sievers (1):
      pcmcia: struct device - replace bus_id with dev_name(), dev_set_name()

Komuro (1):
      pcmcia: setup resource information for pseudo multifunction devices.

Marc Pignat (1):
      pcmcia: add another pata/ide ID

 drivers/ata/pata_pcmcia.c        |    1 +
 drivers/ide/ide-cs.c             |    1 +
 drivers/pcmcia/cistpl.c          |    3 ++-
 drivers/pcmcia/cs.c              |   14 +++++++-------
 drivers/pcmcia/ds.c              |   11 ++++++-----
 drivers/pcmcia/pcmcia_resource.c |    3 ++-
 drivers/pcmcia/rsrc_nonstatic.c  |    6 +++---
 7 files changed, 22 insertions(+), 17 deletions(-)


From julia at diku.dk  Thu Nov 13 05:33:54 2008
From: julia at diku.dk (Julia Lawall)
Date: Thu, 13 Nov 2008 11:33:54 +0100 (CET)
Subject: [PATCH] drivers/pcmcia/cistpl.c: introduce missing braces
Message-ID: <Pine.LNX.4.64.0811131133010.9563@pc-004.diku.dk>

From: Julia Lawall <julia at diku.dk>

The indentation and behavior of the code below suggests that braces are
intended around the if branch.

The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@r exists@
local idexpression x;
statement S;
expression E;
identifier f,l;
position p1,p2;
expression *ptr != NULL;
@@

(
if ((x at p1 = \(kmalloc\|kzalloc\|kcalloc\)(...)) == NULL) S
|
x at p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
...
if (x == NULL) S
)
<... when != x
     when != if (...) { <+...x...+> }
x->f = E
...>
(
 return \(0\|<+...x...+>\|ptr\);
|
 return at p2 ...;
)

@script:python@
p1 << r.p1;
p2 << r.p2;
@@

print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
// </smpl>

Signed-off-by: Julia Lawall <julia at diku.dk>
---
 drivers/pcmcia/cistpl.c       |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c
index dcce9f5..4a110b7 100644
--- a/drivers/pcmcia/cistpl.c
+++ b/drivers/pcmcia/cistpl.c
@@ -351,10 +351,11 @@ int verify_cis_cache(struct pcmcia_socket *s)
 	char *buf;
 
 	buf = kmalloc(256, GFP_KERNEL);
-	if (buf == NULL)
+	if (buf == NULL) {
 		dev_printk(KERN_WARNING, &s->dev,
 			   "no memory for verifying CIS\n");
 		return -ENOMEM;
+	}
 	list_for_each_entry(cis, &s->cis_cache, node) {
 		int len = cis->len;
 


From linux at dominikbrodowski.net  Thu Nov 13 10:45:38 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Thu, 13 Nov 2008 16:45:38 +0100
Subject: [PATCH] drivers/pcmcia/cistpl.c: introduce missing braces
In-Reply-To: <Pine.LNX.4.64.0811131133010.9563@pc-004.diku.dk>
References: <Pine.LNX.4.64.0811131133010.9563@pc-004.diku.dk>
Message-ID: <20081113154538.GB7264@comet.dominikbrodowski.net>

Hi,

On Thu, Nov 13, 2008 at 11:33:54AM +0100, Julia Lawall wrote:
> From: Julia Lawall <julia at diku.dk>
> 
> The indentation and behavior of the code below suggests that braces are
> intended around the if branch.

good catch, but already fixed in pcmcia-git and on its way to Linux (commit
e689597fe890cf22e23195037aa668c39b25ae4b ) -- many thanks nonetheless!

BTW: is this an automatic test script of some sort? if so, it might be
useful to run this on linux-next kernels, too, so that bugs like this one
are caught before they hit mainline.

Best,
	Dominik


From Larry.Finger at lwfinger.net  Fri Nov 14 10:02:03 2008
From: Larry.Finger at lwfinger.net (Larry Finger)
Date: Fri, 14 Nov 2008 09:02:03 -0600
Subject: Strange behavior since commit 5fef0e5c
Message-ID: <491D92EB.2030200@lwfinger.net>

In testing kernel version 2.6.28-rc4 on my server that was running kernel
2.6.27, an external IDE disk system connected via a PCCard interface failed to
start because module ide_disk would not load. The console output is as follows:

finger at sonylap:~> sudo modprobe -v ide-disk
WARNING: module 'ide_gd_mod' is unsupported
FATAL: Module ide_disk not found.

I did not bisect this problem, but I believe that the following commit
introduced this change:

commit 5fef0e5c0283949f95a7891c9424a9f84448116b
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date:   Fri Oct 17 18:09:12 2008 +0200

My work-around has been to change 'modprobe ide-disk' to 'modprobe ide-gd_mod'
in my startup. Please note that one of the underscores is changed to a hyphen.

Thanks,

Larry



From bzolnier at gmail.com  Fri Nov 14 14:53:05 2008
From: bzolnier at gmail.com (Bartlomiej Zolnierkiewicz)
Date: Fri, 14 Nov 2008 20:53:05 +0100
Subject: Strange behavior since commit 5fef0e5c
In-Reply-To: <491D92EB.2030200@lwfinger.net>
References: <491D92EB.2030200@lwfinger.net>
Message-ID: <200811142053.05880.bzolnier@gmail.com>

On Friday 14 November 2008, Larry Finger wrote:
> In testing kernel version 2.6.28-rc4 on my server that was running kernel
> 2.6.27, an external IDE disk system connected via a PCCard interface failed to
> start because module ide_disk would not load. The console output is as follows:
> 
> finger at sonylap:~> sudo modprobe -v ide-disk
> WARNING: module 'ide_gd_mod' is unsupported
> FATAL: Module ide_disk not found.

Please verify that your system uses a recent module-init-tools version
and then repeat 'make modules' + 'make modules_install' (it could be that
something went wrong previously during installing modules) as it works
just fine for me with 2.6.28-rc3 and module-init-tools 3.4.

Thanks,
Bart


From Larry.Finger at lwfinger.net  Fri Nov 14 16:26:17 2008
From: Larry.Finger at lwfinger.net (Larry Finger)
Date: Fri, 14 Nov 2008 15:26:17 -0600
Subject: Strange behavior since commit 5fef0e5c
In-Reply-To: <200811142053.05880.bzolnier@gmail.com>
References: <491D92EB.2030200@lwfinger.net>
	<200811142053.05880.bzolnier@gmail.com>
Message-ID: <491DECF9.6020707@lwfinger.net>

Bartlomiej Zolnierkiewicz wrote:
> On Friday 14 November 2008, Larry Finger wrote:
>> In testing kernel version 2.6.28-rc4 on my server that was running kernel
>> 2.6.27, an external IDE disk system connected via a PCCard interface failed to
>> start because module ide_disk would not load. The console output is as follows:
>>
>> finger at sonylap:~> sudo modprobe -v ide-disk
>> WARNING: module 'ide_gd_mod' is unsupported
>> FATAL: Module ide_disk not found.
> 
> Please verify that your system uses a recent module-init-tools version
> and then repeat 'make modules' + 'make modules_install' (it could be that
> something went wrong previously during installing modules) as it works
> just fine for me with 2.6.28-rc3 and module-init-tools 3.4.

That was the problem. I had 3.3 pre11, which was installed by openSUSE 10.3.
Updating to version 3.4 fixed the problem. Thanks.

Should the requirement in Documentation/Changes be modified, or is that info no
longer used?

Larry


From elendil at planet.nl  Sat Nov 15 10:24:24 2008
From: elendil at planet.nl (Frans Pop)
Date: Sat, 15 Nov 2008 16:24:24 +0100
Subject: [PATCH] pcmcia: ensure correct logging in do_io_probe [v2]
In-Reply-To: <20081109212849.GA12584@isilmar.linta.de>
References: <200811071522.43618.elendil@planet.nl>
	<20081109212849.GA12584@isilmar.linta.de>
Message-ID: <200811151624.24904.elendil@planet.nl>

On Sunday 09 November 2008, Dominik Brodowski wrote:
> On Fri, Nov 07, 2008 at 03:22:42PM +0100, Frans Pop wrote:
> > During early probing of the parent PCI bridge I/O window no socket
> > has been allocated yet.
> > In that case print &s->cb_dev->dev instead of &s->dev as device.
>
> similar to the other patch, this won't work: &skt->cb_dev is only
> available and set if the parent device is a PCI device; therefore,
> &skt->dev is the only thing we can use.

OK.

I still feel I'm missing something in the debug logging. Shouldn't there 
be a line saying something like the following?
yenta_cardbus 0000:02:06.0: Assigned pcmcia socket 0

> An alternative approach would be to move this initialization code only
> after we've set dev_name. Could you test whether this approach works
> for you, please?

Tested on two different systems: Toshiba Satellite A40 running i386 (with 
atheros wlan card already inserted during boot) and HP 2510p running 
x86_64 (with same card inserted after boot).
Both with patch applied against current mainline git. I've not seen any 
problems and wireless worked in both cases.

There are some differences in the logs (see attachments). I only see the 
IO probes on the Toshiba, not on the HP. I'd guess that's expected.

Tested-by: Frans Pop <elendil at planet.nl>


This does leave one minor issue from my previous patch. Please consider 
applying the attached patch.

Cheers,
FJP

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcmcia_close-prink.patch
Type: text/x-diff
Size: 665 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20081115/dece43c2/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcmcia_hp2510p.log
Type: text/x-log
Size: 591 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20081115/dece43c2/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcmcia_toshiba.log
Type: text/x-log
Size: 923 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20081115/dece43c2/attachment-0002.bin 

From linux at dominikbrodowski.net  Sat Nov 15 18:34:29 2008
From: linux at dominikbrodowski.net (Dominik Brodowski)
Date: Sun, 16 Nov 2008 00:34:29 +0100
Subject: [git pull] PCMCIA updates and fixes for 2.6.28-rc5
In-Reply-To: <alpine.LFD.2.00.0811151444090.3468@nehalem.linux-foundation.org>
References: <alpine.LFD.2.00.0811151444090.3468@nehalem.linux-foundation.org>
Message-ID: <20081115233429.GA818@isilmar.linta.de>

Linus,

unforutnately, lkml seems to have eaten my PCMCIA pull query for -rc4 -- at
least no lkml archive seems to have picked it up, while the linux-pcmcia one
did:
http://lists.infradead.org/pipermail/linux-pcmcia/2008-November/006008.html

Anyways, a few PCMCIA bugfixes are available at

  git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git master

The diffstat and list of changes follows, the individual diffs were sent (at
least) to the linux-pcmcia list.

Thanks,
        Dominik

----

Dominik Brodowski (2):
      pcmcia: add braces in error path
      pcmcia: ensure correct logging in do_io_probe

Ilpo J?rvinen (1):
      pcmcia: fix indentation & braces disagreement - add braces

Kay Sievers (1):
      pcmcia: struct device - replace bus_id with dev_name(), dev_set_name()

Komuro (1):
      pcmcia: setup resource information for pseudo multifunction devices.

Marc Pignat (1):
      pcmcia: add another pata/ide ID

 drivers/ata/pata_pcmcia.c        |    1 +
 drivers/ide/ide-cs.c             |    1 +
 drivers/pcmcia/cistpl.c          |    3 ++-
 drivers/pcmcia/cs.c              |   14 +++++++-------
 drivers/pcmcia/ds.c              |   11 ++++++-----
 drivers/pcmcia/pcmcia_resource.c |    3 ++-
 drivers/pcmcia/rsrc_nonstatic.c  |    6 +++---
 7 files changed, 22 insertions(+), 17 deletions(-)


From randy.dunlap at oracle.com  Mon Nov 17 11:10:59 2008
From: randy.dunlap at oracle.com (Randy Dunlap)
Date: Mon, 17 Nov 2008 08:10:59 -0800
Subject: Strange behavior since commit 5fef0e5c
In-Reply-To: <491DECF9.6020707@lwfinger.net>
References: <491D92EB.2030200@lwfinger.net>
	<200811142053.05880.bzolnier@gmail.com>
	<491DECF9.6020707@lwfinger.net>
Message-ID: <20081117081059.e008ff46.randy.dunlap@oracle.com>

On Fri, 14 Nov 2008 15:26:17 -0600 Larry Finger wrote:

> Bartlomiej Zolnierkiewicz wrote:
> > On Friday 14 November 2008, Larry Finger wrote:
> >> In testing kernel version 2.6.28-rc4 on my server that was running kernel
> >> 2.6.27, an external IDE disk system connected via a PCCard interface failed to
> >> start because module ide_disk would not load. The console output is as follows:
> >>
> >> finger at sonylap:~> sudo modprobe -v ide-disk
> >> WARNING: module 'ide_gd_mod' is unsupported
> >> FATAL: Module ide_disk not found.
> > 
> > Please verify that your system uses a recent module-init-tools version
> > and then repeat 'make modules' + 'make modules_install' (it could be that
> > something went wrong previously during installing modules) as it works
> > just fine for me with 2.6.28-rc3 and module-init-tools 3.4.
> 
> That was the problem. I had 3.3 pre11, which was installed by openSUSE 10.3.
> Updating to version 3.4 fixed the problem. Thanks.
> 
> Should the requirement in Documentation/Changes be modified, or is that info no
> longer used?

IMO it should be updated (or deleted if it's really useless).

---
~Randy


From noreplyhere at pacifi68.lnk.telstra.net  Tue Nov 18 12:51:58 2008
From: noreplyhere at pacifi68.lnk.telstra.net (Greenwood cady)
Date: 19 Nov 2008 03:51:58 +1000
Subject: Den Tists List for the United States
Message-ID: <SERVERMAW9VPE1WYb2w000022a6@server.protecpacific.com.au>



A must have for anyone marketing to the healthcare profession

<> 164,985 Dentist.s 
<> 158,443 Postal Addresses
<> 163,781 Tel #'s
<> 77,420 Fax Numbers
<> 45,463 Email Addys

for only this week instead of paying $599 you only pay $297

Send an email to Blanchard at mediprodat.com to inquire about this and other Listing we have




Forward email to release at mediprodat.com to purge you from our records




From bugme-daemon at bugzilla.kernel.org  Tue Nov 18 20:51:52 2008
From: bugme-daemon at bugzilla.kernel.org (bugme-daemon at bugzilla.kernel.org)
Date: Tue, 18 Nov 2008 17:51:52 -0800 (PST)
Subject: [Bug 7264] Yenta TI - irq 11 nobody cared
In-Reply-To: <bug-7264-4463@http.bugzilla.kernel.org/>
Message-ID: <20081119015152.5F6F5108057@picon.linux-foundation.org>

http://bugzilla.kernel.org/show_bug.cgi?id=7264


rui.zhang at intel.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pm at debian.org




------- Comment #33 from rui.zhang at intel.com  2008-11-18 17:51 -------
*** Bug 10805 has been marked as a duplicate of this bug. ***


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


From cord.walter at gmx.de  Thu Nov 20 18:46:57 2008
From: cord.walter at gmx.de (Cord Walter)
Date: Fri, 21 Nov 2008 00:46:57 +0100
Subject: axnet_cs / pcnet_cs: moving PCMCIA_DEVICE_PROD_ID for Netgear FA411
Message-ID: <4925F6F1.9010305@gmx.de>

Hi,

after noticing that my Netgear FA411 (PCMCIA-NIC) [1] stopped working with
the release of the 2.6.25 kernel (sidux-version), I checked the
respective driver sources and noticed that the pcnet_cs driver bailed
out with "use axnet_cs instead" for the Netgear FA411, but axnet_cs
doesn't claim this ID.

I compiled a kernel with the PCMCIA-ID for the netgear card moved to
axnet_cs from pcnet_cs which worked. I then contacted sidux-kernel
maintainer Stefan Lippers-Hollmann who turned the info into this patch
and integrated it into the kernel:

<http://svn.berlios.de/svnroot/repos/fullstory/linux-sidux-2.6/trunk/debian/patches/features/2.6.27.4_PCMCIA_move-PCMCIA-ID-for-Netgear-FA411-from-pcnet_cs-to-axnet_cs.patch>

This works for me and AFAIK there were no reports of any breakage for
other devices on sidux-support.

This looks like a trivial patch, but since I have very limited
experience with kernel modifications  I might be woefully wrong there.
But if there are no side effects of this patch, is it possible to get it
into the official kernel?

I can provide more detailed information on the affected hardware if
necessary.

-cord


[1]
Socket 1 Device 0:      [axnet_cs]              (bus ID: 1.0)
        Configuration:  state: on
        Product Name:   NETGEAR FA411 Fast Ethernet
        Identification: manf_id: 0x0149 card_id: 0x0411
                        function: 6 (network)
                        prod_id(1): "NETGEAR" (0x9aa79dc3)
                        prod_id(2): "FA411" (0x40fad875)
                        prod_id(3): "Fast Ethernet" (0xb4be14e3)
                        prod_id(4): --- (---)
-- 
Cord Walter
email: cord.walter at gmx.de

Weil es niemanden etwas angeht, dass ich nichts zu verbergen habe:
http://www.gnupg.org/
http://www.truecrypt.org/
...und ?berhaupt: http://www.FreiheitstattAngst.de


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.27.4_PCMCIA_move-PCMCIA-ID-for-Netgear-FA411-from-pcnet_cs-to-axnet_cs.patch
Type: text/x-diff
Size: 2824 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20081121/c4ee3297/attachment.bin 

From Kari at 118.26.228.25  Thu Nov 20 23:18:43 2008
From: Kari at 118.26.228.25 (Zuniga Z Randall)
Date: 21 Nov 2008 13:18:43 +0900
Subject: Healthcare Industry Mailing List
Message-ID: <NARUTO0rh2NOc1k2UZo000020a1@naruto>

Certified Physicians in America 

Physician in over 36 specialties

Can easily be sorted by 16 different fields

Price for new customers -  $390


=== The above package also comes with these four lists: ===

+ Hospitals

+ Nursing Homes

+ Visiting Nurses & RN's

+ Chiropractors

reply by email:: Larson at mediprodat.com
  
exp. Nov 21 =======================================   Send email to release at mediprodat.com to ensure no further communication




From komurojun-mbn at nifty.com  Fri Nov 21 07:48:12 2008
From: komurojun-mbn at nifty.com (Komuro)
Date: Fri, 21 Nov 2008 21:48:12 +0900
Subject: axnet_cs / pcnet_cs: moving PCMCIA_DEVICE_PROD_ID for Netgear
	FA411
In-Reply-To: <4925F6F1.9010305@gmx.de>
References: <4925F6F1.9010305@gmx.de>
Message-ID: <20081121214812.b03d7166.komurojun-mbn@nifty.com>

On Fri, 21 Nov 2008 00:46:57 +0100
Cord Walter <cord.walter at gmx.de> wrote:

> after noticing that my Netgear FA411 (PCMCIA-NIC) [1] stopped working with
> the release of the 2.6.25 kernel (sidux-version),

You are right. My patch has a bug.
The patch below fixes this problem.

By the way,
(1) Does your FA411 work properly with the pcnet_cs driver before?
(2) Please post the full-dmesg (axnet_cs).


--- linux-2.6.28-rc6/drivers/net/pcmcia/pcnet_cs.c.orig	2008-11-21 21:39:08.000000000 +0900
+++ linux-2.6.28-rc6/drivers/net/pcmcia/pcnet_cs.c	2008-11-21 21:39:24.000000000 +0900
@@ -587,7 +587,7 @@ static int pcnet_config(struct pcmcia_de
     }
 
     if ((link->conf.ConfigBase == 0x03c0)
-	&& (link->manf_id == 0x149) && (link->card_id = 0xc1ab)) {
+	&& (link->manf_id == 0x149) && (link->card_id == 0xc1ab)) {
 	printk(KERN_INFO "pcnet_cs: this is an AX88190 card!\n");
 	printk(KERN_INFO "pcnet_cs: use axnet_cs instead.\n");
 	goto failed;


Best Regards
Komuro


> Hi,
> 
> after noticing that my Netgear FA411 (PCMCIA-NIC) [1] stopped working with
> the release of the 2.6.25 kernel (sidux-version), I checked the
> respective driver sources and noticed that the pcnet_cs driver bailed
> out with "use axnet_cs instead" for the Netgear FA411, but axnet_cs
> doesn't claim this ID.
> 
> I compiled a kernel with the PCMCIA-ID for the netgear card moved to
> axnet_cs from pcnet_cs which worked. I then contacted sidux-kernel
> maintainer Stefan Lippers-Hollmann who turned the info into this patch
> and integrated it into the kernel:
> 
> <http://svn.berlios.de/svnroot/repos/fullstory/linux-sidux-2.6/trunk/debian/patches/features/2.6.27.4_PCMCIA_move-PCMCIA-ID-for-Netgear-FA411-from-pcnet_cs-to-axnet_cs.patch>
> 
> This works for me and AFAIK there were no reports of any breakage for
> other devices on sidux-support.
> 
> This looks like a trivial patch, but since I have very limited
> experience with kernel modifications  I might be woefully wrong there.
> But if there are no side effects of this patch, is it possible to get it
> into the official kernel?
> 
> I can provide more detailed information on the affected hardware if
> necessary.
> 
> -cord
> 
> 
> [1]
> Socket 1 Device 0:      [axnet_cs]              (bus ID: 1.0)
>         Configuration:  state: on
>         Product Name:   NETGEAR FA411 Fast Ethernet
>         Identification: manf_id: 0x0149 card_id: 0x0411
>                         function: 6 (network)
>                         prod_id(1): "NETGEAR" (0x9aa79dc3)
>                         prod_id(2): "FA411" (0x40fad875)
>                         prod_id(3): "Fast Ethernet" (0xb4be14e3)
>                         prod_id(4): --- (---)
> -- 
> Cord Walter
> email: cord.walter at gmx.de
> 
> Weil es niemanden etwas angeht, dass ich nichts zu verbergen habe:
> http://www.gnupg.org/
> http://www.truecrypt.org/
> ...und ?berhaupt: http://www.FreiheitstattAngst.de
> 
> 
> 


-- 
Komuro <komurojun-mbn at nifty.com>


From cord.walter at gmx.de  Fri Nov 21 09:10:27 2008
From: cord.walter at gmx.de (Cord Walter)
Date: Fri, 21 Nov 2008 15:10:27 +0100
Subject: axnet_cs / pcnet_cs: moving PCMCIA_DEVICE_PROD_ID for Netgear
	FA411
In-Reply-To: <20081121214812.b03d7166.komurojun-mbn@nifty.com>
References: <4925F6F1.9010305@gmx.de>
	<20081121214812.b03d7166.komurojun-mbn@nifty.com>
Message-ID: <4926C153.3090104@gmx.de>

Komuro schrieb:
> On Fri, 21 Nov 2008 00:46:57 +0100
> Cord Walter <cord.walter at gmx.de> wrote:
> 
>> after noticing that my Netgear FA411 (PCMCIA-NIC) [1] stopped working with
>> the release of the 2.6.25 kernel (sidux-version),
> 
> You are right. My patch has a bug.
> The patch below fixes this problem.
> 
> By the way,
> (1) Does your FA411 work properly with the pcnet_cs driver before?

Yes, it worked until the 2.6.25 release.

> (2) Please post the full-dmesg (axnet_cs).

This is what I get from dmesg when plugging in the FA411:

pccard: PCMCIA card inserted into slot 1
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia1.0
eth0: Asix AX88790: io 0x300, irq 3, hw_addr 00:09:5b:08:98:93
udev: renamed network interface eth0 to eth1
NET: Registered protocol family 17


Does this help?

-cord

-- 
Cord Walter
email: cord.walter at gmx.de

Weil es niemanden etwas angeht, dass ich nichts zu verbergen habe:
http://www.gnupg.org/
http://www.truecrypt.org/
...und ?berhaupt: http://www.FreiheitstattAngst.de


From florian at openwrt.org  Tue Nov 25 12:44:26 2008
From: florian at openwrt.org (Florian Fainelli)
Date: Tue, 25 Nov 2008 18:44:26 +0100
Subject: [PATCH/RFC v1 00/12] Support for Broadcom 63xx SOCs
In-Reply-To: <200810221558.27338.florian@openwrt.org>
References: <1224382022-24173-1-git-send-email-mbizon@freebox.fr>
	<200810221558.27338.florian@openwrt.org>
Message-ID: <200811251844.27405.florian@openwrt.org>

Hi again,

Le Wednesday 22 October 2008 15:58:23 Florian Fainelli, vous avez ?crit?:
> I prefer you get some feedback on your patches first before submitting my
> changes.

So the OpenWrt community did the following succesful tests :

- Inventel Livebox Pro (Need the OpenWrt patches plus some glue code to 
retrieve the MAC address) (6348)
- Neufbox 4 (6358)
- Comtrend CT536+ (6348)
- A custom design based on a BCM6348

There might be other successful reports as well.
-- 
Best regards, Florian Fainelli
Email : florian at openwrt.org
http://openwrt.org
-------------------------------


From Tommy at mail.lien-yi.com.tw  Tue Nov 25 11:44:38 2008
From: Tommy at mail.lien-yi.com.tw (Dick safe)
Date: Tue, 25 Nov 2008 13:44:38 -0300 (ART)
Subject: List of radiologists  and 31 more specialties
Message-ID: <20081125164444.8FE1048BAEA@armstrong.ramacom.com.ar>

Board Certified Medical Doctors in the US 

Medical Doctor in over 37 specialties

Sort by over a dozen different fields

Now offered at the lower rate:  $395


{}{}{} Buy this week and get these bonus information directories: {}{}{}

==> Chiropractors

==> Physical Therapists

==> Massage Therapists

==> Acupuncturists

area representative:: Rice at statlists.com
  
for only this week --------   Send email to gone at statlists.com for deleted status




From komurojun-mbn at nifty.com  Sun Nov 30 03:54:02 2008
From: komurojun-mbn at nifty.com (Komuro)
Date: Sun, 30 Nov 2008 17:54:02 +0900
Subject: [BUG pcmcia]  multi-function card can't get the correct ConfigBase
In-Reply-To: <1226485498-15754-4-git-send-email-linux@dominikbrodowski.net>
References: <20081112101725.GA14698@comet.dominikbrodowski.net>
	<1226485498-15754-4-git-send-email-linux@dominikbrodowski.net>
Message-ID: <20081130175402.fe782b0f.komurojun-mbn@nifty.com>

Dear Dominik

Multi-function card can't get the correct ConfigBase.

unfortunately, pccard_read_tuple always get the ConfigBase for 1st device.

The reason of this problem is pccard_read_tuple set
tuple.Attributes = TUPLE_RETURN_COMMON.

Any idea to fix this?

//// ds.c
        /* set up some more device information */
        ret = pccard_read_tuple(p_dev->socket, p_dev->func, CISTPL_CONFIG,
                                &cis_config);
        if (!ret) {
                p_dev->conf.ConfigBase = cis_config.base;
                p_dev->conf.Present = cis_config.rmask[0];
        } else {
                dev_printk(KERN_INFO, dev,
                           "pcmcia: could not parse base and rmask0 of CIS\n");
                p_dev->conf.ConfigBase = 0;
                p_dev->conf.Present = 0;
        }
//// ds.c

//// cistple.c: pccard_read_tuple
int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function, cisdata_t code, void *parse)
{
    tuple_t tuple;
    cisdata_t *buf;
    int ret;

    buf = kmalloc(256, GFP_KERNEL);
    if (buf == NULL) {
            dev_printk(KERN_WARNING, &s->dev, "no memory to read tuple\n");
            return -ENOMEM;
    }
    tuple.DesiredTuple = code;
    tuple.Attributes = TUPLE_RETURN_COMMON;                    <<< Here!
    ret = pccard_get_first_tuple(s, function, &tuple);
//// cistple.c

//// cistple.c: get_first_tuple
    if (!(s->state & SOCKET_CARDBUS) && (s->functions > 1) &&
        !(tuple->Attributes & TUPLE_RETURN_COMMON)) {           <<< Here!
        cisdata_t req = tuple->DesiredTuple;
        tuple->DesiredTuple = CISTPL_LONGLINK_MFC;
        if (pccard_get_next_tuple(s, function, tuple) == 0) {
            tuple->DesiredTuple = CISTPL_LINKTARGET;
            if (pccard_get_next_tuple(s, function, tuple) != 0)
                return -ENOSPC;
        } else
            tuple->CISOffset = tuple->TupleLink = 0;

        tuple->DesiredTuple = req;
    }
//// cistple.c

Best Regards
Komuro


From Larry.Finger at lwfinger.net  Sun Nov 30 13:13:09 2008
From: Larry.Finger at lwfinger.net (Larry Finger)
Date: Sun, 30 Nov 2008 12:13:09 -0600
Subject: [PATCH] aha152x_cs: Fix regression that keeps driver from using shared
	interrupts
Message-ID: <4932D7B5.4070500@lwfinger.net>

At some point since 2.6.22, the aha152x_cs driver stopped working and started
erring on load with the following messages:

kernel: pcmcia: request for exclusive IRQ could not be fulfilled.
kernel: pcmcia: the driver needs updating to supported shared IRQ lines.

With the following change, the driver works with shared IRQs.

Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
Cc: Stable <stable at kernel.org>		[2.6.27], [2.6.26]
---


Index: wireless-testing/drivers/scsi/pcmcia/aha152x_stub.c
===================================================================
--- wireless-testing.orig/drivers/scsi/pcmcia/aha152x_stub.c
+++ wireless-testing/drivers/scsi/pcmcia/aha152x_stub.c
@@ -114,7 +114,7 @@ static int aha152x_probe(struct pcmcia_d
     link->io.NumPorts1 = 0x20;
     link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO;
     link->io.IOAddrLines = 10;
-    link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
+    link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING;
     link->irq.IRQInfo1 = IRQ_LEVEL_ID;
     link->conf.Attributes = CONF_ENABLE_IRQ;
     link->conf.IntType = INT_MEMORY_AND_IO;


