Skip to contentSkip to conversation

New/Updated drivers for linux-2.6.18-xen.hg

PATCH In review Daniel Kiper 3 participants 5 messages Nov 24, 2009 – Dec 18, 2009

Subsystems (16)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New/Updated drivers for linux-2.6.18-xen.hg

Hello,

I am posting new/updated drivers for linux-2.6.18-xen.hg.

Details are below:

linux-2.6.18-xen-aty_20091123.patch:
ATI drivers backported from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-coretemp_20091123.patch:
Intel Core (2) Duo/Solo temperature sensor driver backported from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-i2c-i801_20091123.patch:
Intel 82801 (ICH) driver backported
from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-iTCO_wdt_20091123.patch:
Intel TCO Timer/Watchdog driver backported
from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-it87_20091123.patch:
ITE IT87xx and compatibles driver backported
from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-libata-pata-enable_20091123.patch:
Enable PATA support in some SATA drivers

linux-2.6.18-xen-mmconfig_20091123.patch:
MMCONFIG PCI config space access driver backported from Linux Kernel Ver. 2.6.31.5

linux-2.6.18-xen-r8169_20091123.patch:
Realtek 8169 gigabit ethernet driver backported
from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-rtc-cmos_20091123.patch:
New generic RTC class PC-style 'CMOS' driver backported from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-xenbus-console-vfb_20091123.patch:
Disable xenbus warning for console during domU boot and vfb timeout during domU shutdown

All patches were tested on Xen Ver. 3.3.2, 3.4.1 and 3.4.2.

Patches for Xen Ver. 3.3.2, 3.4.1 and 3.4.2 could be found
here: ftp://ftp.net-space.pl/pub/net-space/xen/

If you have a questions please drop me a line.

Daniel Kiper

#1 lore raw
Quoted 3 lines · Daniel Kiper

Hello,

I am posting new/updated drivers for linux-2.6.18-xen.hg.

I have problems applying inline patches containing hard tabs, for some reason. You'll need to re-send the whole lot as attachments.

-- Keir

#2 lore raw
Quoted 8 lines · Keir Fraser
Quoted 3 lines · Daniel Kiper

Hello,

I am posting new/updated drivers for linux-2.6.18-xen.hg.

I have problems applying inline patches containing hard tabs, for some reason. You'll need to re-send the whole lot as attachments.

[...]

All patches are attached to that e-mail.

Details are below:

linux-2.6.18-xen-aty_20091123.patch:
ATI drivers backported from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-coretemp_20091123.patch:
Intel Core (2) Duo/Solo temperature sensor driver backported from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-i2c-i801_20091123.patch:
Intel 82801 (ICH) driver backported
from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-iTCO_wdt_20091123.patch:
Intel TCO Timer/Watchdog driver backported
from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-it87_20091123.patch:
ITE IT87xx and compatibles driver backported
from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-libata-pata-enable_20091123.patch:
Enable PATA support in some SATA drivers

linux-2.6.18-xen-mmconfig_20091123.patch:
MMCONFIG PCI config space access driver backported from Linux Kernel Ver. 2.6.31.5

linux-2.6.18-xen-r8169_20091123.patch:
Realtek 8169 gigabit ethernet driver backported
from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-rtc-cmos_20091123.patch:
New generic RTC class PC-style 'CMOS' driver backported from Linux Kernel Ver. 2.6.29.2

linux-2.6.18-xen-xenbus-console-vfb_20091123.patch:
Disable xenbus warning for console during domU boot and vfb timeout during domU shutdown

If you have a questions please drop me a line.

Daniel Kiper

# HG changeset patch
# User [email protected]
# Date 1259014658 -3600
# Node ID 0659978a191179169437dbbc3ed224c23c6e1b8a # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 ATI drivers backported from Linux Kernel Ver. 2.6.29.2

Documentation/fb/aty128fb.txt +2 -2
diff -r 1db1bb63824b -r 0659978a1911 Documentation/fb/aty128fb.txt
@@ -54,8 +54,8 @@ Accepted options:
 
 noaccel  - do not use acceleration engine. It is default.
 accel    - use acceleration engine. Not finished.
