Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57054
b: refs/heads/master
c: 20e2008
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter committed May 27, 2007
1 parent 377e1d2 commit 1bc69e9
Show file tree
Hide file tree
Showing 46 changed files with 151 additions and 318 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 358a9afc35d550db4f67b1c8336f5326244ceeda
refs/heads/master: 20e2008e1f24a6831bf4311f8e2f8692f16a92de
2 changes: 1 addition & 1 deletion trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Who: Dan Dennedy <dan@dennedy.org>, Stefan Richter <stefanr@s5r6.in-berlin.de>
What: old NCR53C9x driver
When: October 2007
Why: Replaced by the much better esp_scsi driver. Actual low-level
driver can be ported over almost trivially.
driver can ported over almost trivially.
Who: David Miller <davem@davemloft.net>
Christoph Hellwig <hch@lst.de>

Expand Down
2 changes: 1 addition & 1 deletion trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2334,7 +2334,7 @@ S: Maintained

MEGARAID SCSI DRIVERS
P: Neela Syam Kolli
M: megaraidlinux@lsi.com
M: Neela.Kolli@engenio.com
S: linux-scsi@vger.kernel.org
W: http://megaraid.lsilogic.com
S: Maintained
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ config GENERIC_BUG
depends on BUG

config SYS_SUPPORTS_APM_EMULATION
default y if PMAC_APM_EMU
bool

config DEFAULT_UIMAGE
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/dts/lite5200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
interrupt-controller;
#interrupt-cells = <3>;
device_type = "interrupt-controller";
compatible = "mpc5200-pic";
compatible = "mpc5200_pic";
reg = <500 80>;
built-in;
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/dts/lite5200b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
interrupt-controller;
#interrupt-cells = <3>;
device_type = "interrupt-controller";
compatible = "mpc5200b-pic\0mpc5200-pic";
compatible = "mpc5200b-pic\0mpc5200_pic";
reg = <500 80>;
built-in;
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/mm/pgtable_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void pgd_free(pgd_t *pgd)
free_pages((unsigned long)pgd, PGDIR_ORDER);
}

