Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] sk98lin: fix workaround for yukon-lite chipset (> rev 7)

tree 16e7131d36c2739f9b9b9908bd2f65bf6767f7a6
parent 00354cfb92bd819a0d09d3ef9988e509b6675fdd
author Stephen Hemminger <shemminger <at> osdl.org> Tue, 28 Jun 2005 05:47:25 -0700
committer Jeff Garzik <jgarzik <at> pobox.com> Sun, 31 Jul 2005 08:52:56 -0400

[PATCH] sk98lin: fix workaround for yukon-lite chipset (> rev 7)

Yukon-Lite chipset needs workaround for revision 7 (or later).
Without this patch, chip gets stuck in low power mode and never
boots. Newer SysKonnect vendor code already had same patch.

Related bug in skge is http://bugs.gentoo.org/87822

Chris, please add for 2.6.12.2

Signed-off-by: Stephen Hemminger <shemminger <at> osdl.org>
Signed-off-by: Jeff Garzik <jgarzik <at> pobox.com>

 drivers/net/sk98lin/skgeinit.c |    2 +-
 drivers/net/sk98lin/skxmac2.c  |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/sk98lin/skgeinit.c b/drivers/net/sk98lin/skgeinit.c
--- a/drivers/net/sk98lin/skgeinit.c
+++ b/drivers/net/sk98lin/skgeinit.c
 <at>  <at>  -2016,7 +2016,7  <at>  <at>  SK_IOC	IoC)		/* IO context */
 	 * we set the PHY to coma mode and switch to D3 power state.
 	 */
 	if (pAC->GIni.GIYukonLite &&
-		pAC->GIni.GIChipRev == CHIP_REV_YU_LITE_A3) {
(Continue reading)

Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] skge: whitespace fixes

tree 5a1028f8abb4ef03772f9f09c7e77cc7c110ca2b
parent 382317138b3ade02c9c319531ab0619e95dbc672
author Stephen Hemminger <shemminger <at> osdl.org> Sat, 23 Jul 2005 06:26:07 -0700
committer Jeff Garzik <jgarzik <at> pobox.com> Sun, 31 Jul 2005 08:40:53 -0400

[PATCH] skge: whitespace fixes

Minor whitespace cleanups.

Signed-off-by: Stephen Hemminger <shemminger <at> osdl.org>
Signed-off-by: Jeff Garzik <jgarzik <at> pobox.com>

 drivers/net/skge.c |    6 +++---
 drivers/net/skge.h |   20 ++++++++++----------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/drivers/net/skge.c b/drivers/net/skge.c
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
 <at>  <at>  -248,7 +248,7  <at>  <at>  static int skge_set_settings(struct net_
 	} else {
 		u32 setting;

-		switch(ecmd->speed) {
+		switch (ecmd->speed) {
 		case SPEED_1000:
 			if (ecmd->duplex == DUPLEX_FULL)
 				setting = SUPPORTED_1000baseT_Full;
 <at>  <at>  -1026,7 +1026,7  <at>  <at>  static void bcom_check_link(struct skge_
 			}
(Continue reading)

Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] skge: version 0.8

tree ab7121241847cfa6345606def7cd2965fcd9fcbc
parent 6abebb538d317ead09cc0f3c2a0752047f9ff961
author Stephen Hemminger <shemminger <at> osdl.org> Sat, 23 Jul 2005 06:26:11 -0700
committer Jeff Garzik <jgarzik <at> pobox.com> Sun, 31 Jul 2005 08:40:54 -0400

[PATCH] skge: version 0.8

Increase driver version to 0.8

Signed-off-by: Stephen Hemminger <shemminger <at> osdl.org>
Signed-off-by: Jeff Garzik <jgarzik <at> pobox.com>

 drivers/net/skge.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/skge.c b/drivers/net/skge.c
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
 <at>  <at>  -42,7 +42,7  <at>  <at> 
 #include "skge.h"

 #define DRV_NAME		"skge"
-#define DRV_VERSION		"0.7"
+#define DRV_VERSION		"0.8"
 #define PFX			DRV_NAME " "

 #define DEFAULT_TX_RING_SIZE	128
Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] inotify: fix file deletion by rename detection

tree acfe43ff758f7d7a6d0c575ca0e4f343b3640984
parent be2ac68f7b66e90b8d25c168fc4d033b034f5c43
author John McCutchan <ttb <at> tentacle.dhs.org> Mon, 01 Aug 2005 19:00:45 -0400
committer Linus Torvalds <torvalds <at> g5.osdl.org> Mon, 01 Aug 2005 23:16:53 -0700

[PATCH] inotify: fix file deletion by rename detection

When a file is moved over an existing file that you are watching,
inotify won't send you a DELETE_SELF event and it won't unref the inode
until the inotify instance is closed by the application.

Signed-off-by: John McCutchan <ttb <at> tentacle.dhs.org>
Signed-off-by: Robert Love <rml <at> novell.com>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 fs/namei.c               |    2 +-
 include/linux/fsnotify.h |    7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/fs/namei.c b/fs/namei.c
--- a/fs/namei.c
+++ b/fs/namei.c
 <at>  <at>  -2218,7 +2218,7  <at>  <at>  int vfs_rename(struct inode *old_dir, st
 		error = vfs_rename_other(old_dir,old_dentry,new_dir,new_dentry);
 	if (!error) {
 		const char *new_name = old_dentry->d_name.name;
-		fsnotify_move(old_dir, new_dir, old_name, new_name, is_dir);
+		fsnotify_move(old_dir, new_dir, old_name, new_name, is_dir, new_dentry->d_inode);
 	}
 	fsnotify_oldname_free(old_name);
(Continue reading)

Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] skge: disable tranmitter on shutdown

tree bb13cf6a67bab370caad35e97d82337f273c1e85
parent acdd80d514a08800380c9f92b1bf4d4c9e818125
author Stephen Hemminger <shemminger <at> osdl.org> Sat, 23 Jul 2005 06:26:04 -0700
committer Jeff Garzik <jgarzik <at> pobox.com> Sun, 31 Jul 2005 08:40:53 -0400

[PATCH] skge: disable tranmitter on shutdown

Here is a fix for a typo, thanks Eliot Dresselhaus.
Since transmitter not active when device is down, it wasn't really noticed.

Signed-off-by: Stephen Hemminger <shemminger <at> osdl.org>
Signed-off-by: Jeff Garzik <jgarzik <at> pobox.com>

 drivers/net/skge.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/skge.c b/drivers/net/skge.c
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
 <at>  <at>  -1819,7 +1819,7  <at>  <at>  static void yukon_stop(struct skge_port 

 	gma_write16(hw, port, GM_GP_CTRL,
 			 gma_read16(hw, port, GM_GP_CTRL)
-			 & ~(GM_GPCR_RX_ENA|GM_GPCR_RX_ENA));
+			 & ~(GM_GPCR_TX_ENA|GM_GPCR_RX_ENA));
 	gma_read16(hw, port, GM_GP_CTRL);

 	/* set GPHY Control reset */
Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] SCSI_SATA has to be a tristate