-vmode:x  - chooses PowerMacintosh video mode <x>. Depreciated.
-cmode:x  - chooses PowerMacintosh colour mode <x>. Depreciated.
+vmode:x  - chooses PowerMacintosh video mode <x>. Deprecated.
+cmode:x  - chooses PowerMacintosh colour mode <x>. Deprecated.
 <XxX@X>  - selects startup videomode. See modedb.txt for detailed
 	   explanation. Default is 640x480x8bpp.
 
drivers/video/aty/ati_ids.h +7 -5
diff -r 1db1bb63824b -r 0659978a1911 drivers/video/aty/ati_ids.h
@@ -188,10 +188,17 @@
 #define PCI_CHIP_MACH64VT		0x5654
 #define PCI_CHIP_MACH64VU		0x5655
 #define PCI_CHIP_MACH64VV		0x5656
+#define PCI_CHIP_RC410_5A62             0x5A62
 #define PCI_CHIP_RS300_5834		0x5834
 #define PCI_CHIP_RS300_5835		0x5835
 #define PCI_CHIP_RS300_5836		0x5836
 #define PCI_CHIP_RS300_5837		0x5837
+#define PCI_CHIP_RS480_5955             0x5955
+#define PCI_CHIP_RV280_5960		0x5960
+#define PCI_CHIP_RV280_5961		0x5961
+#define PCI_CHIP_RV280_5962		0x5962
+#define PCI_CHIP_RV280_5964		0x5964
+#define PCI_CHIP_RS482_5975		0x5975
 #define PCI_CHIP_RV370_5B60             0x5B60
 #define PCI_CHIP_RV370_5B61             0x5B61
 #define PCI_CHIP_RV370_5B62             0x5B62
@@ -200,13 +207,8 @@
 #define PCI_CHIP_RV370_5B65             0x5B65
 #define PCI_CHIP_RV370_5B66             0x5B66
 #define PCI_CHIP_RV370_5B67             0x5B67
-#define PCI_CHIP_RV280_5960		0x5960
-#define PCI_CHIP_RV280_5961		0x5961
-#define PCI_CHIP_RV280_5962		0x5962
-#define PCI_CHIP_RV280_5964		0x5964
 #define PCI_CHIP_RV280_5C61		0x5C61
 #define PCI_CHIP_RV280_5C63		0x5C63
 #define PCI_CHIP_R423_5D57              0x5D57
 #define PCI_CHIP_RS350_7834             0x7834
 #define PCI_CHIP_RS350_7835             0x7835
-
drivers/video/aty/aty128fb.c +96 -124

436 lines not on this page · raw message