__init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
{
pte_t *pte;
extern int mem_init_done;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/chrp/pegasos_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static int Enable_SRAM(void)

/***********/
/***********/
static int __init mv643xx_eth_add_pds(void)
int mv643xx_eth_add_pds(void)
{
int ret = 0;
static struct pci_device_id pci_marvell_mv64360[] = {
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/powermac/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ int boot_part;
static dev_t boot_dev;

#ifdef CONFIG_SCSI
void note_scsi_host(struct device_node *node, void *host)
void __init note_scsi_host(struct device_node *node, void *host)
{
int l;
char *p;
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/sysdev/qe_lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
config UCC_SLOW
bool
default n
select UCC
help
This option provides qe_lib support to UCC slow
protocols: UART, BISYNC, QMC

config UCC_FAST
bool
default y if UCC_GETH
default n
select UCC
help
This option provides qe_lib support to UCC fast
protocols: HDLC, Ethernet, ATM, transparent
Expand Down
18 changes: 3 additions & 15 deletions trunk/arch/ppc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -596,11 +596,7 @@ fast_exception_return:
mr r12,r4 /* restart at exc_exit_restart */
b 2b

.section .bss
.align 2
fee_restarts:
.space 4
.previous
.comm fee_restarts,4

/* aargh, a nonrecoverable interrupt, panic */
/* aargh, we don't know which trap this is */
Expand Down Expand Up @@ -855,11 +851,7 @@ load_dbcr0:
mtspr SPRN_DBSR,r11 /* clear all pending debug events */
blr

.section .bss
.align 4
global_dbcr0:
.space 8
.previous
.comm global_dbcr0,8
#endif /* !(CONFIG_4xx || CONFIG_BOOKE) */

do_work: /* r10 contains MSR_KERNEL here */
Expand Down Expand Up @@ -934,8 +926,4 @@ END_FTR_SECTION_IFSET(CPU_FTR_601)
/* shouldn't return */
b 4b

.section .bss
.align 2
ee_restarts:
.space 4
.previous
.comm ee_restarts,4
2 changes: 2 additions & 0 deletions trunk/arch/ppc/kernel/ppc_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <asm/time.h>
#include <asm/cputable.h>
#include <asm/btext.h>
#include <asm/div64.h>
#include <asm/xmon.h>
#include <asm/signal.h>
#include <asm/dcr.h>
Expand Down Expand Up @@ -92,6 +93,7 @@ EXPORT_SYMBOL(strncpy);
EXPORT_SYMBOL(strcat);
EXPORT_SYMBOL(strlen);
EXPORT_SYMBOL(strcmp);
EXPORT_SYMBOL(__div64_32);

EXPORT_SYMBOL(csum_partial);
EXPORT_SYMBOL(csum_partial_copy_generic);
Expand Down
20 changes: 4 additions & 16 deletions trunk/arch/ppc/mm/hashtable.S
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@
#include <asm/asm-offsets.h>

#ifdef CONFIG_SMP
.section .bss
.align 2
.globl mmu_hash_lock
mmu_hash_lock:
.space 4
.comm mmu_hash_lock,4
#endif /* CONFIG_SMP */

/*
Expand Down Expand Up @@ -465,17 +461,9 @@ found_slot:
sync /* make sure pte updates get to memory */
blr

.section .bss
.align 2
next_slot:
.space 4
.globl primary_pteg_full
primary_pteg_full:
.space 4
.globl htab_hash_searches
htab_hash_searches:
.space 4
.previous
.comm next_slot,4
.comm primary_pteg_full,4
.comm htab_hash_searches,4

/*
* Flush the entry for a particular page from the hash table.
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/mm/pgtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void pgd_free(pgd_t *pgd)
free_pages((unsigned long)pgd, PGDIR_ORDER);
}

__init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
{
pte_t *pte;
extern int mem_init_done;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/hwmon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ config SENSORS_HDAPS

config SENSORS_APPLESMC
tristate "Apple SMC (Motion sensor, light sensor, keyboard backlight)"
depends on INPUT && X86
depends on HWMON && INPUT && X86
select NEW_LEDS
select LEDS_CLASS
default n
Expand Down
7 changes: 1 addition & 6 deletions trunk/drivers/hwmon/applesmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1206,13 +1206,11 @@ static int __init applesmc_init(void)
}

ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_name.attr);
if (ret)
goto out_device;

/* Create key enumeration sysfs files */
ret = sysfs_create_group(&pdev->dev.kobj, &key_enumeration_group);
if (ret)
goto out_name;
goto out_device;

/* create fan files */
count = applesmc_get_fan_count();
Expand Down Expand Up @@ -1312,8 +1310,6 @@ static int __init applesmc_init(void)
sysfs_remove_group(&pdev->dev.kobj, &fan_attribute_groups[1]);
out_key_enumeration:
sysfs_remove_group(&pdev->dev.kobj, &key_enumeration_group);
out_name:
sysfs_remove_file(&pdev->dev.kobj, &dev_attr_name.attr);
out_device:
platform_device_unregister(pdev);
out_driver:
Expand All @@ -1339,7 +1335,6 @@ static void __exit applesmc_exit(void)
sysfs_remove_group(&pdev->dev.kobj, &fan_attribute_groups[0]);
sysfs_remove_group(&pdev->dev.kobj, &fan_attribute_groups[1]);
sysfs_remove_group(&pdev->dev.kobj, &key_enumeration_group);
sysfs_remove_file(&pdev->dev.kobj, &dev_attr_name.attr);
platform_device_unregister(pdev);
platform_driver_unregister(&applesmc_driver);
release_region(APPLESMC_DATA_PORT, APPLESMC_NR_PORTS);
Expand Down
32 changes: 3 additions & 29 deletions trunk/drivers/hwmon/coretemp.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,22 +176,6 @@ static int __devinit coretemp_probe(struct platform_device *pdev)
goto exit_free;
}

/* Check if we have problem with errata AE18 of Core processors:
Readings might stop update when processor visited too deep sleep,
fixed for stepping D0 (6EC).
*/

if ((c->x86_model == 0xe) && (c->x86_mask < 0xc)) {
/* check for microcode update */
rdmsr_on_cpu(data->id, MSR_IA32_UCODE_REV, &eax, &edx);
if (edx < 0x39) {
dev_err(&pdev->dev,
"Errata AE18 not fixed, update BIOS or "
"microcode of the CPU!\n");
goto exit_free;
}
}

/* Some processors have Tjmax 85 following magic should detect it
Intel won't disclose the information without signed NDA, but
individuals cannot sign it. Catch(ed) 22.
Expand All @@ -209,19 +193,6 @@ static int __devinit coretemp_probe(struct platform_device *pdev)
}
}

/* Intel says that above should not work for desktop Core2 processors,
but it seems to work. There is no other way how get the absolute
readings. Warn the user about this. First check if are desktop,
bit 50 of MSR_IA32_PLATFORM_ID should be 0.
*/

rdmsr_safe_on_cpu(data->id, MSR_IA32_PLATFORM_ID, &eax, &edx);

if ((c->x86_model == 0xf) && (!(edx & 0x00040000))) {
dev_warn(&pdev->dev, "Using undocumented features, absolute "
"temperature might be wrong!\n");
}

platform_set_drvdata(pdev, data);

if ((err = sysfs_create_group(&pdev->dev.kobj, &coretemp_group)))
Expand Down Expand Up @@ -359,6 +330,9 @@ static int __init coretemp_init(void)
int i, err = -ENODEV;
struct pdev_entry *p, *n;

printk(KERN_NOTICE DRVNAME ": This driver uses undocumented features "
"of Core CPU. Temperature might be wrong!\n");

/* quick check if we run Intel */
if (cpu_data[0].x86_vendor != X86_VENDOR_INTEL)
goto exit;
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/hwmon/ds1621.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ MODULE_PARM_DESC(polarity, "Output's polarity: 0 = active high, 1 = active low")

/* The DS1621 registers */
#define DS1621_REG_TEMP 0xAA /* word, RO */
#define DS1621_REG_TEMP_MIN 0xA2 /* word, RW */
#define DS1621_REG_TEMP_MAX 0xA1 /* word, RW */
#define DS1621_REG_TEMP_MIN 0xA1 /* word, RW */
#define DS1621_REG_TEMP_MAX 0xA2 /* word, RW */
#define DS1621_REG_CONF 0xAC /* byte, RW */
#define DS1621_COM_START 0xEE /* no data */
#define DS1621_COM_STOP 0x22 /* no data */
Expand Down Expand Up @@ -328,9 +328,9 @@ static struct ds1621_data *ds1621_update_client(struct device *dev)

/* reset alarms if necessary */
new_conf = data->conf;
if (data->temp > data->temp_min)
if (data->temp < data->temp_min)
new_conf &= ~DS1621_ALARM_TEMP_LOW;
if (data->temp < data->temp_max)
if (data->temp > data->temp_max)
new_conf &= ~DS1621_ALARM_TEMP_HIGH;
if (data->conf != new_conf)
ds1621_write_value(client, DS1621_REG_CONF,
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/hwmon/hwmon-vid.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ int vid_from_reg(int val, u8 vrm)
val &= 0x7f;
return(val > 0x77 ? 0 : (1500000 - (val * 12500) + 500) / 1000);
default: /* report 0 for unknown */
if (vrm)
printk(KERN_WARNING "hwmon-vid: Requested unsupported "
"VRM version (%u)\n", (unsigned int)vrm);
printk(KERN_INFO "hwmon-vid: requested unknown VRM version\n");
return 0;
}
}
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/hwmon/w83627hf.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,10 +965,8 @@ static int __init w83627hf_find(int sioaddr, unsigned short *addr,
case W687THF_DEVID:
sio_data->type = w83687thf;
break;
case 0xff: /* No device at all */
goto exit;
default:
pr_debug(DRVNAME ": Unsupported chip (DEVID=0x%02x)\n", val);
pr_debug(DRVNAME ": Unsupported chip (DEVID=0x%x)\n", val);
goto exit;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/ieee1394/sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
#include <linux/stringify.h>
#include <linux/types.h>
#include <linux/wait.h>
#include <linux/workqueue.h>

#include <asm/byteorder.h>
#include <asm/errno.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/macintosh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ config PMAC_SMU

config PMAC_APM_EMU
tristate "APM emulation"
select SYS_SUPPORTS_APM_EMULATION
select APM_EMULATION
depends on ADB_PMU && PM

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/message/fusion/mptbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ typedef struct _MPT_SAS_MGMT {
typedef struct _mpt_ioctl_events {
u32 event; /* Specified by define above */
u32 eventContext; /* Index or counter */
u32 data[2]; /* First 8 bytes of Event Data */
int data[2]; /* First 8 bytes of Event Data */
} MPT_IOCTL_EVENTS;

/*
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/message/fusion/mptscsih.c
Original file line number Diff line number Diff line change
Expand Up @@ -2463,11 +2463,11 @@ mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR
ioc->events[idx].event = MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE;
ioc->events[idx].eventContext = ioc->eventContext;

ioc->events[idx].data[0] = (pReq->LUN[1] << 24) |
(MPI_EVENT_SCSI_DEV_STAT_RC_SMART_DATA << 16) |
(sc->device->channel << 8) | sc->device->id;
ioc->events[idx].data[0] = (pReq->LUN[1] << 24) ||
(MPI_EVENT_SCSI_DEV_STAT_RC_SMART_DATA << 16) ||
(sc->device->channel << 8) || sc->device->id;

ioc->events[idx].data[1] = (sense_data[13] << 8) | sense_data[12];
ioc->events[idx].data[1] = (sense_data[13] << 8) || sense_data[12];

ioc->eventContext++;
if (hd->ioc->pcidev->vendor ==
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2280,6 +2280,7 @@ config GFAR_NAPI
config UCC_GETH
tristate "Freescale QE Gigabit Ethernet"
depends on QUICC_ENGINE
select UCC_FAST
help
This driver supports the Gigabit Ethernet mode of the QUICC Engine,
which is available on some Freescale SOCs.
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/s390/scsi/zfcp_aux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,6 @@ zfcp_adapter_dequeue(struct zfcp_adapter *adapter)
int retval = 0;
unsigned long flags;

zfcp_adapter_scsi_unregister(adapter);
device_unregister(&adapter->generic_services);
zfcp_sysfs_adapter_remove_files(&adapter->ccw_device->dev);
dev_set_drvdata(&adapter->ccw_device->dev, NULL);
Expand Down
Loading

0 comments on commit 1bc69e9

Please sign in to comment.