tree ab0459721ec3e864eecc4e77e11fc6fe4c2f2d3c
parent b0825488a642cadcf39709961dde61440cb0731c
author Adrian Bunk <bunk <at> stusta.de> Wed, 27 Jul 2005 15:06:35 -0700
committer Jeff Garzik <jgarzik <at> pobox.com> Sun, 31 Jul 2005 08:43:00 -0400

[PATCH] SCSI_SATA has to be a tristate

SCSI=m must disallow static drivers.

The problem is that all the SATA drivers depend on SCSI_SATA.

With SCSI=m and SCSI_SATA=y this allows the static enabling of the SATA
drivers with unwanted effects, e.g.:
- SCSI=m, SCSI_SATA=y, SCSI_ATA_ADMA=y
  -> SCSI_ATA_ADMA is built statically but scsi/built-in.o is not linked
     into the kernel
- SCSI=m, SCSI_SATA=y, SCSI_ATA_ADMA=y, SCSI_SATA_AHCI=m
  -> SCSI_ATA_ADMA and libata are built statically but
     scsi/built-in.o is not linked into the kernel,
     SCSI_SATA_AHCI is built modular (unresolved symbols due to missing
                                      libata)

Signed-off-by: Adrian Bunk <bunk <at> stusta.de>
Cc: Jeff Garzik <jgarzik <at> pobox.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Jeff Garzik <jgarzik <at> pobox.com>

 drivers/scsi/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

(Continue reading)

Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] pcmcia: fix multiple insertion of multifunction cards

tree 58b217d83948d56dbb8d874941ad9aca1ab28f45
parent 2b8d4669376332a6819e21994a78ecd5502d3ebc
author Dominik Brodowski <linux <at> dominikbrodowski.net> Mon, 01 Aug 2005 14:55:51 +0200
committer Linus Torvalds <torvalds <at> g5.osdl.org> Tue, 02 Aug 2005 00:03:56 -0700

[PATCH] pcmcia: fix multiple insertion of multifunction cards

The ordering of setting and clearing device_add_pending went wrong on some
occasions, causing multifunction cards only to be handled correctly on the
first insertion, not on subsequent ones.