drivers/video/aty/atyfb.h +13 -6
diff -r 1db1bb63824b -r 0659978a1911 drivers/video/aty/atyfb.h
@@ -126,7 +126,7 @@ union aty_pll {
      */
 
 struct atyfb_par {
-	struct aty_cmap_regs __iomem *aty_cmap_regs;
+	u32 pseudo_palette[16];
 	struct { u8 red, green, blue; } palette[256];
 	const struct aty_dac_ops *dac_ops;
 	const struct aty_pll_ops *pll_ops;
@@ -186,6 +186,7 @@ struct atyfb_par {
 	int mtrr_aper;
 	int mtrr_reg;
 #endif
+	u32 mem_cntl;
 };
 
     /*
@@ -227,7 +228,7 @@ static inline u32 aty_ld_le32(int regind
 		regindex -= 0x800;
 
 #ifdef CONFIG_ATARI
-	return in_le32((volatile u32 *)(par->ati_regbase + regindex));
+	return in_le32(par->ati_regbase + regindex);
 #else
 	return readl(par->ati_regbase + regindex);
 #endif
@@ -240,7 +241,7 @@ static inline void aty_st_le32(int regin
 		regindex -= 0x800;
 
 #ifdef CONFIG_ATARI
-	out_le32((volatile u32 *)(par->ati_regbase + regindex), val);
+	out_le32(par->ati_regbase + regindex, val);
 #else
 	writel(val, par->ati_regbase + regindex);
 #endif
@@ -253,7 +254,7 @@ static inline void aty_st_le16(int regin
 	if (regindex >= 0x400)
 		regindex -= 0x800;
 #ifdef CONFIG_ATARI
-	out_le16((volatile u16 *)(par->ati_regbase + regindex), val);
+	out_le16(par->ati_regbase + regindex, val);
 #else
 	writel(val, par->ati_regbase + regindex);
 #endif
@@ -284,7 +285,8 @@ static inline void aty_st_8(int regindex
 #endif
 }
 
-#if defined(CONFIG_PM) || defined(CONFIG_PMAC_BACKLIGHT) || defined (CONFIG_FB_ATY_GENERIC_LCD)
+#if defined(CONFIG_PM) || defined(CONFIG_PMAC_BACKLIGHT) || \
+defined (CONFIG_FB_ATY_GENERIC_LCD) || defined (CONFIG_FB_ATY_BACKLIGHT)
 extern void aty_st_lcd(int index, u32 val, const struct atyfb_par *par);
 extern u32 aty_ld_lcd(int index, const struct atyfb_par *par);
 #endif
@@ -315,6 +317,7 @@ struct aty_pll_ops {
 	void (*set_pll)   (const struct fb_info * info, const union aty_pll * pll);
 	void (*get_pll)   (const struct fb_info *info, union aty_pll * pll);
 	int (*init_pll)   (const struct fb_info * info, union aty_pll * pll);
+	void (*resume_pll)(const struct fb_info *info, union aty_pll *pll);
 };
 
 extern const struct aty_pll_ops aty_pll_ati18818_1; /* ATI 18818 */
@@ -355,5 +358,9 @@ static inline void wait_for_idle(struct 
 
 extern void aty_reset_engine(const struct atyfb_par *par);
 extern void aty_init_engine(struct atyfb_par *par, struct fb_info *info);
-extern void aty_st_pll_ct(int offset, u8 val, const struct atyfb_par *par);
 extern u8   aty_ld_pll_ct(int offset, const struct atyfb_par *par);
+
+void atyfb_copyarea(struct fb_info *info, const struct fb_copyarea *area);
+void atyfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
+void atyfb_imageblit(struct fb_info *info, const struct fb_image *image);
+
drivers/video/aty/atyfb_base.c +286 -337

1,148 lines not on this page · raw message

drivers/video/aty/mach64_accel.c +0 -1
diff -r 1db1bb63824b -r 0659978a1911 drivers/video/aty/mach64_accel.c
@@ -3,7 +3,6 @@
  *  ATI Mach64 Hardware Acceleration
  */
 
-#include <linux/sched.h>
 #include <linux/delay.h>
 #include <linux/fb.h>
 #include <video/mach64.h>
drivers/video/aty/mach64_ct.c +54 -33

182 lines not on this page · raw message

drivers/video/aty/mach64_cursor.c +2 -4
diff -r 1db1bb63824b -r 0659978a1911 drivers/video/aty/mach64_cursor.c
@@ -8,10 +8,8 @@
 #include <linux/string.h>
 
 #include <asm/io.h>
-#include <asm/uaccess.h>
-
-#ifdef __sparc__
-#include <asm/pbm.h>
+
+#ifdef __sparc__
 #include <asm/fbio.h>
 #endif
 
drivers/video/aty/mach64_gx.c +0 -1
diff -r 1db1bb63824b -r 0659978a1911 drivers/video/aty/mach64_gx.c
@@ -5,7 +5,6 @@
 
 #include <linux/delay.h>
 #include <linux/fb.h>
-#include <linux/sched.h>
 
 #include <asm/io.h>
 
drivers/video/aty/radeon_accel.c +21 -9
diff -r 1db1bb63824b -r 0659978a1911 drivers/video/aty/radeon_accel.c
@@ -55,6 +55,10 @@ static void radeonfb_prim_fillrect(struc
 	OUTREG(DP_WRITE_MSK, 0xffffffff);
 	OUTREG(DP_CNTL, (DST_X_LEFT_TO_RIGHT | DST_Y_TOP_TO_BOTTOM));
 
+	radeon_fifo_wait(2);
+	OUTREG(DSTCACHE_CTLSTAT, RB2D_DC_FLUSH_ALL);
+	OUTREG(WAIT_UNTIL, (WAIT_2D_IDLECLEAN | WAIT_DMA_GUI_IDLE));
+
 	radeon_fifo_wait(2);  
 	OUTREG(DST_Y_X, (region->dy << 16) | region->dx);
 	OUTREG(DST_WIDTH_HEIGHT, (region->width << 16) | region->height);
@@ -116,6 +120,10 @@ static void radeonfb_prim_copyarea(struc
 	OUTREG(DP_CNTL, (xdir>=0 ? DST_X_LEFT_TO_RIGHT : 0)
 			| (ydir>=0 ? DST_Y_TOP_TO_BOTTOM : 0));
 
+	radeon_fifo_wait(2);
+	OUTREG(DSTCACHE_CTLSTAT, RB2D_DC_FLUSH_ALL);
+	OUTREG(WAIT_UNTIL, (WAIT_2D_IDLECLEAN | WAIT_DMA_GUI_IDLE));
+
 	radeon_fifo_wait(3);
 	OUTREG(SRC_Y_X, (sy << 16) | sx);
 	OUTREG(DST_Y_X, (dy << 16) | dx);
@@ -203,9 +211,7 @@ void radeonfb_engine_reset(struct radeon
 	host_path_cntl = INREG(HOST_PATH_CNTL);
 	rbbm_soft_reset = INREG(RBBM_SOFT_RESET);
 
-	if (rinfo->family == CHIP_FAMILY_R300 ||
-	    rinfo->family == CHIP_FAMILY_R350 ||
-	    rinfo->family == CHIP_FAMILY_RV350) {
+	if (IS_R300_VARIANT(rinfo)) {
 		u32 tmp;
 
 		OUTREG(RBBM_SOFT_RESET, (rbbm_soft_reset |
@@ -241,9 +247,7 @@ void radeonfb_engine_reset(struct radeon
 	INREG(HOST_PATH_CNTL);
 	OUTREG(HOST_PATH_CNTL, host_path_cntl);
 
-	if (rinfo->family != CHIP_FAMILY_R300 ||
-	    rinfo->family != CHIP_FAMILY_R350 ||
-	    rinfo->family != CHIP_FAMILY_RV350)
+	if (!IS_R300_VARIANT(rinfo))
 		OUTREG(RBBM_SOFT_RESET, rbbm_soft_reset);
 
 	OUTREG(CLOCK_CNTL_INDEX, clock_cntl_index);
@@ -260,10 +264,18 @@ void radeonfb_engine_init (struct radeon
 	radeonfb_engine_reset(rinfo);
 
 	radeon_fifo_wait (1);
-	if ((rinfo->family != CHIP_FAMILY_R300) &&
-	    (rinfo->family != CHIP_FAMILY_R350) &&
-	    (rinfo->family != CHIP_FAMILY_RV350))
+	if (IS_R300_VARIANT(rinfo)) {
+		OUTREG(RB2D_DSTCACHE_MODE, INREG(RB2D_DSTCACHE_MODE) |
+		       RB2D_DC_AUTOFLUSH_ENABLE |
+		       RB2D_DC_DC_DISABLE_IGNORE_PE);
+	} else {
+		/* This needs to be double checked with ATI. Latest X driver
+		 * completely "forgets" to set this register on < r3xx, and
+		 * we used to just write 0 there... I'll keep the 0 and update
+		 * that when we have sorted things out on X side.
+		 */
 		OUTREG(RB2D_DSTCACHE_MODE, 0);
+	}
 
 	radeon_fifo_wait (3);
 	/* We re-read MC_FB_LOCATION from card as it can have been
drivers/video/aty/radeon_backlight.c +21 -52

138 lines not on this page · raw message

drivers/video/aty/radeon_base.c +84 -55

412 lines not on this page · raw message

drivers/video/aty/radeon_i2c.c +15 -17
diff -r 1db1bb63824b -r 0659978a1911 drivers/video/aty/radeon_i2c.c
@@ -1,8 +1,8 @@
+#include "radeonfb.h"
+
 #include <linux/module.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
 #include <linux/delay.h>
-#include <linux/pci.h>
 #include <linux/fb.h>
 
 
@@ -13,7 +13,6 @@
 #include <asm/io.h>
 
 #include <video/radeon.h>
-#include "radeonfb.h"
 #include "../edid.h"
 
 #define RADEON_DDC 	0x50
@@ -72,16 +71,16 @@ static int radeon_setup_i2c_bus(struct r
 {
 	int rc;
 
-	strcpy(chan->adapter.name, name);
+	snprintf(chan->adapter.name, sizeof(chan->adapter.name),
+		 "radeonfb %s", name);
 	chan->adapter.owner		= THIS_MODULE;
-	chan->adapter.id		= I2C_HW_B_RADEON;
 	chan->adapter.algo_data		= &chan->algo;
 	chan->adapter.dev.parent	= &chan->rinfo->pdev->dev;
 	chan->algo.setsda		= radeon_gpio_setsda;
 	chan->algo.setscl		= radeon_gpio_setscl;
 	chan->algo.getsda		= radeon_gpio_getsda;
 	chan->algo.getscl		= radeon_gpio_getscl;
-	chan->algo.udelay		= 40;
+	chan->algo.udelay		= 10;
 	chan->algo.timeout		= 20;
 	chan->algo.data 		= chan;	
 	
@@ -122,22 +121,21 @@ void radeon_delete_i2c_busses(struct rad
 void radeon_delete_i2c_busses(struct radeonfb_info *rinfo)
 {
 	if (rinfo->i2c[0].rinfo)
-		i2c_bit_del_bus(&rinfo->i2c[0].adapter);
+		i2c_del_adapter(&rinfo->i2c[0].adapter);
 	rinfo->i2c[0].rinfo = NULL;
 
 	if (rinfo->i2c[1].rinfo)
-		i2c_bit_del_bus(&rinfo->i2c[1].adapter);
+		i2c_del_adapter(&rinfo->i2c[1].adapter);
 	rinfo->i2c[1].rinfo = NULL;
 
 	if (rinfo->i2c[2].rinfo)
-		i2c_bit_del_bus(&rinfo->i2c[2].adapter);
+		i2c_del_adapter(&rinfo->i2c[2].adapter);
 	rinfo->i2c[2].rinfo = NULL;
 
 	if (rinfo->i2c[3].rinfo)
-		i2c_bit_del_bus(&rinfo->i2c[3].adapter);
+		i2c_del_adapter(&rinfo->i2c[3].adapter);
 	rinfo->i2c[3].rinfo = NULL;
 }
-
 
 static u8 *radeon_do_probe_i2c_edid(struct radeon_i2c_chan *chan)
 {
@@ -169,8 +167,8 @@ static u8 *radeon_do_probe_i2c_edid(stru
 	return NULL;
 }
 
-
-int radeon_probe_i2c_connector(struct radeonfb_info *rinfo, int conn, u8 **out_edid)
+int radeon_probe_i2c_connector(struct radeonfb_info *rinfo, int conn,
+			       u8 **out_edid)
 {
 	u32 reg = rinfo->i2c[conn-1].ddc_reg;
 	u8 *edid = NULL;
@@ -244,21 +242,21 @@ int radeon_probe_i2c_connector(struct ra
 	if (out_edid)
 		*out_edid = edid;
 	if (!edid) {
-		RTRACE("radeonfb: I2C (port %d) ... not found\n", conn);
+		pr_debug("radeonfb: I2C (port %d) ... not found\n", conn);
 		return MT_NONE;
 	}
 	if (edid[0x14] & 0x80) {
 		/* Fix detection using BIOS tables */
 		if (rinfo->is_mobility /*&& conn == ddc_dvi*/ &&
 		    (INREG(LVDS_GEN_CNTL) & LVDS_ON)) {
-			RTRACE("radeonfb: I2C (port %d) ... found LVDS panel\n", conn);
+			pr_debug("radeonfb: I2C (port %d) ... found LVDS panel\n", conn);
 			return MT_LCD;
 		} else {
-			RTRACE("radeonfb: I2C (port %d) ... found TMDS panel\n", conn);
+			pr_debug("radeonfb: I2C (port %d) ... found TMDS panel\n", conn);
 			return MT_DFP;
 		}
 	}
-       	RTRACE("radeonfb: I2C (port %d) ... found CRT display\n", conn);
+	pr_debug("radeonfb: I2C (port %d) ... found CRT display\n", conn);
 	return MT_CRT;
 }
 
drivers/video/aty/radeon_monitor.c +50 -48

269 lines not on this page · raw message

drivers/video/aty/radeon_pm.c +85 -91

126 lines not on this page · raw message

drivers/video/aty/radeonfb.h +36 -39

75 lines not on this page · raw message

include/linux/radeonfb.h +1 -1
diff -r 1db1bb63824b -r 0659978a1911 include/linux/radeonfb.h

Lines of this file are not shown. View the raw message.

include/video/aty128.h +2 -2
diff -r 1db1bb63824b -r 0659978a1911 include/video/aty128.h

Lines of this file are not shown. View the raw message.

include/video/mach64.h +13 -12
diff -r 1db1bb63824b -r 0659978a1911 include/video/mach64.h

Lines of this file are not shown. View the raw message.

include/video/radeon.h +20 -12
diff -r 1db1bb63824b -r 0659978a1911 include/video/radeon.h

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259015263 -3600
# Node ID 160390a1ffc7f548849e92319e47737127d89704 # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 Intel Core (2) Duo/Solo temperature sensor driver backported from Linux Kernel Ver. 2.6.29.2

drivers/hwmon/Kconfig +8 -0
diff -r 1db1bb63824b -r 160390a1ffc7 drivers/hwmon/Kconfig

Lines of this file are not shown. View the raw message.

drivers/hwmon/Makefile +1 -0
diff -r 1db1bb63824b -r 160390a1ffc7 drivers/hwmon/Makefile

Lines of this file are not shown. View the raw message.

Documentation/hwmon/coretemp new file +38 -0
diff -r 1db1bb63824b -r 160390a1ffc7 Documentation/hwmon/coretemp

Lines of this file are not shown. View the raw message.

drivers/hwmon/coretemp.c new file +562 -0

562 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259015516 -3600
# Node ID 3eaec2bd5066e416e65ec082cd5d783ef36ff6bb # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 Intel 82801 (ICH) driver backported
from Linux Kernel Ver. 2.6.29.2

Documentation/i2c/dev-interface +99 -34

133 lines not on this page · raw message

drivers/i2c/busses/Kconfig +2 -1
diff -r 1db1bb63824b -r 3eaec2bd5066 drivers/i2c/busses/Kconfig

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-i801.c +475 -273

748 lines not on this page · raw message

include/linux/i2c.h +3 -1
diff -r 1db1bb63824b -r 3eaec2bd5066 include/linux/i2c.h

Lines of this file are not shown. View the raw message.

include/linux/pci_ids.h +1 -0
diff -r 1db1bb63824b -r 3eaec2bd5066 include/linux/pci_ids.h

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259015859 -3600
# Node ID 0ee2f293ec4c52c01fdbc65f8e274e52c9ba3cc2 # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 Intel TCO Timer/Watchdog driver backported from Linux Kernel Ver. 2.6.29.2

buildconfigs/linux-defconfig_xen_x86_32 +2 -1
diff -r 1db1bb63824b -r 0ee2f293ec4c buildconfigs/linux-defconfig_xen_x86_32

Lines of this file are not shown. View the raw message.

buildconfigs/linux-defconfig_xen_x86_64 +2 -1
diff -r 1db1bb63824b -r 0ee2f293ec4c buildconfigs/linux-defconfig_xen_x86_64

Lines of this file are not shown. View the raw message.

drivers/char/watchdog/Kconfig +19 -8
diff -r 1db1bb63824b -r 0ee2f293ec4c drivers/char/watchdog/Kconfig

Lines of this file are not shown. View the raw message.

drivers/char/watchdog/Makefile +4 -1
diff -r 1db1bb63824b -r 0ee2f293ec4c drivers/char/watchdog/Makefile

Lines of this file are not shown. View the raw message.

drivers/char/watchdog/iTCO_vendor.h new file +15 -0
diff -r 1db1bb63824b -r 0ee2f293ec4c drivers/char/watchdog/iTCO_vendor.h

Lines of this file are not shown. View the raw message.

drivers/char/watchdog/iTCO_vendor_support.c new file +312 -0

312 lines not on this page · raw message

drivers/char/watchdog/iTCO_wdt.c new file +857 -0

857 lines not on this page · raw message

drivers/char/watchdog/i8xx_tco.c deleted +0 -566

566 lines not on this page · raw message

drivers/char/watchdog/i8xx_tco.h deleted +0 -42

42 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259016087 -3600
# Node ID f3aa7ef6367a96b45d4cc39db688f379903a336d # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 ITE IT87xx and compatibles driver backported from Linux Kernel Ver. 2.6.29.2

Documentation/hwmon/it87 +85 -20

105 lines not on this page · raw message

drivers/hwmon/Kconfig +5 -5
diff -r 1db1bb63824b -r f3aa7ef6367a drivers/hwmon/Kconfig

Lines of this file are not shown. View the raw message.

drivers/hwmon/it87.c +855 -427

1,282 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259016311 -3600
# Node ID b5391a9c2749cff693df81c61fb78996a25e8841 # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 Enable PATA support in some SATA drivers

include/linux/libata.h +1 -1
diff -r 1db1bb63824b -r b5391a9c2749 include/linux/libata.h

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259016511 -3600
# Node ID 02e13e85fa55c25c232bd9dc41118d4069957195 # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 MMCONFIG PCI config space access driver backported from Linux Kernel Ver. 2.6.31.5

arch/i386/pci/Makefile +1 -1
diff -r 1db1bb63824b -r 02e13e85fa55 arch/i386/pci/Makefile

Lines of this file are not shown. View the raw message.

arch/i386/pci/direct.c +18 -7
diff -r 1db1bb63824b -r 02e13e85fa55 arch/i386/pci/direct.c

Lines of this file are not shown. View the raw message.

arch/i386/pci/init.c +11 -2
diff -r 1db1bb63824b -r 02e13e85fa55 arch/i386/pci/init.c

Lines of this file are not shown. View the raw message.

arch/i386/pci/mmconfig.c +22 -53

75 lines not on this page · raw message

arch/i386/pci/pci.h +8 -2
diff -r 1db1bb63824b -r 02e13e85fa55 arch/i386/pci/pci.h

Lines of this file are not shown. View the raw message.

arch/x86_64/pci/Makefile +2 -1
diff -r 1db1bb63824b -r 02e13e85fa55 arch/x86_64/pci/Makefile

Lines of this file are not shown. View the raw message.

arch/x86_64/pci/mmconfig.c +56 -81

137 lines not on this page · raw message

arch/i386/pci/mmconfig-shared.c new file +439 -0

439 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259016676 -3600
# Node ID 906126acd27b7e0efc3c11fdfe707b18734ab218 # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 Realtek 8169 gigabit ethernet driver backported from Linux Kernel Ver. 2.6.29.2

arch/mips/configs/tb0229_defconfig +0 -1
diff -r 1db1bb63824b -r 906126acd27b arch/mips/configs/tb0229_defconfig

Lines of this file are not shown. View the raw message.

arch/mips/configs/tb0287_defconfig +0 -1
diff -r 1db1bb63824b -r 906126acd27b arch/mips/configs/tb0287_defconfig

Lines of this file are not shown. View the raw message.

arch/ppc/configs/radstone_ppc7d_defconfig +0 -1
diff -r 1db1bb63824b -r 906126acd27b arch/ppc/configs/radstone_ppc7d_defconfig

Lines of this file are not shown. View the raw message.

buildconfigs/linux-defconfig_xen_x86_32 +0 -1
diff -r 1db1bb63824b -r 906126acd27b buildconfigs/linux-defconfig_xen_x86_32

Lines of this file are not shown. View the raw message.

buildconfigs/linux-defconfig_xen_x86_64 +0 -1
diff -r 1db1bb63824b -r 906126acd27b buildconfigs/linux-defconfig_xen_x86_64

Lines of this file are not shown. View the raw message.

drivers/net/Kconfig +1 -17
diff -r 1db1bb63824b -r 906126acd27b drivers/net/Kconfig

Lines of this file are not shown. View the raw message.

drivers/net/r8169.c +1703 -812

2,515 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259016856 -3600
# Node ID 5ae764557edff344c59e88413d66c1e2f9a99eb0 # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 New generic RTC class PC-style 'CMOS' driver backported from Linux Kernel Ver. 2.6.29.2

arch/i386/Kconfig +1 -1
diff -r 1db1bb63824b -r 5ae764557edf arch/i386/Kconfig

Lines of this file are not shown. View the raw message.

arch/i386/kernel/time_hpet.c +3 -1
diff -r 1db1bb63824b -r 5ae764557edf arch/i386/kernel/time_hpet.c

Lines of this file are not shown. View the raw message.

arch/x86_64/Kconfig +1 -1
diff -r 1db1bb63824b -r 5ae764557edf arch/x86_64/Kconfig

Lines of this file are not shown. View the raw message.

arch/x86_64/kernel/time.c +2 -1
diff -r 1db1bb63824b -r 5ae764557edf arch/x86_64/kernel/time.c

Lines of this file are not shown. View the raw message.

drivers/acpi/utilities/utglobal.c +1 -0
diff -r 1db1bb63824b -r 5ae764557edf drivers/acpi/utilities/utglobal.c

Lines of this file are not shown. View the raw message.

drivers/char/Kconfig +9 -1
diff -r 1db1bb63824b -r 5ae764557edf drivers/char/Kconfig

Lines of this file are not shown. View the raw message.

drivers/rtc/Kconfig +23 -0
diff -r 1db1bb63824b -r 5ae764557edf drivers/rtc/Kconfig

Lines of this file are not shown. View the raw message.

drivers/rtc/Makefile +1 -0
diff -r 1db1bb63824b -r 5ae764557edf drivers/rtc/Makefile

Lines of this file are not shown. View the raw message.

include/linux/mc146818rtc.h +17 -0
diff -r 1db1bb63824b -r 5ae764557edf include/linux/mc146818rtc.h

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-cmos.c new file +1150 -0

1,150 lines not on this page · raw message

include/linux/log2.h new file +209 -0

209 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

# HG changeset patch
# User [email protected]
# Date 1259017006 -3600
# Node ID bbc156985789747ac1373472e5e924315743edc1 # Parent 1db1bb63824b25f97d127449faeb3a56f1272c97 Disable xenbus warning for console during domU boot and vfb timeout during domU shutdown

drivers/xen/xenbus/xenbus_probe.c +7 -0
diff -r 1db1bb63824b -r bbc156985789 drivers/xen/xenbus/xenbus_probe.c

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Part of the diff is not shown here. View the raw message.

#3 lore raw
Quoted 10 lines · Daniel Kiper
Quoted 8 lines · Keir Fraser
Quoted 3 lines · Daniel Kiper

Hello,

I am posting new/updated drivers for linux-2.6.18-xen.hg.

I have problems applying inline patches containing hard tabs, for some reason. You'll need to re-send the whole lot as attachments.

I get this on i686 and x86_64 build:

370 arch/i386/kernel/built-in.o: In function `hpet_rtc_interrupt':
371 /builddir/build/BUILD/kernel-2.6.18/linux-2.6.18.i686/arch/i386/kernel/time_hpet.c:460: undefined reference to `rtc_interrupt'
372 make: *** [.tmp_vmlinux1] Error 1
373 error: Bad exit status from /var/tmp/rpm-tmp.2148 (%build)

The .config is from a default RHEL5U4.

#4 lore raw
Quoted 11 lines · Konrad Rzeszutek Wilk

I get this on i686 and x86_64 build:

370 arch/i386/kernel/built-in.o: In function `hpet_rtc_interrupt':
371
/builddir/build/BUILD/kernel-2.6.18/linux-2.6.18.i686/arch/i386/kernel/time_h
pet.c:460: undefined reference to `rtc_interrupt'
372 make: *** [.tmp_vmlinux1] Error 1
373 error: Bad exit status from /var/tmp/rpm-tmp.2148 (%build)

The .config is from a default RHEL5U4.

Try changing CONFIG_RTC to CONFIG_RTC_DRV_CMOS in your .config, 'make oldconfig' and rebuild from scratch.

-- Keir