Skip to content

Commit

Permalink
Merge master.kernel.org:/home/rmk/linux-2.6-arm
Browse files Browse the repository at this point in the history
* master.kernel.org:/home/rmk/linux-2.6-arm:
  [ARM] rpc: update defconfig
  [ARM] pata_icside: fix the FIXMEs
  [ARM] 4542/1: AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c
  [ARM] 4541/1: iop: defconfig updates
  [ARM] 4531/1: remove is_in_rom() protptype
  • Loading branch information
Linus Torvalds committed Aug 7, 2007
2 parents f27eb3a + 6e7d934 commit 4a2a4df
Show file tree
Hide file tree
Showing 8 changed files with 890 additions and 935 deletions.
306 changes: 136 additions & 170 deletions arch/arm/configs/iop13xx_defconfig

Large diffs are not rendered by default.

382 changes: 167 additions & 215 deletions arch/arm/configs/iop32x_defconfig

Large diffs are not rendered by default.

313 changes: 136 additions & 177 deletions arch/arm/configs/iop33x_defconfig

Large diffs are not rendered by default.

791 changes: 436 additions & 355 deletions arch/arm/configs/rpc_defconfig

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions arch/arm/mach-at91/at91sam9261_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

#include <linux/platform_device.h>

#include <video/atmel_lcdc.h>

#include <asm/arch/board.h>
#include <asm/arch/gpio.h>
#include <asm/arch/at91sam9261.h>
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-at91/at91sam9263_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#include <linux/platform_device.h>

#include <video/atmel_lcdc.h>

#include <asm/arch/board.h>
#include <asm/arch/gpio.h>
#include <asm/arch/at91sam9263.h>
Expand Down
28 changes: 11 additions & 17 deletions drivers/ata/pata_icside.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,17 +330,12 @@ static void ata_dummy_noret(struct ata_port *port)
{
}

/*
* We need to shut down unused ports to prevent spurious interrupts.
* FIXME: the libata core doesn't call this function for PATA interfaces.
*/
static void pata_icside_port_disable(struct ata_port *ap)
static void pata_icside_postreset(struct ata_port *ap, unsigned int *classes)
{
struct pata_icside_state *state = ap->host->private_data;

ata_port_printk(ap, KERN_ERR, "disabling icside port\n");

ata_port_disable(ap);
if (classes[0] != ATA_DEV_NONE || classes[1] != ATA_DEV_NONE)
return ata_std_postreset(ap, classes);

state->port[ap->port_no].disabled = 1;

Expand All @@ -356,6 +351,12 @@ static void pata_icside_port_disable(struct ata_port *ap)
}
}

static void pata_icside_error_handler(struct ata_port *ap)
{
ata_bmdma_drive_eh(ap, ata_std_prereset, ata_std_softreset, NULL,
pata_icside_postreset);
}

static u8 pata_icside_irq_ack(struct ata_port *ap, unsigned int chk_drq)
{
unsigned int bits = chk_drq ? ATA_BUSY | ATA_DRQ : ATA_BUSY;
Expand All @@ -374,7 +375,7 @@ static u8 pata_icside_irq_ack(struct ata_port *ap, unsigned int chk_drq)
}

static struct ata_port_operations pata_icside_port_ops = {
.port_disable = pata_icside_port_disable,
.port_disable = ata_port_disable,

.set_dmamode = pata_icside_set_dmamode,

Expand All @@ -397,7 +398,7 @@ static struct ata_port_operations pata_icside_port_ops = {

.freeze = ata_bmdma_freeze,
.thaw = ata_bmdma_thaw,
.error_handler = ata_bmdma_error_handler,
.error_handler = pata_icside_error_handler,
.post_internal_cmd = pata_icside_bmdma_stop,

.irq_clear = ata_dummy_noret,
Expand Down Expand Up @@ -484,13 +485,6 @@ static int __devinit pata_icside_register_v6(struct pata_icside_info *info)
state->port[0].port_sel = sel;
state->port[1].port_sel = sel | 1;

/*
* FIXME: work around libata's aversion to calling port_disable.
* This permanently disables interrupts on port 0 - bad luck if
* you have a drive on that port.
*/
state->port[0].disabled = 1;

info->base = easi_base;
info->irqops = &pata_icside_ops_arcin_v6;
info->nr_ports = 2;
Expand Down
1 change: 0 additions & 1 deletion include/asm-arm/pgtable-nommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ static inline int pte_file(pte_t pte) { return 0; }
* These would be in other places but having them here reduces the diffs.
*/
extern unsigned int kobjsize(const void *objp);
extern int is_in_rom(unsigned long);

/*
* No page table caches to initialise.
Expand Down

0 comments on commit 4a2a4df

Please sign in to comment.