lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100813185623.GC5853@comet.dominikbrodowski.net>
Date:	Fri, 13 Aug 2010 20:56:23 +0200
From:	Dominik Brodowski <linux@...inikbrodowski.net>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	netdev@...r.kernel.org, Komuro <komurojun-mbn@...ty.com>
Subject: [PATCH] pcmcia: xirc2ps_cs bugfix

Linus,

could you apply the attached bugfix for PCMCIA, please? Alternatively,
please pull from 

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

where this one patch is located. What do you prefer, actually, if it is just
one patch I want to push to you?

Thanks & best,

	Dominik

---
From: Dominik Brodowski <linux@...inikbrodowski.net>
Date: Fri, 13 Aug 2010 20:33:34 +0200
Subject: [PATCH] pcmcia: xirc2ps_cs bugfix

We need to set io_lines to 10 unconditionally.

Reported-by: Komuro <komurojun-mbn@...ty.com>
CC: netdev@...r.kernel.org
Signed-off-by: Dominik Brodowski <linux@...inikbrodowski.net>

diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c
index 4eb6f98..f581952 100644
--- a/drivers/net/pcmcia/xirc2ps_cs.c
+++ b/drivers/net/pcmcia/xirc2ps_cs.c
@@ -808,6 +808,7 @@ xirc2ps_config(struct pcmcia_device * link)
     }
 
     link->resource[0]->flags |= IO_DATA_PATH_WIDTH_16;
+    link->io_lines = 10;
     if (local->modem) {
 	int pass;
 
@@ -839,7 +840,6 @@ xirc2ps_config(struct pcmcia_device * link)
 	}
 	printk(KNOT_XIRC "no ports available\n");
     } else {
-	link->io_lines = 10;
 	link->resource[0]->end = 16;
 	for (ioaddr = 0x300; ioaddr < 0x400; ioaddr += 0x10) {
 	    link->resource[0]->start = ioaddr;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