Signed-off-by: Dominik Brodowski <linux <at> dominikbrodowski.net>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/pcmcia/ds.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
 <at>  <at>  -589,8 +589,8  <at>  <at>  static void pcmcia_delayed_add_pseudo_de
 static inline void pcmcia_add_pseudo_device(struct pcmcia_socket *s)
 {
 	if (!s->pcmcia_state.device_add_pending) {
-		schedule_work(&s->device_add);
 		s->pcmcia_state.device_add_pending = 1;
+		schedule_work(&s->device_add);
 	}
 	return;
 }
(Continue reading)

Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] skge: led toggle cleanup

tree 82c60d2629615bec70b149ada645a2399af4a9e8
parent 4cde06ed0fb58402ec1d6d117122d1058983a393
author Stephen Hemminger <shemminger <at> osdl.org> Sat, 23 Jul 2005 06:26:10 -0700
committer Jeff Garzik <jgarzik <at> pobox.com> Sun, 31 Jul 2005 08:40:54 -0400

[PATCH] skge: led toggle cleanup

Cleanup code that is used to toggle LED's. Since we
get called from ethtool, can use that thread rather than
setting up a timer.

Signed-off-by: Stephen Hemminger <shemminger <at> osdl.org>
Signed-off-by: Jeff Garzik <jgarzik <at> pobox.com>

 drivers/net/skge.c |  170 +++++++++++++++++++++++------------------------------
 drivers/net/skge.h |    2 
 2 files changed, 74 insertions(+), 98 deletions(-)

diff --git a/drivers/net/skge.c b/drivers/net/skge.c
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
 <at>  <at>  -55,7 +55,7  <at>  <at> 
 #define ETH_JUMBO_MTU		9000
 #define TX_WATCHDOG		(5 * HZ)
 #define NAPI_WEIGHT		64
-#define BLINK_HZ		(HZ/4)
+#define BLINK_MS		250

 MODULE_DESCRIPTION("SysKonnect Gigabit Ethernet driver");
 MODULE_AUTHOR("Stephen Hemminger <shemminger <at> osdl.org>");
(Continue reading)

Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] remove sys_set_zone_reclaim()

tree 1a1422dc2e103fe92dd86bfa26b8b39b3f2413d5
parent 5d546f54324e04747e82ccbb4ea85f54bdcacd6d
author Ingo Molnar <mingo <at> elte.hu> Mon, 01 Aug 2005 13:39:13 +0200
committer Linus Torvalds <torvalds <at> g5.osdl.org> Tue, 02 Aug 2005 00:03:56 -0700

[PATCH] remove sys_set_zone_reclaim()

This removes sys_set_zone_reclaim() for now.  While i'm sure Martin is
trying to solve a real problem, we must not hard-code an incomplete and
insufficient approach into a syscall, because syscalls are pretty much
for eternity.  I am quite strongly convinced that this syscall must not
hit v2.6.13 in its current form.

Firstly, the syscall lacks basic syscall design: e.g. it allows the
global setting of VM policy for unprivileged users. (!) [ Imagine an
Oracle installation and a SAP installation on the same NUMA box fighting
over the 'optimal' setting for this flag. What will they do? Will they
try to set the flag to their own preferred value every second or so? ]

Secondly, it was added based on a single datapoint from Martin:

 http://marc.theaimsgroup.com/?l=linux-mm&m=111763597218177&w=2

where Martin characterizes the numbers the following way:

 ' Run-to-run variability for "make -j" is huge, so these numbers aren't
   terribly useful except to see that with reclaim the benchmark still
   finishes in a reasonable amount of time. '

in other words: the fundamental problem has likely not been solved, only
(Continue reading)

Linux Kernel Mailing List | 1 Aug 2005 20:23

[PATCH] tridentfb: Fix scrolling artifacts during disk IO

tree b2f36d10708c4d5ba13b44cfca0b213935b0cd24
parent 8dad46cf38c029248d1331b6a97b2999e0751cfa
author Antonino A. Daplas <adaplas <at> gmail.com> Mon, 01 Aug 2005 23:51:34 +0800
committer Linus Torvalds <torvalds <at> g5.osdl.org> Tue, 02 Aug 2005 00:07:53 -0700

[PATCH] tridentfb: Fix scrolling artifacts during disk IO

Reported by: Jochen Hein (Bugzilla Bug 4312)

When there is disk I/O happening, the framebuffer has a little snow on
the screen.  Once I/O has finished, no garbage remains on screen.

This bug was explained by: Knut Petersen

Most important is CRTC register 2f, signal quality is also improved for
higher vclk values by changing set_vclk() according to the X drivers and
cyblafb.c

The fix is to set the performance register (0x2f) with a more stable
value.

Signed-off-by: Antonino Daplas <adaplas <at> pol.net>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/video/tridentfb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c
--- a/drivers/video/tridentfb.c
+++ b/drivers/video/tridentfb.c
(Continue reading)


Gmane