aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2009-06-17 12:35:24 -0400
committerTony Luck <tony.luck@intel.com>2009-06-17 12:35:24 -0400
commit27f70c3117194f98beb009dc48bb2aa267f505bf (patch)
tree22afa3fb31376da9e37f09a78745afe3f16fde8a /drivers
parentd186b86ffcad713a1dd3d03e9d4ce2d59f61a1ed (diff)
parente088a4ad7fa53c3dc3c29f930025f41ccf01953e (diff)
Pull for-2.6.31 into release
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/agp/hp-agp.c5
-rw-r--r--drivers/firmware/pcdp.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/drivers/char/agp/hp-agp.c b/drivers/char/agp/hp-agp.c
index 183ac3fe44fb..9c7e2343c399 100644
--- a/drivers/char/agp/hp-agp.c
+++ b/drivers/char/agp/hp-agp.c
@@ -518,8 +518,9 @@ zx1_gart_probe (acpi_handle obj, u32 depth, void *context, void **ret)
518 if (hp_zx1_setup(sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa)) 518 if (hp_zx1_setup(sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa))
519 return AE_OK; 519 return AE_OK;
520 520
521 printk(KERN_INFO PFX "Detected HP ZX1 %s AGP chipset (ioc=%lx, lba=%lx)\n", 521 printk(KERN_INFO PFX "Detected HP ZX1 %s AGP chipset "
522 (char *) context, sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa); 522 "(ioc=%llx, lba=%llx)\n", (char *)context,
523 sba_hpa + HP_ZX1_IOC_OFFSET, lba_hpa);
523 524
524 hp_zx1_gart_found = 1; 525 hp_zx1_gart_found = 1;
525 return AE_CTRL_TERMINATE; /* we only support one bridge; quit looking */ 526 return AE_CTRL_TERMINATE; /* we only support one bridge; quit looking */
diff --git a/drivers/firmware/pcdp.c b/drivers/firmware/pcdp.c
index 58e9f8e457f8..51e0e2d8fac6 100644
--- a/drivers/firmware/pcdp.c
+++ b/drivers/firmware/pcdp.c
@@ -28,10 +28,10 @@ setup_serial_console(struct pcdp_uart *uart)
28 char parity; 28 char parity;
29 29
30 mmio = (uart->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY); 30 mmio = (uart->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY);
31 p += sprintf(p, "uart8250,%s,0x%lx", 31 p += sprintf(p, "uart8250,%s,0x%llx",
32 mmio ? "mmio" : "io", uart->addr.address); 32 mmio ? "mmio" : "io", uart->addr.address);
33 if (uart->baud) { 33 if (uart->baud) {
34 p += sprintf(p, ",%lu", uart->baud); 34 p += sprintf(p, ",%llu", uart->baud);
35 if (uart->bits) { 35 if (uart->bits) {
36 switch (uart->parity) { 36 switch (uart->parity) {
37 case 0x2: parity = 'e'; break; 37 case 0x2: parity = 'e'; break;