* [PATCH] move variables in drivers/macintosh to bss
@ 2007-02-10 20:35 Olaf Hering
2007-02-10 20:36 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
0 siblings, 1 reply; 34+ messages in thread
From: Olaf Hering @ 2007-02-10 20:35 UTC (permalink / raw)
To: linuxppc-dev, Andrew Morton
Move all the initialized variables to bss.
Mark a version string as const.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
drivers/macintosh/adbhid.c | 4 ++--
drivers/macintosh/apm_emu.c | 2 +-
drivers/macintosh/mac_hid.c | 4 ++--
drivers/macintosh/therm_adt746x.c | 6 +++---
drivers/macintosh/via-cuda.c | 2 +-
drivers/macintosh/via-macii.c | 10 +++++-----
drivers/macintosh/via-maciisi.c | 6 +++---
drivers/macintosh/via-pmu.c | 11 +++++------
drivers/macintosh/via-pmu68k.c | 4 ++--
9 files changed, 24 insertions(+), 25 deletions(-)
Index: linux-2.6/drivers/macintosh/adbhid.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/adbhid.c
+++ linux-2.6/drivers/macintosh/adbhid.c
@@ -574,8 +574,8 @@ static struct adb_request led_request;
static int leds_pending[16];
static int leds_req_pending;
static int pending_devs[16];
-static int pending_led_start=0;
-static int pending_led_end=0;
+static int pending_led_start;
+static int pending_led_end;
static DEFINE_SPINLOCK(leds_lock);
static void leds_done(struct adb_request *req)
Index: linux-2.6/drivers/macintosh/apm_emu.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/apm_emu.c
+++ linux-2.6/drivers/macintosh/apm_emu.c
@@ -102,7 +102,7 @@ static struct pmu_sleep_notifier apm_sle
SLEEP_LEVEL_USERLAND,
};
-static char driver_version[] = "0.5"; /* no spaces */
+static const char driver_version[] = "0.5"; /* no spaces */
#ifdef DEBUG
static char * apm_event_name[] = {
Index: linux-2.6/drivers/macintosh/mac_hid.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/mac_hid.c
+++ linux-2.6/drivers/macintosh/mac_hid.c
@@ -17,10 +17,10 @@
static struct input_dev *emumousebtn;
static int emumousebtn_input_register(void);
-static int mouse_emulate_buttons = 0;
+static int mouse_emulate_buttons;
static int mouse_button2_keycode = KEY_RIGHTCTRL; /* right control key */
static int mouse_button3_keycode = KEY_RIGHTALT; /* right option key */
-static int mouse_last_keycode = 0;
+static int mouse_last_keycode;
#if defined(CONFIG_SYSCTL)
/* file(s) in /proc/sys/dev/mac_hid */
Index: linux-2.6/drivers/macintosh/therm_adt746x.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/therm_adt746x.c
+++ linux-2.6/drivers/macintosh/therm_adt746x.c
@@ -48,11 +48,11 @@ static u8 FAN_SPD_SET[2] = {0x30, 0x31};
static u8 default_limits_local[3] = {70, 50, 70}; /* local, sensor1, sensor2 */
static u8 default_limits_chip[3] = {80, 65, 80}; /* local, sensor1, sensor2 */
-static const char *sensor_location[3] = {NULL, NULL, NULL};
+static const char *sensor_location[3];
-static int limit_adjust = 0;
+static int limit_adjust;
static int fan_speed = -1;
-static int verbose = 0;
+static int verbose;
MODULE_AUTHOR("Colin Leroy <colin@colino.net>");
MODULE_DESCRIPTION("Driver for ADT746x thermostat in iBook G4 and "
Index: linux-2.6/drivers/macintosh/via-cuda.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/via-cuda.c
+++ linux-2.6/drivers/macintosh/via-cuda.c
@@ -86,7 +86,7 @@ static int data_index;
#ifdef CONFIG_PPC
static struct device_node *vias;
#endif
-static int cuda_fully_inited = 0;
+static int cuda_fully_inited;
#ifdef CONFIG_ADB
static int cuda_probe(void);
Index: linux-2.6/drivers/macintosh/via-macii.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/via-macii.c
+++ linux-2.6/drivers/macintosh/via-macii.c
@@ -107,10 +107,10 @@ static enum macii_state {
awaiting_reply
} macii_state;
-static int need_poll = 0;
-static int command_byte = 0;
-static int last_reply = 0;
-static int last_active = 0;
+static int need_poll;
+static int command_byte;
+static int last_reply;
+static int last_active;
static struct adb_request *current_req;
static struct adb_request *last_req;
@@ -124,7 +124,7 @@ static int first_byte;
static int prefix_len;
static int status = ST_IDLE|TREQ;
static int last_status;
-static int driver_running = 0;
+static int driver_running;
/* debug level 10 required for ADB logging (should be && debug_adb, ideally) */
Index: linux-2.6/drivers/macintosh/via-maciisi.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/via-maciisi.c
+++ linux-2.6/drivers/macintosh/via-maciisi.c
@@ -63,10 +63,10 @@ static volatile unsigned char *via;
#undef DEBUG_MACIISI_ADB
-static struct adb_request* current_req = NULL;
-static struct adb_request* last_req = NULL;
+static struct adb_request* current_req;
+static struct adb_request* last_req;
static unsigned char maciisi_rbuf[16];
-static unsigned char *reply_ptr = NULL;
+static unsigned char *reply_ptr;
static int data_index;
static int reading_reply;
static int reply_len;
Index: linux-2.6/drivers/macintosh/via-pmu.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/via-pmu.c
+++ linux-2.6/drivers/macintosh/via-pmu.c
@@ -141,13 +141,13 @@ static volatile int adb_int_pending;
static volatile int disable_poll;
static struct device_node *vias;
static int pmu_kind = PMU_UNKNOWN;
-static int pmu_fully_inited = 0;
+static int pmu_fully_inited;
static int pmu_has_adb;
static struct device_node *gpio_node;
-static unsigned char __iomem *gpio_reg = NULL;
+static unsigned char __iomem *gpio_reg;
static int gpio_irq = NO_IRQ;
static int gpio_irq_enabled = -1;
-static volatile int pmu_suspended = 0;
+static volatile int pmu_suspended;
static spinlock_t pmu_lock;
static u8 pmu_intr_mask;
static int pmu_version;
@@ -180,7 +180,7 @@ int asleep;
BLOCKING_NOTIFIER_HEAD(sleep_notifier_list);
#ifdef CONFIG_ADB
-static int adb_dev_map = 0;
+static int adb_dev_map;
static int pmu_adb_flags;
static int pmu_probe(void);
@@ -2777,7 +2777,7 @@ pmu_polled_request(struct adb_request *r
#if defined(CONFIG_PM) && defined(CONFIG_PPC32)
-static int pmu_sys_suspended = 0;
+static int pmu_sys_suspended;
static int pmu_sys_suspend(struct sys_device *sysdev, pm_message_t state)
{
@@ -2817,7 +2817,6 @@ static struct sysdev_class pmu_sysclass
};
static struct sys_device device_pmu = {
- .id = 0,
.cls = &pmu_sysclass,
};
Index: linux-2.6/drivers/macintosh/via-pmu68k.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/via-pmu68k.c
+++ linux-2.6/drivers/macintosh/via-pmu68k.c
@@ -96,10 +96,10 @@ static int data_index;
static int data_len;
static int adb_int_pending;
static int pmu_adb_flags;
-static int adb_dev_map = 0;
+static int adb_dev_map;
static struct adb_request bright_req_1, bright_req_2, bright_req_3;
static int pmu_kind = PMU_UNKNOWN;
-static int pmu_fully_inited = 0;
+static int pmu_fully_inited;
int asleep;
BLOCKING_NOTIFIER_HEAD(sleep_notifier_list);
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH] add delay around sl82c105_reset_engine calls
2007-02-10 20:35 [PATCH] move variables in drivers/macintosh to bss Olaf Hering
@ 2007-02-10 20:36 ` Olaf Hering
2007-02-10 20:37 ` [PATCH] cleanup variable usage in mesh interrupt handler Olaf Hering
2007-02-15 23:09 ` [PATCH] add delay around sl82c105_reset_engine calls Jeff Garzik
0 siblings, 2 replies; 34+ messages in thread
From: Olaf Hering @ 2007-02-10 20:36 UTC (permalink / raw)
To: linuxppc-dev, Andrew Morton; +Cc: linux-ide
The hald media changed polling does really confuse things.
Noone knows why the delays are needed, but they give us access to the CD.
An udelay(50) will give reliable access to the drive, but there is still
one (or more) EH reset. The drive works without EH resets with udelay(100).
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
drivers/ata/pata_sl82c105.c | 3 +++
1 file changed, 3 insertions(+)
Index: linux-2.6/drivers/ata/pata_sl82c105.c
===================================================================
--- linux-2.6.orig/drivers/ata/pata_sl82c105.c
+++ linux-2.6/drivers/ata/pata_sl82c105.c
@@ -187,7 +187,9 @@ static void sl82c105_bmdma_start(struct
{
struct ata_port *ap = qc->ap;
+ udelay(100);
sl82c105_reset_engine(ap);
+ udelay(100);
/* Set the clocks for DMA */
sl82c105_configure_dmamode(ap, qc->dev);
@@ -216,6 +218,7 @@ static void sl82c105_bmdma_stop(struct a
ata_bmdma_stop(qc);
sl82c105_reset_engine(ap);
+ udelay(100);
/* This will redo the initial setup of the DMA device to matching
PIO timings */
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH] cleanup variable usage in mesh interrupt handler
2007-02-10 20:36 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
@ 2007-02-10 20:37 ` Olaf Hering
2007-02-10 20:38 ` [PATCH] mark winbond IDE PCI resources with start 0 as unassigned Olaf Hering
2007-02-15 23:09 ` [PATCH] add delay around sl82c105_reset_engine calls Jeff Garzik
1 sibling, 1 reply; 34+ messages in thread
From: Olaf Hering @ 2007-02-10 20:37 UTC (permalink / raw)
To: linuxppc-dev, Andrew Morton; +Cc: linux-scsi
convert void* to struct mesh_state*
remove unused irq argument from mesh_interrupt()
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
drivers/scsi/mesh.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Index: linux-2.6/drivers/scsi/mesh.c
===================================================================
--- linux-2.6.orig/drivers/scsi/mesh.c
+++ linux-2.6/drivers/scsi/mesh.c
@@ -185,7 +185,7 @@ struct mesh_state {
* Driver is too messy, we need a few prototypes...
*/
static void mesh_done(struct mesh_state *ms, int start_next);
-static void mesh_interrupt(int irq, void *dev_id);
+static void mesh_interrupt(struct mesh_state *ms);
static void cmd_complete(struct mesh_state *ms);
static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd);
static void halt_dma(struct mesh_state *ms);
@@ -466,7 +466,7 @@ static void mesh_start_cmd(struct mesh_s
dlog(ms, "intr b4 arb, intr/exc/err/fc=%.8x",
MKWORD(mr->interrupt, mr->exception,
mr->error, mr->fifo_count));
- mesh_interrupt(0, (void *)ms);
+ mesh_interrupt(ms);
if (ms->phase != arbitrating)
return;
}
@@ -504,7 +504,7 @@ static void mesh_start_cmd(struct mesh_s
dlog(ms, "intr after disresel, intr/exc/err/fc=%.8x",
MKWORD(mr->interrupt, mr->exception,
mr->error, mr->fifo_count));
- mesh_interrupt(0, (void *)ms);
+ mesh_interrupt(ms);
if (ms->phase != arbitrating)
return;
dlog(ms, "after intr after disresel, intr/exc/err/fc=%.8x",
@@ -1018,10 +1018,11 @@ static void handle_reset(struct mesh_sta
static irqreturn_t do_mesh_interrupt(int irq, void *dev_id)
{
unsigned long flags;
- struct Scsi_Host *dev = ((struct mesh_state *)dev_id)->host;
+ struct mesh_state *ms = dev_id;
+ struct Scsi_Host *dev = ms->host;
spin_lock_irqsave(dev->host_lock, flags);
- mesh_interrupt(irq, dev_id);
+ mesh_interrupt(ms);
spin_unlock_irqrestore(dev->host_lock, flags);
return IRQ_HANDLED;
}
@@ -1661,9 +1662,8 @@ static int mesh_queue(struct scsi_cmnd *
* handler (do_mesh_interrupt) or by other functions in
* exceptional circumstances
*/
-static void mesh_interrupt(int irq, void *dev_id)
+static void mesh_interrupt(struct mesh_state *ms)
{
- struct mesh_state *ms = (struct mesh_state *) dev_id;
volatile struct mesh_regs __iomem *mr = ms->mesh;
int intr;
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH] mark winbond IDE PCI resources with start 0 as unassigned
2007-02-10 20:37 ` [PATCH] cleanup variable usage in mesh interrupt handler Olaf Hering
@ 2007-02-10 20:38 ` Olaf Hering
2007-02-10 20:40 ` [PATCH] correct AC Power: in /proc/pmu/info on ibook1 Olaf Hering
0 siblings, 1 reply; 34+ messages in thread
From: Olaf Hering @ 2007-02-10 20:38 UTC (permalink / raw)
To: linuxppc-dev, Paul Mackeras
libata calls pci_request_regions to claim PCI BAR 0 - 5
pci_request_regions fails if one of the regions cant be claimed.
bar 5 has start == 0, __request_resource will fail.
Tested on a p630 in SMP mode with pata_sl82c105
00:03.1 IDE interface: Symphony Labs SL82c105 (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 86
Region 0: I/O ports at 3fd3000f000 [size=8]
Region 1: I/O ports at 3fd3000f010 [size=4]
Region 2: I/O ports at 3fd3000f020 [size=8]
Region 3: I/O ports at 3fd3000f030 [size=4]
Region 4: I/O ports at 3fd3000f040 [size=16]
Region 5: I/O ports at 3fd30000000 [size=16]
00: ad 10 05 01 41 01 80 02 05 8f 01 01 08 48 80 00
10: 01 f0 00 00 11 f0 00 00 21 f0 00 00 31 f0 00 00
20: 41 f0 00 00 01 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 56 01 02 28
40: b3 08 ff 00 09 09 00 00 09 09 00 00 09 09 00 00
50: 09 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
name "ide"
linux,phandle 00d5cdc0 (14011840)
assigned-addresses 81001910 00000000 0000f000 00000000 00000008 81001914
00000000 0000f010 00000000 00000004 81001918 00000000
0000f020 00000000 00000008 8100191c 00000000 0000f030
00000000 00000004 81001920 00000000 0000f040 00000000
00000010 81001924 00000000 00000000 00000000 00000010
interrupts 00000003
built-in
#size-cells 00000000
#address-cells 00000001
device_type "ide"
reg 00001900 00000000 00000000 00000000 00000000
41001910 00000000 00000000 00000000 00000008
41001914 00000000 00000000 00000000 00000004
41001918 00000000 00000000 00000000 00000008
4100191c 00000000 00000000 00000000 00000004
41001920 00000000 00000000 00000000 00000010
41001924 00000000 00000000 00000000 00000010
compatible "pci10ad,105"
"pciclass,01018f"
ibm,fw-slot-number 00000000
fast-back-to-back
devsel-speed 00000001
max-latency 00000028 (40)
min-grant 00000002
class-code 0001018f (65935)
revision-id 00000005
device-id 00000105 (261)
vendor-id 000010ad (4269)
ibm,loc-code "U0.1-P1/Q6"
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
arch/powerpc/platforms/pseries/pci.c | 4 ++++
1 file changed, 4 insertions(+)
Index: linux-2.6/arch/powerpc/platforms/pseries/pci.c
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/pseries/pci.c
+++ linux-2.6/arch/powerpc/platforms/pseries/pci.c
@@ -98,6 +98,10 @@ static void fixup_winbond_82c105(struct
if (dev->resource[i].flags & IORESOURCE_IO
&& dev->bus->number == 0 && dev->devfn == 0x81)
dev->resource[i].flags &= ~IORESOURCE_IO;
+ if (dev->resource[i].start == 0 && dev->resource[i].end) {
+ dev->resource[i].flags = 0;
+ dev->resource[i].end = 0;
+ }
}
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_WINBOND, PCI_DEVICE_ID_WINBOND_82C105,
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH] correct AC Power: in /proc/pmu/info on ibook1
2007-02-10 20:38 ` [PATCH] mark winbond IDE PCI resources with start 0 as unassigned Olaf Hering
@ 2007-02-10 20:40 ` Olaf Hering
0 siblings, 0 replies; 34+ messages in thread
From: Olaf Hering @ 2007-02-10 20:40 UTC (permalink / raw)
To: linuxppc-dev, Paul Mackeras
/proc/pmu/info contains AC Power: 0 when booting without battery.
Force AC Power, it will be updated whenever the battery state changes.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
drivers/macintosh/via-pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/drivers/macintosh/via-pmu.c
===================================================================
--- linux-2.6.orig/drivers/macintosh/via-pmu.c
+++ linux-2.6/drivers/macintosh/via-pmu.c
@@ -169,7 +169,7 @@ static int option_server_mode;
int pmu_battery_count;
int pmu_cur_battery;
-unsigned int pmu_power_flags;
+unsigned int pmu_power_flags = PMU_PWR_AC_PRESENT;
struct pmu_battery_info pmu_batteries[PMU_MAX_BATTERIES];
static int query_batt_timer = BATTERY_POLLING_COUNT;
static struct adb_request batt_req;
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] add delay around sl82c105_reset_engine calls
2007-02-10 20:36 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
2007-02-10 20:37 ` [PATCH] cleanup variable usage in mesh interrupt handler Olaf Hering
@ 2007-02-15 23:09 ` Jeff Garzik
2007-02-16 9:20 ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
1 sibling, 1 reply; 34+ messages in thread
From: Jeff Garzik @ 2007-02-15 23:09 UTC (permalink / raw)
To: Olaf Hering; +Cc: Andrew Morton, linuxppc-dev, linux-ide
Olaf Hering wrote:
> The hald media changed polling does really confuse things.
> Noone knows why the delays are needed, but they give us access to the CD.
>
> An udelay(50) will give reliable access to the drive, but there is still
> one (or more) EH reset. The drive works without EH resets with udelay(100).
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> ---
> drivers/ata/pata_sl82c105.c | 3 +++
> 1 file changed, 3 insertions(+)
applied
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-15 23:09 ` [PATCH] add delay around sl82c105_reset_engine calls Jeff Garzik
@ 2007-02-16 9:20 ` Olaf Hering
2007-02-16 13:52 ` Sergei Shtylyov
` (2 more replies)
0 siblings, 3 replies; 34+ messages in thread
From: Olaf Hering @ 2007-02-16 9:20 UTC (permalink / raw)
To: Jeff Garzik, Paul Mackeras; +Cc: Andrew Morton, linuxppc-dev, linux-ide
Change the default for the built-in IDE on p610/p615/p630 from
ide to libata. libata has better error handling and the drive can
recover when hald does its CD media polling.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
arch/powerpc/configs/ppc64_defconfig | 4 ++--
arch/powerpc/configs/pseries_defconfig | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Index: linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
===================================================================
--- linux-2.6.20.orig/arch/powerpc/configs/ppc64_defconfig
+++ linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
@@ -500,7 +500,7 @@ CONFIG_BLK_DEV_AMD74XX=y
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
-CONFIG_BLK_DEV_SL82C105=y
+# CONFIG_BLK_DEV_SL82C105 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
@@ -646,7 +646,7 @@ CONFIG_SATA_SVW=y
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_VIA is not set
-# CONFIG_PATA_WINBOND is not set
+CONFIG_PATA_WINBOND=y
#
# Multi-device support (RAID and LVM)
Index: linux-2.6.20/arch/powerpc/configs/pseries_defconfig
===================================================================
--- linux-2.6.20.orig/arch/powerpc/configs/pseries_defconfig
+++ linux-2.6.20/arch/powerpc/configs/pseries_defconfig
@@ -483,7 +483,7 @@ CONFIG_BLK_DEV_AMD74XX=y
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
-CONFIG_BLK_DEV_SL82C105=y
+# CONFIG_BLK_DEV_SL82C105 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
@@ -628,7 +628,7 @@ CONFIG_ATA=y
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_VIA is not set
-# CONFIG_PATA_WINBOND is not set
+CONFIG_PATA_WINBOND=y
#
# Multi-device support (RAID and LVM)
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 9:20 ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
@ 2007-02-16 13:52 ` Sergei Shtylyov
2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
2007-02-17 20:36 ` Jeff Garzik
2 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 13:52 UTC (permalink / raw)
To: Olaf Hering
Cc: Jeff Garzik, Paul Mackeras, Andrew Morton, linuxppc-dev, linux-ide
Hello.
Olaf Hering wrote:
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> ---
> arch/powerpc/configs/ppc64_defconfig | 4 ++--
> arch/powerpc/configs/pseries_defconfig | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> Index: linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
> ===================================================================
> --- linux-2.6.20.orig/arch/powerpc/configs/ppc64_defconfig
> +++ linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
> @@ -500,7 +500,7 @@ CONFIG_BLK_DEV_AMD74XX=y
> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
> # CONFIG_BLK_DEV_SVWKS is not set
> # CONFIG_BLK_DEV_SIIMAGE is not set
> -CONFIG_BLK_DEV_SL82C105=y
> +# CONFIG_BLK_DEV_SL82C105 is not set
> # CONFIG_BLK_DEV_SLC90E66 is not set
> # CONFIG_BLK_DEV_TRM290 is not set
> # CONFIG_BLK_DEV_VIA82CXXX is not set
> @@ -646,7 +646,7 @@ CONFIG_SATA_SVW=y
> # CONFIG_PATA_SIL680 is not set
> # CONFIG_PATA_SIS is not set
> # CONFIG_PATA_VIA is not set
> -# CONFIG_PATA_WINBOND is not set
> +CONFIG_PATA_WINBOND=y
>
> #
> # Multi-device support (RAID and LVM)
> Index: linux-2.6.20/arch/powerpc/configs/pseries_defconfig
> ===================================================================
> --- linux-2.6.20.orig/arch/powerpc/configs/pseries_defconfig
> +++ linux-2.6.20/arch/powerpc/configs/pseries_defconfig
> @@ -483,7 +483,7 @@ CONFIG_BLK_DEV_AMD74XX=y
> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
> # CONFIG_BLK_DEV_SVWKS is not set
> # CONFIG_BLK_DEV_SIIMAGE is not set
> -CONFIG_BLK_DEV_SL82C105=y
> +# CONFIG_BLK_DEV_SL82C105 is not set
> # CONFIG_BLK_DEV_SLC90E66 is not set
> # CONFIG_BLK_DEV_TRM290 is not set
> # CONFIG_BLK_DEV_VIA82CXXX is not set
> @@ -628,7 +628,7 @@ CONFIG_ATA=y
> # CONFIG_PATA_SIL680 is not set
> # CONFIG_PATA_SIS is not set
> # CONFIG_PATA_VIA is not set
> -# CONFIG_PATA_WINBOND is not set
> +CONFIG_PATA_WINBOND=y
I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
is for VLB only, sl81c105 was for PCI only -- you certainly want to use
pata_sl82c105 (indeed better version of sl82c105 driver).
WBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 13:52 ` Sergei Shtylyov
0 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 13:52 UTC (permalink / raw)
To: Olaf Hering
Cc: Andrew Morton, linuxppc-dev, Paul Mackeras, Jeff Garzik, linux-ide
Hello.
Olaf Hering wrote:
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> ---
> arch/powerpc/configs/ppc64_defconfig | 4 ++--
> arch/powerpc/configs/pseries_defconfig | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> Index: linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
> ===================================================================
> --- linux-2.6.20.orig/arch/powerpc/configs/ppc64_defconfig
> +++ linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
> @@ -500,7 +500,7 @@ CONFIG_BLK_DEV_AMD74XX=y
> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
> # CONFIG_BLK_DEV_SVWKS is not set
> # CONFIG_BLK_DEV_SIIMAGE is not set
> -CONFIG_BLK_DEV_SL82C105=y
> +# CONFIG_BLK_DEV_SL82C105 is not set
> # CONFIG_BLK_DEV_SLC90E66 is not set
> # CONFIG_BLK_DEV_TRM290 is not set
> # CONFIG_BLK_DEV_VIA82CXXX is not set
> @@ -646,7 +646,7 @@ CONFIG_SATA_SVW=y
> # CONFIG_PATA_SIL680 is not set
> # CONFIG_PATA_SIS is not set
> # CONFIG_PATA_VIA is not set
> -# CONFIG_PATA_WINBOND is not set
> +CONFIG_PATA_WINBOND=y
>
> #
> # Multi-device support (RAID and LVM)
> Index: linux-2.6.20/arch/powerpc/configs/pseries_defconfig
> ===================================================================
> --- linux-2.6.20.orig/arch/powerpc/configs/pseries_defconfig
> +++ linux-2.6.20/arch/powerpc/configs/pseries_defconfig
> @@ -483,7 +483,7 @@ CONFIG_BLK_DEV_AMD74XX=y
> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
> # CONFIG_BLK_DEV_SVWKS is not set
> # CONFIG_BLK_DEV_SIIMAGE is not set
> -CONFIG_BLK_DEV_SL82C105=y
> +# CONFIG_BLK_DEV_SL82C105 is not set
> # CONFIG_BLK_DEV_SLC90E66 is not set
> # CONFIG_BLK_DEV_TRM290 is not set
> # CONFIG_BLK_DEV_VIA82CXXX is not set
> @@ -628,7 +628,7 @@ CONFIG_ATA=y
> # CONFIG_PATA_SIL680 is not set
> # CONFIG_PATA_SIS is not set
> # CONFIG_PATA_VIA is not set
> -# CONFIG_PATA_WINBOND is not set
> +CONFIG_PATA_WINBOND=y
I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
is for VLB only, sl81c105 was for PCI only -- you certainly want to use
pata_sl82c105 (indeed better version of sl82c105 driver).
WBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 13:52 ` Sergei Shtylyov
(?)
@ 2007-02-16 14:51 ` Sergei Shtylyov
-1 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 14:51 UTC (permalink / raw)
To: Olaf Hering
Cc: Andrew Morton, linuxppc-dev, Paul Mackeras, Jeff Garzik, linux-ide
Hello, I wrote:
>>Change the default for the built-in IDE on p610/p615/p630 from
>>ide to libata. libata has better error handling and the drive can
>>recover when hald does its CD media polling.
>>Signed-off-by: Olaf Hering <olaf@aepfle.de>
>>Index: linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
>>===================================================================
>>--- linux-2.6.20.orig/arch/powerpc/configs/ppc64_defconfig
>>+++ linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
>>@@ -500,7 +500,7 @@ CONFIG_BLK_DEV_AMD74XX=y
>> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
>> # CONFIG_BLK_DEV_SVWKS is not set
>> # CONFIG_BLK_DEV_SIIMAGE is not set
>>-CONFIG_BLK_DEV_SL82C105=y
>>+# CONFIG_BLK_DEV_SL82C105 is not set
>> # CONFIG_BLK_DEV_SLC90E66 is not set
>> # CONFIG_BLK_DEV_TRM290 is not set
>> # CONFIG_BLK_DEV_VIA82CXXX is not set
>>@@ -646,7 +646,7 @@ CONFIG_SATA_SVW=y
>> # CONFIG_PATA_SIL680 is not set
>> # CONFIG_PATA_SIS is not set
>> # CONFIG_PATA_VIA is not set
>>-# CONFIG_PATA_WINBOND is not set
>>+CONFIG_PATA_WINBOND=y
>>
>> #
>> # Multi-device support (RAID and LVM)
>>Index: linux-2.6.20/arch/powerpc/configs/pseries_defconfig
>>===================================================================
>>--- linux-2.6.20.orig/arch/powerpc/configs/pseries_defconfig
>>+++ linux-2.6.20/arch/powerpc/configs/pseries_defconfig
>>@@ -483,7 +483,7 @@ CONFIG_BLK_DEV_AMD74XX=y
>> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
>> # CONFIG_BLK_DEV_SVWKS is not set
>> # CONFIG_BLK_DEV_SIIMAGE is not set
>>-CONFIG_BLK_DEV_SL82C105=y
>>+# CONFIG_BLK_DEV_SL82C105 is not set
>> # CONFIG_BLK_DEV_SLC90E66 is not set
>> # CONFIG_BLK_DEV_TRM290 is not set
>> # CONFIG_BLK_DEV_VIA82CXXX is not set
>>@@ -628,7 +628,7 @@ CONFIG_ATA=y
>> # CONFIG_PATA_SIL680 is not set
>> # CONFIG_PATA_SIS is not set
>> # CONFIG_PATA_VIA is not set
>>-# CONFIG_PATA_WINBOND is not set
>>+CONFIG_PATA_WINBOND=y
> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
Sorry indeed -- I didn't realize PATA_WINBOND correscponds to
pata_sl82c105 (somewhat confusing, isn't it?).
WBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 13:52 ` Sergei Shtylyov
@ 2007-02-16 14:53 ` Bartlomiej Zolnierkiewicz
-1 siblings, 0 replies; 34+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:53 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Olaf Hering, Jeff Garzik, Paul Mackeras, Andrew Morton,
linuxppc-dev, linux-ide
On Friday 16 February 2007 14:52, Sergei Shtylyov wrote:
> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
> is for VLB only, sl81c105 was for PCI only -- you certainly want to use
> pata_sl82c105 (indeed better version of sl82c105 driver).
I was under the impression that with your fixes these drivers
(sl82c105 and pata_sl82c105) are functionally equivalent.
Did I miss something (i.e. some patches)?
Bart
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 14:53 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 34+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:53 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Andrew Morton, Olaf Hering, Jeff Garzik, linux-ide, linuxppc-dev,
Paul Mackeras
On Friday 16 February 2007 14:52, Sergei Shtylyov wrote:
> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
> is for VLB only, sl81c105 was for PCI only -- you certainly want to use
> pata_sl82c105 (indeed better version of sl82c105 driver).
I was under the impression that with your fixes these drivers
(sl82c105 and pata_sl82c105) are functionally equivalent.
Did I miss something (i.e. some patches)?
Bart
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 14:53 ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 14:55 ` Sergei Shtylyov
-1 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 14:55 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Olaf Hering, Jeff Garzik, Paul Mackeras, Andrew Morton,
linuxppc-dev, linux-ide
Hello.
Bartlomiej Zolnierkiewicz wrote:
>> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
>>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
>>pata_sl82c105 (indeed better version of sl82c105 driver).
> I was under the impression that with your fixes these drivers
> (sl82c105 and pata_sl82c105) are functionally equivalent.
They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
sl82c105 still supports only MWDMA2.
WBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 14:55 ` Sergei Shtylyov
0 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 14:55 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Andrew Morton, Olaf Hering, Jeff Garzik, linux-ide, linuxppc-dev,
Paul Mackeras
Hello.
Bartlomiej Zolnierkiewicz wrote:
>> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
>>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
>>pata_sl82c105 (indeed better version of sl82c105 driver).
> I was under the impression that with your fixes these drivers
> (sl82c105 and pata_sl82c105) are functionally equivalent.
They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
sl82c105 still supports only MWDMA2.
WBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 14:55 ` Sergei Shtylyov
@ 2007-02-16 15:09 ` Bartlomiej Zolnierkiewicz
-1 siblings, 0 replies; 34+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 15:09 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Olaf Hering, Jeff Garzik, Paul Mackeras, Andrew Morton,
linuxppc-dev, linux-ide
On Friday 16 February 2007 15:55, Sergei Shtylyov wrote:
> Hello.
>
> Bartlomiej Zolnierkiewicz wrote:
>
> >> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
> >>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
> >>pata_sl82c105 (indeed better version of sl82c105 driver).
>
> > I was under the impression that with your fixes these drivers
> > (sl82c105 and pata_sl82c105) are functionally equivalent.
>
> They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
> sl82c105 still supports only MWDMA2.
Indeed and it seems that IDE core needs ->dma_mode to fix this.
Thanks,
Bart
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 15:09 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 34+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 15:09 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Andrew Morton, Olaf Hering, Jeff Garzik, linux-ide, linuxppc-dev,
Paul Mackeras
On Friday 16 February 2007 15:55, Sergei Shtylyov wrote:
> Hello.
>
> Bartlomiej Zolnierkiewicz wrote:
>
> >> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
> >>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
> >>pata_sl82c105 (indeed better version of sl82c105 driver).
>
> > I was under the impression that with your fixes these drivers
> > (sl82c105 and pata_sl82c105) are functionally equivalent.
>
> They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
> sl82c105 still supports only MWDMA2.
Indeed and it seems that IDE core needs ->dma_mode to fix this.
Thanks,
Bart
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 15:09 ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 15:06 ` Sergei Shtylyov
-1 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 15:06 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Olaf Hering, Jeff Garzik, Paul Mackeras, Andrew Morton,
linuxppc-dev, linux-ide
Hello.
Bartlomiej Zolnierkiewicz wrote:
>>>> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
>>>>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
>>>>pata_sl82c105 (indeed better version of sl82c105 driver).
>>>I was under the impression that with your fixes these drivers
>>>(sl82c105 and pata_sl82c105) are functionally equivalent.
>> They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
>>sl82c105 still supports only MWDMA2.
> Indeed and it seems that IDE core needs ->dma_mode to fix this.
Not really. It just needs the proper DMA timings to be set by adding the
missing speedproc() method (and also DMA timings possibly merged with PIO like
libata does generally -- except in this driver).
> Thanks,
> Bart
MBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 15:06 ` Sergei Shtylyov
0 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 15:06 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Andrew Morton, Olaf Hering, Jeff Garzik, linux-ide, linuxppc-dev,
Paul Mackeras
Hello.
Bartlomiej Zolnierkiewicz wrote:
>>>> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
>>>>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
>>>>pata_sl82c105 (indeed better version of sl82c105 driver).
>>>I was under the impression that with your fixes these drivers
>>>(sl82c105 and pata_sl82c105) are functionally equivalent.
>> They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
>>sl82c105 still supports only MWDMA2.
> Indeed and it seems that IDE core needs ->dma_mode to fix this.
Not really. It just needs the proper DMA timings to be set by adding the
missing speedproc() method (and also DMA timings possibly merged with PIO like
libata does generally -- except in this driver).
> Thanks,
> Bart
MBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 15:06 ` Sergei Shtylyov
@ 2007-02-16 15:11 ` Sergei Shtylyov
-1 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 15:11 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Andrew Morton, Olaf Hering, Jeff Garzik, linux-ide, linuxppc-dev,
Paul Mackeras
Hello, I wrote:
>>>>> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
>>>>>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
>>>>>pata_sl82c105 (indeed better version of sl82c105 driver).
>>>>I was under the impression that with your fixes these drivers
>>>>(sl82c105 and pata_sl82c105) are functionally equivalent.
>>> They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
>>>sl82c105 still supports only MWDMA2.
>>Indeed and it seems that IDE core needs ->dma_mode to fix this.
> Not really. It just needs the proper DMA timings to be set by adding the
> missing speedproc() method (and also DMA timings possibly merged with PIO like
> libata does generally -- except in this driver).
By "this driver" I meant pata_sl82c105 of course. :-)
>>Thanks,
>>Bart
MBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 15:11 ` Sergei Shtylyov
0 siblings, 0 replies; 34+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 15:11 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Andrew Morton, Olaf Hering, Jeff Garzik, linuxppc-dev, linux-ide,
Paul Mackeras
Hello, I wrote:
>>>>> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
>>>>>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
>>>>>pata_sl82c105 (indeed better version of sl82c105 driver).
>>>>I was under the impression that with your fixes these drivers
>>>>(sl82c105 and pata_sl82c105) are functionally equivalent.
>>> They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
>>>sl82c105 still supports only MWDMA2.
>>Indeed and it seems that IDE core needs ->dma_mode to fix this.
> Not really. It just needs the proper DMA timings to be set by adding the
> missing speedproc() method (and also DMA timings possibly merged with PIO like
> libata does generally -- except in this driver).
By "this driver" I meant pata_sl82c105 of course. :-)
>>Thanks,
>>Bart
MBR, Sergei
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 14:55 ` Sergei Shtylyov
(?)
(?)
@ 2007-02-16 21:41 ` Benjamin Herrenschmidt
-1 siblings, 0 replies; 34+ messages in thread
From: Benjamin Herrenschmidt @ 2007-02-16 21:41 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Andrew Morton, Olaf Hering, Bartlomiej Zolnierkiewicz,
Jeff Garzik, linuxppc-dev, linux-ide, Paul Mackeras
On Fri, 2007-02-16 at 17:55 +0300, Sergei Shtylyov wrote:
> Hello.
>
> Bartlomiej Zolnierkiewicz wrote:
>
> >> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver
> >>is for VLB only, sl81c105 was for PCI only -- you certainly want to use
> >>pata_sl82c105 (indeed better version of sl82c105 driver).
>
> > I was under the impression that with your fixes these drivers
> > (sl82c105 and pata_sl82c105) are functionally equivalent.
>
> They're not yet equivalent. pata_sl82c105 supports all MWDMA modes,
> sl82c105 still supports only MWDMA2.
BTW, the "old ide" sl82c105 currently upstream produces warnings on 64
bits platforms about conversion between int and pointers of different
sizes. I didn't have time to look closely yesterday though, could be
harmless.
Ben.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 9:20 ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
@ 2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
2007-02-17 20:36 ` Jeff Garzik
2 siblings, 0 replies; 34+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:46 UTC (permalink / raw)
To: Olaf Hering
Cc: Jeff Garzik, Paul Mackeras, Andrew Morton, linuxppc-dev, linux-ide
Hi,
On Friday 16 February 2007 10:20, Olaf Hering wrote:
>
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
Does IDE sl82c105 need the same udelay() fix patch as done for
pata_winbond?
Bart
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 34+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:46 UTC (permalink / raw)
To: Olaf Hering
Cc: Andrew Morton, linuxppc-dev, Paul Mackeras, Jeff Garzik, linux-ide
Hi,
On Friday 16 February 2007 10:20, Olaf Hering wrote:
>
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
Does IDE sl82c105 need the same udelay() fix patch as done for
pata_winbond?
Bart
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 14:51 ` Bartlomiej Zolnierkiewicz
-1 siblings, 0 replies; 34+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:51 UTC (permalink / raw)
To: Olaf Hering
Cc: Jeff Garzik, Paul Mackeras, Andrew Morton, linuxppc-dev, linux-ide
On Friday 16 February 2007 15:46, Bartlomiej Zolnierkiewicz wrote:
>
> Hi,
>
> On Friday 16 February 2007 10:20, Olaf Hering wrote:
> >
> > Change the default for the built-in IDE on p610/p615/p630 from
> > ide to libata. libata has better error handling and the drive can
> > recover when hald does its CD media polling.
> >
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> Does IDE sl82c105 need the same udelay() fix patch as done for
> pata_winbond?
s/pata_winbond/pata_sl82c105/ of course
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 14:51 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 34+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:51 UTC (permalink / raw)
To: Olaf Hering
Cc: Andrew Morton, linuxppc-dev, Paul Mackeras, Jeff Garzik, linux-ide
On Friday 16 February 2007 15:46, Bartlomiej Zolnierkiewicz wrote:
>
> Hi,
>
> On Friday 16 February 2007 10:20, Olaf Hering wrote:
> >
> > Change the default for the built-in IDE on p610/p615/p630 from
> > ide to libata. libata has better error handling and the drive can
> > recover when hald does its CD media polling.
> >
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> Does IDE sl82c105 need the same udelay() fix patch as done for
> pata_winbond?
s/pata_winbond/pata_sl82c105/ of course
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 17:37 ` Olaf Hering
-1 siblings, 0 replies; 34+ messages in thread
From: Olaf Hering @ 2007-02-16 17:37 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Jeff Garzik, Paul Mackeras, Andrew Morton, linuxppc-dev, linux-ide
On Fri, Feb 16, Bartlomiej Zolnierkiewicz wrote:
>
> Hi,
>
> On Friday 16 February 2007 10:20, Olaf Hering wrote:
> >
> > Change the default for the built-in IDE on p610/p615/p630 from
> > ide to libata. libata has better error handling and the drive can
> > recover when hald does its CD media polling.
> >
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> Does IDE sl82c105 need the same udelay() fix patch as done for
> pata_winbond?
I dont know, but I suspect a delay is required somewhere.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-16 17:37 ` Olaf Hering
0 siblings, 0 replies; 34+ messages in thread
From: Olaf Hering @ 2007-02-16 17:37 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Andrew Morton, linuxppc-dev, Paul Mackeras, Jeff Garzik, linux-ide
On Fri, Feb 16, Bartlomiej Zolnierkiewicz wrote:
>
> Hi,
>
> On Friday 16 February 2007 10:20, Olaf Hering wrote:
> >
> > Change the default for the built-in IDE on p610/p615/p630 from
> > ide to libata. libata has better error handling and the drive can
> > recover when hald does its CD media polling.
> >
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> Does IDE sl82c105 need the same udelay() fix patch as done for
> pata_winbond?
I dont know, but I suspect a delay is required somewhere.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
2007-02-16 9:20 ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
@ 2007-02-17 20:36 ` Jeff Garzik
2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
2007-02-17 20:36 ` Jeff Garzik
2 siblings, 0 replies; 34+ messages in thread
From: Jeff Garzik @ 2007-02-17 20:36 UTC (permalink / raw)
To: Olaf Hering; +Cc: Paul Mackeras, Andrew Morton, linuxppc-dev, linux-ide
Olaf Hering wrote:
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> ---
> arch/powerpc/configs/ppc64_defconfig | 4 ++--
> arch/powerpc/configs/pseries_defconfig | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
ACK the patch. I presume Paul will apply it, as its within his file
hierarchy
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
@ 2007-02-17 20:36 ` Jeff Garzik
0 siblings, 0 replies; 34+ messages in thread
From: Jeff Garzik @ 2007-02-17 20:36 UTC (permalink / raw)
To: Olaf Hering; +Cc: Andrew Morton, linuxppc-dev, Paul Mackeras, linux-ide
Olaf Hering wrote:
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> ---
> arch/powerpc/configs/ppc64_defconfig | 4 ++--
> arch/powerpc/configs/pseries_defconfig | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
ACK the patch. I presume Paul will apply it, as its within his file
hierarchy
^ permalink raw reply [flat|nested] 34+ messages in thread
* pata_sl82c105 can not reserve IO region
@ 2006-11-30 16:52 Olaf Hering
2006-12-04 12:40 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
0 siblings, 1 reply; 34+ messages in thread
From: Olaf Hering @ 2006-11-30 16:52 UTC (permalink / raw)
To: linux-ide, linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
pata_sl82c105 can be used on the ppc64 POWER4 system p610, p615 and p630
for the onboard IDE CD drive. It could be also used for ppc32 Motorola
PowerStack PReP systems.
Unfortunately, it doesnt work for me on the p630:
PCI: Enabling device: (0000:00:03.1), cmd 141
PCI: Unable to reserve I/O region #6:10@0 for device 0000:00:03.1
pata_sl82c105: probe of 0000:00:03.1 failed with error -16
Any idea how to fix it properly?
dmesg and other info attached.
[-- Attachment #2: winbond-ide.txt --]
[-- Type: text/plain, Size: 31537 bytes --]
Using pSeries machine description
Page orders: linear mapping = 24, virtual = 12, io = 12
Found legacy serial port 0 for /pci@400000000110/isa@3/serial@i3f8
port=3f8, taddr=3fd300003f8, irq=0, clk=1843200, speed=0
Found legacy serial port 1 for /pci@400000000110/isa@3/serial@i2f8
port=2f8, taddr=3fd300002f8, irq=0, clk=1843200, speed=0
Found legacy serial port 2 for /pci@400000000110/isa@3/serial@i898
port=898, taddr=3fd30000898, irq=0, clk=1843200, speed=0
Starting Linux PPC64 #7 SMP Thu Nov 30 15:59:33 CET 2006
-----------------------------------------------------
ppc64_pft_size = 0x0
physicalMemorySize = 0x200000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address = 0xc0000001f0000000
htab_hash_mask = 0xfffff
-----------------------------------------------------
Linux version 2.6.19-ppc64-bug159235 (olaf@pomegranate) (gcc version 4.1.0 (SUSE Linux)) #7 SMP Thu Nov 30 15:59:33 CET 2006
[boot]0012 Setup Arch
Entering add_active_range(0, 0, 2097152) 0 entries of 256 used
No ramdisk, default root is /dev/sda2
EEH: PCI Enhanced I/O Error Handling Enabled
PPC64 nvram contains 81920 bytes
Using default idle loop
Top of RAM: 0x200000000, Total RAM: 0x200000000
Memory hole size: 0MB
Zone PFN ranges:
DMA 0 -> 2097152
Normal 2097152 -> 2097152
early_node_map[1] active PFN ranges
0: 0 -> 2097152
On node 0 totalpages: 2097152
DMA zone: 28672 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 2068480 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
[boot]0015 Setup Done
Built 1 zonelists. Total pages: 2068480
Kernel command line: debug video=matroxfb:1280x1024@85 sysrq=1 panic=32 root=/dev/sdb2
[boot]0020 XICS Init
xics: PCI 8259 intack at 0x000003fffdf091f0
i8259 legacy interrupt controller initialized
[boot]0021 XICS Done
PID hash table entries: 4096 (order: 12, 32768 bytes)
time_init: decrementer frequency = 181.701290 MHz
time_init: processor frequency = 1453.000000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Memory: 8102896k/8388608k available (3508k kernel code, 284972k reserved, 1072k data, 2273k bss, 180k init)
Calibrating delay loop... 362.90 BogoMIPS (lpj=1814528)
Mount-cache hash table entries: 256
Processor 1 found.
Processor 2 found.
Processor 3 found.
Brought up 4 CPUs
migration_cost=0
NET: Registered protocol family 16
PCI: Probing PCI hardware
Failed to request PCI IO region on PCI domain 0000
Using INTC for W82c105 IDE controller.
IOMMU table initialized, virtual merging enabled
ISA bridge at 0000:00:03.0
mapping IO 3fd30000000 -> d000080000000000, size: 100000
mapping IO 3fd50000000 -> d000080000100000, size: 100000
PCI: Probing PCI hardware done
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 262144 (order: 9, 2097152 bytes)
TCP established hash table entries: 1048576 (order: 12, 16777216 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 1048576 bind 65536)
TCP reno registered
RTAS daemon started
RTAS: event: 188, Type: Internal Device Failure, Severity: 2
io scheduler noop registered (default)
matroxfb: Matrox G450 detected
PInS data found at offset 31168
PInS memtype = 4
matroxfb: 1280x1024x8bpp (virtual: 1280x13107)
matroxfb: framebuffer at 0x3FDEC000000, mapped to 0xd000080080009000, size 16777216
Console: switching to colour frame buffer device 160x64
fb0: MATROX frame buffer device
matroxfb_crtc2: secondary head of fb0 was registered as fb1
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250.0: ttyS2 at I/O 0x898 (irq = 10) is a 16550A
loop: loaded (max 8 devices)
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
PCI: Enabling device: (0000:21:01.0), cmd 143
e100: eth0: e100_probe: addr 0x3fd88030000, irq 85, MAC addr 00:02:55:4F:05:C7
PCI: Enabling device: (0001:21:01.0), cmd 143
e100: eth1: e100_probe: addr 0x3fde8030000, irq 117, MAC addr 00:02:55:4F:05:D7
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
W82C105: IDE controller at PCI slot 0000:00:03.1
PCI: Enabling device: (0000:00:03.1), cmd 141
W82C105: chipset revision 5
W82C105: 100% native mode on irq 86
ide0: BM-DMA at 0xf040-0xf047, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf048-0xf04f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: LG CD-ROM CRD-8484B, ATAPI CD/DVD-ROM drive
hda: selected PIO 4 (120ns) (0240)
ide0 at 0xf000-0xf007,0xf012 on irq 86
Probing IDE interface ide1...
hda: ATAPI 48X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
PCI: Enabling device: (0000:41:01.0), cmd 143
sym0: <1010-66> rev 0x1 at pci 0000:41:01.0 irq 87
sym0: No NVRAM, ID 7, Fast-80, LVD, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.2.3
scsi 0:0:8:0: Direct-Access IBM IC35L036UCD210-0 S5BS PQ: 0 ANSI: 3
target0:0:8: tagged command queuing enabled, command queue depth 16.
target0:0:8: Beginning Domain Validation
target0:0:8: asynchronous
target0:0:8: wide asynchronous
target0:0:8: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
target0:0:8: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
target0:0:8: Ending Domain Validation
scsi 0:0:9:0: Direct-Access IBM IC35L036UCD210-0 S5BS PQ: 0 ANSI: 3
target0:0:9: tagged command queuing enabled, command queue depth 16.
target0:0:9: Beginning Domain Validation
target0:0:9: asynchronous
target0:0:9: wide asynchronous
target0:0:9: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
target0:0:9: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
target0:0:9: Ending Domain Validation
scsi 0:0:15:0: Enclosure IBM HSBPD4E PU3SCSI 0011 PQ: 0 ANSI: 2
target0:0:15: Beginning Domain Validation
scsi 0:0:15:0: phase change 6-7 6@40000fa0 resid=4.
target0:0:15: asynchronous
target0:0:15: Ending Domain Validation
PCI: Enabling device: (0000:41:01.1), cmd 143
sym1: <1010-66> rev 0x1 at pci 0000:41:01.1 irq 88
sym1: No NVRAM, ID 7, Fast-80, SE, parity checking
sym1: SCSI BUS has been reset.
scsi1 : sym-2.2.3
target1:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 31)
scsi 1:0:0:0: Sequential-Access HP IBM-C568303030!D C209 PQ: 0 ANSI: 2
target1:0:0: Beginning Domain Validation
target1:0:0: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 31)
target1:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 31)
target1:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 31)
target1:0:0: Domain Validation skipping write tests
target1:0:0: Ending Domain Validation
SCSI device sda: 71096640 512-byte hdwr sectors (36401 MB)
sda: Write Protect is off
sda: Mode Sense: cb 00 00 08
SCSI device sda: drive cache: write through
SCSI device sda: 71096640 512-byte hdwr sectors (36401 MB)
sda: Write Protect is off
sda: Mode Sense: cb 00 00 08
SCSI device sda: drive cache: write through
sda: sda1 sda2 sda3
sd 0:0:8:0: Attached scsi disk sda
SCSI device sdb: 71096640 512-byte hdwr sectors (36401 MB)
sdb: Write Protect is off
sdb: Mode Sense: cb 00 00 08
SCSI device sdb: drive cache: write through
SCSI device sdb: 71096640 512-byte hdwr sectors (36401 MB)
sdb: Write Protect is off
sdb: Mode Sense: cb 00 00 08
SCSI device sdb: drive cache: write through
sdb: sdb1 sdb2
sd 0:0:9:0: Attached scsi disk sdb
sd 0:0:8:0: Attached scsi generic sg0 type 0
sd 0:0:9:0: Attached scsi generic sg1 type 0
scsi 0:0:15:0: Attached scsi generic sg2 type 13
scsi 1:0:0:0: Attached scsi generic sg3 type 1
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
input: AT Raw Set 2 keyboard as /class/input/input0
logips2pp: Detected unknown logitech mouse model 1
input: PS/2 Logitech Mouse as /class/input/input1
ReiserFS: sdb2: found reiserfs format "3.6" with standard journal
ReiserFS: sdb2: using ordered data mode
ReiserFS: sdb2: journal params: device sdb2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sdb2: checking transaction log (sdb2)
ReiserFS: sdb2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 180k freed
ioctl32(showconsole:353): Unknown cmd fd(0) cmd(40045432){00} arg(ffda1b38) on /dev/console
ioctl32(showconsole:388): Unknown cmd fd(0) cmd(40045432){00} arg(fff67ac8) on /dev/console
ReiserFS: sdb2: warning: acl not supported.
ReiserFS: sdb2: warning: user_xattr not supported.
ReiserFS: sdb2: warning: acl not supported.
ReiserFS: sdb2: warning: user_xattr not supported.
ioctl32(showconsole:958): Unknown cmd fd(0) cmd(40045432){00} arg(ff8fdac8) on /dev/console
ioctl32(showconsole:1130): Unknown cmd fd(0) cmd(40045432){00} arg(ff997ad8) on /dev/console
Adding 1048568k swap on /dev/sda2. Priority:-1 extents:1 across:1048568k
ioctl32(showconsole:1217): Unknown cmd fd(0) cmd(40045432){00} arg(ffe01b18) on /dev/console
e100: eth2: e100_watchdog: link up, 100Mbps, full-duplex
ioctl32(showconsole:2448): Unknown cmd fd(0) cmd(40045432){00} arg(ff821a78) on /dev/tty0
ISO 9660 Extensions: RRIP_1991A
==> /proc/ide <==
==> /proc/interrupts <==
CPU0 CPU1 CPU2 CPU3
1: 3 2 4 3 i8259 Level i8042
12: 28 28 27 26 i8259 Level i8042
16: 442 666 574 337 XICS Level IPI
86: 269 255 236 255 XICS Level ide0
87: 2243 2234 2260 2218 XICS Level sym53c8xx
88: 13 14 13 13 XICS Level sym53c8xx
117: 1714 1736 1727 1752 XICS Level eth2
BAD: 0
==> /proc/iomem <==
3fcc0000000-3fcc00fffff : PCI Bus #61
3fcc0000000-3fcc00fffff : PCI Bus #41
3fcc0000000-3fcc00fffff : PCI Bus #21
3fcc0000000-3fcc00fffff : PCI Bus #01
3fcc0000000-3fcc0007fff : 0000:00:02.6
3fcc0000000-3fcc0007fff : 0000:00:02.4
3fcc0000000-3fcc0007fff : 0000:00:02.2
3fd00000000-3fd000fffff : PCI Bus #61
3fd00000000-3fd000fffff : PCI Bus #21
3fd00000000-3fd000fffff : PCI Bus #01
3fd00000000-3fd00007fff : 0001:00:02.6
3fd00000000-3fd00007fff : 0001:00:02.2
3fd80000000-3fdbfffffff : /pci@400000000110
3fd80000000-3fd87ffffff : PCI Bus #01
3fd88000000-3fd8bffffff : PCI Bus #21
3fd88000000-3fd8801ffff : 0000:21:01.0
3fd88000000-3fd8801ffff : e100
3fd88020000-3fd8802ffff : 0000:21:01.0
3fd88030000-3fd88030fff : 0000:21:01.0
3fd88030000-3fd88030fff : e100
3fd8c000000-3fd8fffffff : PCI Bus #41
3fd8c000000-3fd8c001fff : 0000:41:01.1
3fd8c000000-3fd8c001fff : sym53c8xx
3fd8c002000-3fd8c003fff : 0000:41:01.0
3fd8c002000-3fd8c003fff : sym53c8xx
3fd8c004000-3fd8c0043ff : 0000:41:01.1
3fd8c004000-3fd8c0043ff : sym53c8xx
3fd8c005000-3fd8c0053ff : 0000:41:01.0
3fd8c005000-3fd8c0053ff : sym53c8xx
3fd90000000-3fd97ffffff : PCI Bus #61
3fd90000000-3fd90003fff : 0000:61:01.0
3fd9fff0000-3fd9fff7fff : 0000:00:02.0
3fdb4000000-3fdb7ffffff : 0000:00:01.0
3fdb8000000-3fdbbffffff : 0000:00:01.0
3fdbd700000-3fdbd700fff : 0000:00:01.0
3fdbd800000-3fdbd87ffff : 0000:00:01.0
3fde0000000-3fdffffffff : /pci@400000000112
3fde0000000-3fde7ffffff : PCI Bus #01
3fde0000000-3fde0000fff : 0001:01:01.3
3fde0001000-3fde0001fff : 0001:01:01.2
3fde0002000-3fde0002fff : 0001:01:01.1
3fde0003000-3fde0003fff : 0001:01:01.0
3fde8000000-3fdebffffff : PCI Bus #21
3fde8000000-3fde801ffff : 0001:21:01.0
3fde8000000-3fde801ffff : e100
3fde8020000-3fde802ffff : 0001:21:01.0
3fde8030000-3fde8030fff : 0001:21:01.0
3fde8030000-3fde8030fff : e100
3fdec000000-3fdf3ffffff : PCI Bus #61
3fdec000000-3fdef0fffff : PCI Bus #62
3fdec000000-3fdedffffff : 0001:62:00.0
3fdec000000-3fdedffffff : matroxfb FB
3fdee000000-3fdee7fffff : 0001:62:00.0
3fdee800000-3fdee803fff : 0001:62:00.0
3fdee800000-3fdee803fff : matroxfb MMIO
3fdef000000-3fdef01ffff : 0001:62:00.0
3fdffff0000-3fdffff7fff : 0001:00:02.0
==> /proc/ioports <==
00000000-0000001f : dma1
00000020-00000021 : 8259 (master)
00000040-0000005f : timer
00000060-0000006f : i8042
00000080-0000008f : dma page reg
000000a0-000000a1 : 8259 (slave)
000000c0-000000df : dma2
000002f8-000002ff : serial
000003c0-000003df : matrox
000003f8-000003ff : serial
000004d0-000004d1 : 8259 edge control
00000898-0000089f : serial
0000f000-0000f007 : 0000:00:03.1
0000f000-0000f007 : ide0
0000f010-0000f013 : 0000:00:03.1
0000f012-0000f012 : ide0
0000f020-0000f027 : 0000:00:03.1
0000f030-0000f033 : 0000:00:03.1
0000f040-0000f04f : 0000:00:03.1
0000f040-0000f047 : ide0
0000f048-0000f04f : ide1
00010000-0001ffff : PCI Bus #01
00020000-0002ffff : PCI Bus #21
0002ec00-0002ec3f : 0000:21:01.0
0002ec00-0002ec3f : e100
00030000-0003ffff : PCI Bus #41
0003e800-0003e8ff : 0000:41:01.0
0003e800-0003e8ff : sym53c8xx
0003ec00-0003ecff : 0000:41:01.1
0003ec00-0003ecff : sym53c8xx
00040000-0004ffff : PCI Bus #61
00100000-001fffff : /pci@400000000112
00100000-0010ffff : PCI Bus #01
00110000-0011ffff : PCI Bus #21
0011ec00-0011ec3f : 0001:21:01.0
0011ec00-0011ec3f : e100
00120000-0012ffff : PCI Bus #61
==> /proc/irq <==
00:01.0 Co-processor: IBM Unknown device 00e0 (rev 01) (prog-if ff)
Subsystem: IBM Unknown device 00e1
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72
Interrupt: pin A routed to IRQ 255
Region 0: Memory at 3fdbd700000 (32-bit, prefetchable) [size=4K]
Region 1: Memory at 3fdbd800000 (32-bit, prefetchable) [size=512K]
Region 2: Memory at 3fdb4000000 (32-bit, prefetchable) [size=64M]
Region 3: Memory at 3fdb8000000 (32-bit, prefetchable) [size=64M]
00:02.0 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fd9fff0000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=01, subordinate=10, sec-latency=248
I/O behind bridge: 00010000-0001ffff
Memory behind bridge: c0000000-c7ffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset+ FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:00.0 64bit+ 133MHz- SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
00:02.2 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fcc0000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=21, subordinate=30, sec-latency=248
I/O behind bridge: 00020000-0002ffff
Memory behind bridge: c8000000-cbffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit- 133MHz- SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:00.2 64bit+ 133MHz- SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
00:02.4 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fcc0000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=41, subordinate=50, sec-latency=248
I/O behind bridge: 00030000-0003ffff
Memory behind bridge: cc000000-cfffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:00.4 64bit+ 133MHz- SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
00:02.6 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fcc0000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=61, subordinate=70, sec-latency=248
I/O behind bridge: 00040000-0004ffff
Memory behind bridge: d0000000-d7ffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:00.6 64bit+ 133MHz- SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
00:03.0 ISA bridge: Symphony Labs W83C553 (rev 10)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:03.1 IDE interface: Symphony Labs SL82c105 (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (500ns min, 10000ns max), Cache Line Size 08
Interrupt: pin A routed to IRQ 86
Region 0: I/O ports at 3fd3000f000 [size=8]
Region 1: I/O ports at 3fd3000f010 [size=4]
Region 2: I/O ports at 3fd3000f020 [size=8]
Region 3: I/O ports at 3fd3000f030 [size=4]
Region 4: I/O ports at 3fd3000f040 [size=16]
Region 5: I/O ports at 3fd30000000 [size=16]
21:01.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 0d)
Subsystem: IBM Unknown device 01ff
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74 (2000ns min, 14000ns max)
Interrupt: pin A routed to IRQ 85
Region 0: Memory at 3fd88030000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 3fd3002ec00 [size=64]
Region 2: Memory at 3fd88000000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at 3fd88020000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
41:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 66MHz Ultra3 SCSI Adapter (rev 01)
Subsystem: LSI Logic / Symbios Logic LSI53C1000/1000R/1010R/1010-66 PCI to Ultra160 SCSI Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74 (4250ns min, 4500ns max), Cache Line Size 20
Interrupt: pin A routed to IRQ 87
Region 0: I/O ports at 3fd3003e800 [size=256]
Region 1: Memory at 3fd8c005000 (64-bit, non-prefetchable) [size=1K]
Region 3: Memory at 3fd8c002000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
41:01.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 66MHz Ultra3 SCSI Adapter (rev 01)
Subsystem: LSI Logic / Symbios Logic LSI53C1000/1000R/1010R/1010-66 PCI to Ultra160 SCSI Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74 (4250ns min, 4500ns max), Cache Line Size 20
Interrupt: pin B routed to IRQ 88
Region 0: I/O ports at 3fd3003ec00 [size=256]
Region 1: Memory at 3fd8c004000 (64-bit, non-prefetchable) [size=1K]
Region 3: Memory at 3fd8c000000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
61:01.0 Ethernet controller: Alteon Networks Inc. AceNIC Gigabit Ethernet (rev 01)
Subsystem: IBM Gigabit Ethernet-SX PCI Adapter
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 89
Region 0: Memory at 3fd90000000 (32-bit, non-prefetchable) [disabled] [size=16K]
0001:00:02.0 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fdffff0000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=01, subordinate=10, sec-latency=248
I/O behind bridge: 00000000-0000ffff
Memory behind bridge: e0000000-e7ffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:02.0 64bit+ 133MHz+ SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
0001:00:02.2 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fd00000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=21, subordinate=30, sec-latency=248
I/O behind bridge: 00010000-0001ffff
Memory behind bridge: e8000000-ebffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit- 133MHz- SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:02.2 64bit+ 133MHz+ SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
0001:00:02.6 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fd00000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=61, subordinate=70, sec-latency=248
I/O behind bridge: 00020000-0002ffff
Memory behind bridge: ec000000-f3ffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:02.6 64bit+ 133MHz+ SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
0001:01:01.0 USB Controller: Agere Systems USS-344S USB Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Agere Systems USS-344S USB Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (750ns min, 21500ns max)
Interrupt: pin A routed to IRQ 115
Region 0: Memory at 3fde0003000 (32-bit, non-prefetchable) [size=4K]
0001:01:01.1 USB Controller: Agere Systems USS-344S USB Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Agere Systems USS-344S USB Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (750ns min, 21500ns max)
Interrupt: pin B routed to IRQ 116
Region 0: Memory at 3fde0002000 (32-bit, non-prefetchable) [size=4K]
0001:01:01.2 USB Controller: Agere Systems USS-344S USB Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Agere Systems USS-344S USB Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (750ns min, 21500ns max)
Interrupt: pin C routed to IRQ 115
Region 0: Memory at 3fde0001000 (32-bit, non-prefetchable) [size=4K]
0001:01:01.3 USB Controller: Agere Systems USS-344S USB Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Agere Systems USS-344S USB Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (750ns min, 21500ns max)
Interrupt: pin D routed to IRQ 116
Region 0: Memory at 3fde0000000 (32-bit, non-prefetchable) [size=4K]
0001:21:01.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 0d)
Subsystem: IBM Unknown device 01ff
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74 (2000ns min, 14000ns max)
Interrupt: pin A routed to IRQ 117
Region 0: Memory at 3fde8030000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 3fd5001ec00 [size=64]
Region 2: Memory at 3fde8000000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at 3fde8020000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
0001:61:01.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 12) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74, Cache Line Size 08
Bus: primary=61, secondary=62, subordinate=62, sec-latency=128
I/O behind bridge: 01001000-01000fff
Memory behind bridge: ec000000-ef0fffff
Prefetchable memory behind bridge: 0000000001000000-0000000000f00000
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] #06 [0000]
Capabilities: [a0] Vital Product Data
0001:62:00.0 VGA compatible controller: Matrox Graphics, Inc. G400/G450 (rev 82) (prog-if 00 [VGA])
Subsystem: IBM Unknown device 0233
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 121
Region 0: Memory at 3fdec000000 (32-bit, prefetchable) [size=32M]
Region 1: Memory at 3fdee800000 (32-bit, non-prefetchable) [size=16K]
Region 2: Memory at 3fdee000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at 3fdef000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [f0] AGP version 2.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
[-- Attachment #3: winbond-libata.txt --]
[-- Type: text/plain, Size: 30756 bytes --]
Using pSeries machine description
Page orders: linear mapping = 24, virtual = 12, io = 12
Found legacy serial port 0 for /pci@400000000110/isa@3/serial@i3f8
port=3f8, taddr=3fd300003f8, irq=0, clk=1843200, speed=0
Found legacy serial port 1 for /pci@400000000110/isa@3/serial@i2f8
port=2f8, taddr=3fd300002f8, irq=0, clk=1843200, speed=0
Found legacy serial port 2 for /pci@400000000110/isa@3/serial@i898
port=898, taddr=3fd30000898, irq=0, clk=1843200, speed=0
Starting Linux PPC64 #8 SMP Thu Nov 30 17:33:10 CET 2006
-----------------------------------------------------
ppc64_pft_size = 0x0
physicalMemorySize = 0x200000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address = 0xc0000001f0000000
htab_hash_mask = 0xfffff
-----------------------------------------------------
Linux version 2.6.19-ppc64-bug159235 (olaf@pomegranate) (gcc version 4.1.0 (SUSE Linux)) #8 SMP Thu Nov 30 17:33:10 CET 2006
[boot]0012 Setup Arch
Entering add_active_range(0, 0, 2097152) 0 entries of 256 used
No ramdisk, default root is /dev/sda2
EEH: PCI Enhanced I/O Error Handling Enabled
PPC64 nvram contains 81920 bytes
Using default idle loop
Top of RAM: 0x200000000, Total RAM: 0x200000000
Memory hole size: 0MB
Zone PFN ranges:
DMA 0 -> 2097152
Normal 2097152 -> 2097152
early_node_map[1] active PFN ranges
0: 0 -> 2097152
On node 0 totalpages: 2097152
DMA zone: 28672 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 2068480 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
[boot]0015 Setup Done
Built 1 zonelists. Total pages: 2068480
Kernel command line: debug video=matroxfb:1280x1024@85 sysrq=1 panic=32 root=/dev/sdb2
[boot]0020 XICS Init
xics: PCI 8259 intack at 0x000003fffdf091f0
i8259 legacy interrupt controller initialized
[boot]0021 XICS Done
PID hash table entries: 4096 (order: 12, 32768 bytes)
time_init: decrementer frequency = 181.701788 MHz
time_init: processor frequency = 1453.000000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Memory: 8103028k/8388608k available (3476k kernel code, 284888k reserved, 1060k data, 2236k bss, 176k init)
Calibrating delay loop... 362.90 BogoMIPS (lpj=1814528)
Mount-cache hash table entries: 256
Processor 1 found.
Processor 2 found.
Processor 3 found.
Brought up 4 CPUs
migration_cost=0
NET: Registered protocol family 16
PCI: Probing PCI hardware
Failed to request PCI IO region on PCI domain 0000
Using INTC for W82c105 IDE controller.
IOMMU table initialized, virtual merging enabled
ISA bridge at 0000:00:03.0
mapping IO 3fd30000000 -> d000080000000000, size: 100000
mapping IO 3fd50000000 -> d000080000100000, size: 100000
PCI: Probing PCI hardware done
SCSI subsystem initialized
libata version 2.00 loaded.
NET: Registered protocol family 2
IP route cache hash table entries: 262144 (order: 9, 2097152 bytes)
TCP established hash table entries: 1048576 (order: 12, 16777216 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 1048576 bind 65536)
TCP reno registered
RTAS daemon started
RTAS: event: 188, Type: Internal Device Failure, Severity: 2
io scheduler noop registered (default)
matroxfb: Matrox G450 detected
PInS data found at offset 31168
PInS memtype = 4
matroxfb: 1280x1024x8bpp (virtual: 1280x13107)
matroxfb: framebuffer at 0x3FDEC000000, mapped to 0xd000080080009000, size 16777216
Console: switching to colour frame buffer device 160x64
fb0: MATROX frame buffer device
matroxfb_crtc2: secondary head of fb0 was registered as fb1
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250.0: ttyS2 at I/O 0x898 (irq = 10) is a 16550A
loop: loaded (max 8 devices)
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
PCI: Enabling device: (0000:21:01.0), cmd 143
e100: eth0: e100_probe: addr 0x3fd88030000, irq 85, MAC addr 00:02:55:4F:05:C7
PCI: Enabling device: (0001:21:01.0), cmd 143
e100: eth1: e100_probe: addr 0x3fde8030000, irq 117, MAC addr 00:02:55:4F:05:D7
PCI: Enabling device: (0000:41:01.0), cmd 143
sym0: <1010-66> rev 0x1 at pci 0000:41:01.0 irq 87
sym0: No NVRAM, ID 7, Fast-80, LVD, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.2.3
scsi 0:0:8:0: Direct-Access IBM IC35L036UCD210-0 S5BS PQ: 0 ANSI: 3
target0:0:8: tagged command queuing enabled, command queue depth 16.
target0:0:8: Beginning Domain Validation
target0:0:8: asynchronous
target0:0:8: wide asynchronous
target0:0:8: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
target0:0:8: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
target0:0:8: Ending Domain Validation
scsi 0:0:9:0: Direct-Access IBM IC35L036UCD210-0 S5BS PQ: 0 ANSI: 3
target0:0:9: tagged command queuing enabled, command queue depth 16.
target0:0:9: Beginning Domain Validation
target0:0:9: asynchronous
target0:0:9: wide asynchronous
target0:0:9: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
target0:0:9: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 31)
target0:0:9: Ending Domain Validation
scsi 0:0:15:0: Enclosure IBM HSBPD4E PU3SCSI 0011 PQ: 0 ANSI: 2
target0:0:15: Beginning Domain Validation
scsi 0:0:15:0: phase change 6-7 6@40000fa0 resid=4.
target0:0:15: asynchronous
target0:0:15: Ending Domain Validation
PCI: Enabling device: (0000:41:01.1), cmd 143
sym1: <1010-66> rev 0x1 at pci 0000:41:01.1 irq 88
sym1: No NVRAM, ID 7, Fast-80, SE, parity checking
sym1: SCSI BUS has been reset.
scsi1 : sym-2.2.3
target1:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 31)
scsi 1:0:0:0: Sequential-Access HP IBM-C568303030!D C209 PQ: 0 ANSI: 2
target1:0:0: Beginning Domain Validation
target1:0:0: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 31)
target1:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 31)
target1:0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 31)
target1:0:0: Domain Validation skipping write tests
target1:0:0: Ending Domain Validation
SCSI device sda: 71096640 512-byte hdwr sectors (36401 MB)
sda: Write Protect is off
sda: Mode Sense: cb 00 00 08
SCSI device sda: drive cache: write through
SCSI device sda: 71096640 512-byte hdwr sectors (36401 MB)
sda: Write Protect is off
sda: Mode Sense: cb 00 00 08
SCSI device sda: drive cache: write through
sda: sda1 sda2 sda3
sd 0:0:8:0: Attached scsi disk sda
SCSI device sdb: 71096640 512-byte hdwr sectors (36401 MB)
sdb: Write Protect is off
sdb: Mode Sense: cb 00 00 08
SCSI device sdb: drive cache: write through
SCSI device sdb: 71096640 512-byte hdwr sectors (36401 MB)
sdb: Write Protect is off
sdb: Mode Sense: cb 00 00 08
SCSI device sdb: drive cache: write through
sdb: sdb1 sdb2
sd 0:0:9:0: Attached scsi disk sdb
sd 0:0:8:0: Attached scsi generic sg0 type 0
sd 0:0:9:0: Attached scsi generic sg1 type 0
scsi 0:0:15:0: Attached scsi generic sg2 type 13
scsi 1:0:0:0: Attached scsi generic sg3 type 1
PCI: Enabling device: (0000:00:03.1), cmd 141
PCI: Unable to reserve I/O region #6:10@0 for device 0000:00:03.1
pata_sl82c105: probe of 0000:00:03.1 failed with error -16
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
input: AT Raw Set 2 keyboard as /class/input/input0
logips2pp: Detected unknown logitech mouse model 1
input: PS/2 Logitech Mouse as /class/input/input1
ReiserFS: sdb2: found reiserfs format "3.6" with standard journal
ReiserFS: sdb2: using ordered data mode
ReiserFS: sdb2: journal params: device sdb2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sdb2: checking transaction log (sdb2)
ReiserFS: sdb2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 176k freed
ioctl32(showconsole:355): Unknown cmd fd(0) cmd(40045432){00} arg(ffa32b38) on /dev/console
ioctl32(showconsole:390): Unknown cmd fd(0) cmd(40045432){00} arg(fffb4ac8) on /dev/console
ReiserFS: sdb2: warning: acl not supported.
ReiserFS: sdb2: warning: user_xattr not supported.
ReiserFS: sdb2: warning: acl not supported.
ReiserFS: sdb2: warning: user_xattr not supported.
ioctl32(showconsole:953): Unknown cmd fd(0) cmd(40045432){00} arg(ffc97ac8) on /dev/console
ioctl32(showconsole:1125): Unknown cmd fd(0) cmd(40045432){00} arg(fff9bad8) on /dev/console
Adding 1048568k swap on /dev/sda2. Priority:-1 extents:1 across:1048568k
ioctl32(showconsole:1212): Unknown cmd fd(0) cmd(40045432){00} arg(ffb99b18) on /dev/console
e100: eth2: e100_watchdog: link up, 100Mbps, full-duplex
ioctl32(showconsole:2409): Unknown cmd fd(0) cmd(40045432){00} arg(fff1fa78) on /dev/tty0
==> /proc/interrupts <==
CPU0 CPU1 CPU2 CPU3
1: 3 3 2 4 i8259 Level i8042
12: 26 28 28 27 i8259 Level i8042
16: 254 597 403 583 XICS Level IPI
87: 2088 2071 2092 2088 XICS Level sym53c8xx
88: 13 13 14 13 XICS Level sym53c8xx
117: 490 506 484 489 XICS Level eth2
BAD: 0
==> /proc/iomem <==
3fcc0000000-3fcc00fffff : PCI Bus #61
3fcc0000000-3fcc00fffff : PCI Bus #41
3fcc0000000-3fcc00fffff : PCI Bus #21
3fcc0000000-3fcc00fffff : PCI Bus #01
3fcc0000000-3fcc0007fff : 0000:00:02.6
3fcc0000000-3fcc0007fff : 0000:00:02.4
3fcc0000000-3fcc0007fff : 0000:00:02.2
3fd00000000-3fd000fffff : PCI Bus #61
3fd00000000-3fd000fffff : PCI Bus #21
3fd00000000-3fd000fffff : PCI Bus #01
3fd00000000-3fd00007fff : 0001:00:02.6
3fd00000000-3fd00007fff : 0001:00:02.2
3fd80000000-3fdbfffffff : /pci@400000000110
3fd80000000-3fd87ffffff : PCI Bus #01
3fd88000000-3fd8bffffff : PCI Bus #21
3fd88000000-3fd8801ffff : 0000:21:01.0
3fd88000000-3fd8801ffff : e100
3fd88020000-3fd8802ffff : 0000:21:01.0
3fd88030000-3fd88030fff : 0000:21:01.0
3fd88030000-3fd88030fff : e100
3fd8c000000-3fd8fffffff : PCI Bus #41
3fd8c000000-3fd8c001fff : 0000:41:01.1
3fd8c000000-3fd8c001fff : sym53c8xx
3fd8c002000-3fd8c003fff : 0000:41:01.0
3fd8c002000-3fd8c003fff : sym53c8xx
3fd8c004000-3fd8c0043ff : 0000:41:01.1
3fd8c004000-3fd8c0043ff : sym53c8xx
3fd8c005000-3fd8c0053ff : 0000:41:01.0
3fd8c005000-3fd8c0053ff : sym53c8xx
3fd90000000-3fd97ffffff : PCI Bus #61
3fd90000000-3fd90003fff : 0000:61:01.0
3fd9fff0000-3fd9fff7fff : 0000:00:02.0
3fdb4000000-3fdb7ffffff : 0000:00:01.0
3fdb8000000-3fdbbffffff : 0000:00:01.0
3fdbd700000-3fdbd700fff : 0000:00:01.0
3fdbd800000-3fdbd87ffff : 0000:00:01.0
3fde0000000-3fdffffffff : /pci@400000000112
3fde0000000-3fde7ffffff : PCI Bus #01
3fde0000000-3fde0000fff : 0001:01:01.3
3fde0001000-3fde0001fff : 0001:01:01.2
3fde0002000-3fde0002fff : 0001:01:01.1
3fde0003000-3fde0003fff : 0001:01:01.0
3fde8000000-3fdebffffff : PCI Bus #21
3fde8000000-3fde801ffff : 0001:21:01.0
3fde8000000-3fde801ffff : e100
3fde8020000-3fde802ffff : 0001:21:01.0
3fde8030000-3fde8030fff : 0001:21:01.0
3fde8030000-3fde8030fff : e100
3fdec000000-3fdf3ffffff : PCI Bus #61
3fdec000000-3fdef0fffff : PCI Bus #62
3fdec000000-3fdedffffff : 0001:62:00.0
3fdec000000-3fdedffffff : matroxfb FB
3fdee000000-3fdee7fffff : 0001:62:00.0
3fdee800000-3fdee803fff : 0001:62:00.0
3fdee800000-3fdee803fff : matroxfb MMIO
3fdef000000-3fdef01ffff : 0001:62:00.0
3fdffff0000-3fdffff7fff : 0001:00:02.0
==> /proc/ioports <==
00000000-0000001f : dma1
00000020-00000021 : 8259 (master)
00000040-0000005f : timer
00000060-0000006f : i8042
00000080-0000008f : dma page reg
000000a0-000000a1 : 8259 (slave)
000000c0-000000df : dma2
000002f8-000002ff : serial
000003c0-000003df : matrox
000003f8-000003ff : serial
000004d0-000004d1 : 8259 edge control
00000898-0000089f : serial
0000f000-0000f007 : 0000:00:03.1
0000f010-0000f013 : 0000:00:03.1
0000f020-0000f027 : 0000:00:03.1
0000f030-0000f033 : 0000:00:03.1
0000f040-0000f04f : 0000:00:03.1
00010000-0001ffff : PCI Bus #01
00020000-0002ffff : PCI Bus #21
0002ec00-0002ec3f : 0000:21:01.0
0002ec00-0002ec3f : e100
00030000-0003ffff : PCI Bus #41
0003e800-0003e8ff : 0000:41:01.0
0003e800-0003e8ff : sym53c8xx
0003ec00-0003ecff : 0000:41:01.1
0003ec00-0003ecff : sym53c8xx
00040000-0004ffff : PCI Bus #61
00100000-001fffff : /pci@400000000112
00100000-0010ffff : PCI Bus #01
00110000-0011ffff : PCI Bus #21
0011ec00-0011ec3f : 0001:21:01.0
0011ec00-0011ec3f : e100
00120000-0012ffff : PCI Bus #61
==> /proc/irq <==
00:01.0 Co-processor: IBM Unknown device 00e0 (rev 01) (prog-if ff)
Subsystem: IBM Unknown device 00e1
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72
Interrupt: pin A routed to IRQ 255
Region 0: Memory at 3fdbd700000 (32-bit, prefetchable) [size=4K]
Region 1: Memory at 3fdbd800000 (32-bit, prefetchable) [size=512K]
Region 2: Memory at 3fdb4000000 (32-bit, prefetchable) [size=64M]
Region 3: Memory at 3fdb8000000 (32-bit, prefetchable) [size=64M]
00:02.0 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fd9fff0000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=01, subordinate=10, sec-latency=248
I/O behind bridge: 00010000-0001ffff
Memory behind bridge: c0000000-c7ffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset+ FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:00.0 64bit+ 133MHz- SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
00:02.2 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fcc0000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=21, subordinate=30, sec-latency=248
I/O behind bridge: 00020000-0002ffff
Memory behind bridge: c8000000-cbffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit- 133MHz- SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:00.2 64bit+ 133MHz- SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
00:02.4 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fcc0000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=41, subordinate=50, sec-latency=248
I/O behind bridge: 00030000-0003ffff
Memory behind bridge: cc000000-cfffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:00.4 64bit+ 133MHz- SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
00:02.6 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fcc0000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=61, subordinate=70, sec-latency=248
I/O behind bridge: 00040000-0004ffff
Memory behind bridge: d0000000-d7ffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:00.6 64bit+ 133MHz- SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
00:03.0 ISA bridge: Symphony Labs W83C553 (rev 10)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:03.1 IDE interface: Symphony Labs SL82c105 (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 86
Region 0: I/O ports at 3fd3000f000 [size=8]
Region 1: I/O ports at 3fd3000f010 [size=4]
Region 2: I/O ports at 3fd3000f020 [size=8]
Region 3: I/O ports at 3fd3000f030 [size=4]
Region 4: I/O ports at 3fd3000f040 [size=16]
Region 5: I/O ports at 3fd30000000 [size=16]
21:01.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 0d)
Subsystem: IBM Unknown device 01ff
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74 (2000ns min, 14000ns max)
Interrupt: pin A routed to IRQ 85
Region 0: Memory at 3fd88030000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 3fd3002ec00 [size=64]
Region 2: Memory at 3fd88000000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at 3fd88020000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
41:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 66MHz Ultra3 SCSI Adapter (rev 01)
Subsystem: LSI Logic / Symbios Logic LSI53C1000/1000R/1010R/1010-66 PCI to Ultra160 SCSI Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74 (4250ns min, 4500ns max), Cache Line Size 20
Interrupt: pin A routed to IRQ 87
Region 0: I/O ports at 3fd3003e800 [size=256]
Region 1: Memory at 3fd8c005000 (64-bit, non-prefetchable) [size=1K]
Region 3: Memory at 3fd8c002000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
41:01.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 66MHz Ultra3 SCSI Adapter (rev 01)
Subsystem: LSI Logic / Symbios Logic LSI53C1000/1000R/1010R/1010-66 PCI to Ultra160 SCSI Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74 (4250ns min, 4500ns max), Cache Line Size 20
Interrupt: pin B routed to IRQ 88
Region 0: I/O ports at 3fd3003ec00 [size=256]
Region 1: Memory at 3fd8c004000 (64-bit, non-prefetchable) [size=1K]
Region 3: Memory at 3fd8c000000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
61:01.0 Ethernet controller: Alteon Networks Inc. AceNIC Gigabit Ethernet (rev 01)
Subsystem: IBM Gigabit Ethernet-SX PCI Adapter
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 89
Region 0: Memory at 3fd90000000 (32-bit, non-prefetchable) [disabled] [size=16K]
0001:00:02.0 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fdffff0000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=01, subordinate=10, sec-latency=248
I/O behind bridge: 00000000-0000ffff
Memory behind bridge: e0000000-e7ffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:02.0 64bit+ 133MHz+ SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
0001:00:02.2 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fd00000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=21, subordinate=30, sec-latency=248
I/O behind bridge: 00010000-0001ffff
Memory behind bridge: e8000000-ebffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit- 133MHz- SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:02.2 64bit+ 133MHz+ SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
0001:00:02.6 PCI bridge: IBM EADS-X PCI-X to PCI-X Bridge (rev 01) (prog-if 0f)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248, Cache Line Size 20
BIST result: 00
Region 0: Memory at 3fd00000000 (64-bit, prefetchable) [size=32K]
Bus: primary=00, secondary=61, subordinate=70, sec-latency=248
I/O behind bridge: 00020000-0002ffff
Memory behind bridge: ec000000-f3ffffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [a0] PCI-X bridge device
Secondary Status: 64bit+ 133MHz+ SCD- USC- SCO- SRD- Freq=conv
Status: Dev=00:02.6 64bit+ 133MHz+ SCD- USC- SCO- SRD-
Upstream: Capacity=0 CommitmentLimit=0
Downstream: Capacity=0 CommitmentLimit=0
Capabilities: [b0] Power Management version 2
Flags: PMEClk+ DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [b8] #0c [0000]
0001:01:01.0 USB Controller: Agere Systems USS-344S USB Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Agere Systems USS-344S USB Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (750ns min, 21500ns max)
Interrupt: pin A routed to IRQ 115
Region 0: Memory at 3fde0003000 (32-bit, non-prefetchable) [size=4K]
0001:01:01.1 USB Controller: Agere Systems USS-344S USB Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Agere Systems USS-344S USB Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (750ns min, 21500ns max)
Interrupt: pin B routed to IRQ 116
Region 0: Memory at 3fde0002000 (32-bit, non-prefetchable) [size=4K]
0001:01:01.2 USB Controller: Agere Systems USS-344S USB Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Agere Systems USS-344S USB Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (750ns min, 21500ns max)
Interrupt: pin C routed to IRQ 115
Region 0: Memory at 3fde0001000 (32-bit, non-prefetchable) [size=4K]
0001:01:01.3 USB Controller: Agere Systems USS-344S USB Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Agere Systems USS-344S USB Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 72 (750ns min, 21500ns max)
Interrupt: pin D routed to IRQ 116
Region 0: Memory at 3fde0000000 (32-bit, non-prefetchable) [size=4K]
0001:21:01.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 0d)
Subsystem: IBM Unknown device 01ff
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74 (2000ns min, 14000ns max)
Interrupt: pin A routed to IRQ 117
Region 0: Memory at 3fde8030000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 3fd5001ec00 [size=64]
Region 2: Memory at 3fde8000000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at 3fde8020000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
0001:61:01.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 12) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 74, Cache Line Size 08
Bus: primary=61, secondary=62, subordinate=62, sec-latency=128
I/O behind bridge: 01001000-01000fff
Memory behind bridge: ec000000-ef0fffff
Prefetchable memory behind bridge: 0000000001000000-0000000000f00000
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] #06 [0000]
Capabilities: [a0] Vital Product Data
0001:62:00.0 VGA compatible controller: Matrox Graphics, Inc. G400/G450 (rev 82) (prog-if 00 [VGA])
Subsystem: IBM Unknown device 0233
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 121
Region 0: Memory at 3fdec000000 (32-bit, prefetchable) [size=32M]
Region 1: Memory at 3fdee800000 (32-bit, non-prefetchable) [size=16K]
Region 2: Memory at 3fdee000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at 3fdef000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [f0] AGP version 2.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH] add delay around sl82c105_reset_engine calls
2006-11-30 16:52 pata_sl82c105 can not reserve IO region Olaf Hering
@ 2006-12-04 12:40 ` Olaf Hering
2006-12-04 13:02 ` Alan
0 siblings, 1 reply; 34+ messages in thread
From: Olaf Hering @ 2006-12-04 12:40 UTC (permalink / raw)
To: linux-ide, linuxppc-dev
the hald media changed polling does really confuse things.
noone knows why the delays are needed, but they give us access to
the CD.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
drivers/scsi/pata_sl82c105.c | 3 +++
1 file changed, 3 insertions(+)
--- a/drivers/scsi/pata_sl82c105.c
+++ b/drivers/scsi/pata_sl82c105.c
@@ -187,7 +187,9 @@ static void sl82c105_bmdma_start(struct
{
struct ata_port *ap = qc->ap;
+ udelay(50);
sl82c105_reset_engine(ap);
+ udelay(50);
/* Set the clocks for DMA */
sl82c105_configure_dmamode(ap, qc->dev);
@@ -216,6 +218,7 @@ static void sl82c105_bmdma_stop(struct a
ata_bmdma_stop(qc);
sl82c105_reset_engine(ap);
+ udelay(50);
/* This will redo the initial setup of the DMA device to matching
PIO timings */
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] add delay around sl82c105_reset_engine calls
2006-12-04 12:40 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
@ 2006-12-04 13:02 ` Alan
2006-12-04 13:12 ` Olaf Hering
2007-01-04 6:42 ` Olaf Hering
0 siblings, 2 replies; 34+ messages in thread
From: Alan @ 2006-12-04 13:02 UTC (permalink / raw)
To: Olaf Hering; +Cc: linux-ide, linuxppc-dev
On Mon, 4 Dec 2006 13:40:26 +0100 (MET)
Olaf Hering <olaf@aepfle.de> wrote:
>
>
> the hald media changed polling does really confuse things.
> noone knows why the delays are needed, but they give us access to
> the CD.
Can you tell me what happens if you completely pull the reset out of the
dma_end function. Do you still need delays then.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] add delay around sl82c105_reset_engine calls
2006-12-04 13:02 ` Alan
@ 2006-12-04 13:12 ` Olaf Hering
2007-01-04 6:42 ` Olaf Hering
1 sibling, 0 replies; 34+ messages in thread
From: Olaf Hering @ 2006-12-04 13:12 UTC (permalink / raw)
To: Alan; +Cc: linux-ide, linuxppc-dev
On Mon, Dec 04, Alan wrote:
> On Mon, 4 Dec 2006 13:40:26 +0100 (MET)
> Olaf Hering <olaf@aepfle.de> wrote:
>
> >
> >
> > the hald media changed polling does really confuse things.
> > noone knows why the delays are needed, but they give us access to
> > the CD.
>
> Can you tell me what happens if you completely pull the reset out of the
> dma_end function. Do you still need delays then.
Did you mean like this?
@@ -215,7 +217,10 @@ static void sl82c105_bmdma_stop(struct a
struct ata_port *ap = qc->ap;
ata_bmdma_stop(qc);
+#if 0
sl82c105_reset_engine(ap);
+ udelay(50);
+#endif
/* This will redo the initial setup of the DMA device to matching
PIO timings */
[ 315.923917] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 315.923927] ata1.00: (BMDMA stat 0x41)
[ 315.923935] ata1.00: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout)
[ 315.924039] ata1: soft resetting port
[ 346.243816] ata1.00: qc timeout (cmd 0xa1)
[ 346.243829] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 346.243882] ata1.00: revalidation failed (errno=-5)
[ 346.243891] ata1: failed to recover some devices, retrying in 5 secs
[ 351.253802] ata1: soft resetting port
[ 381.573813] ata1.00: qc timeout (cmd 0xa1)
[ 381.573823] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 381.573876] ata1.00: revalidation failed (errno=-5)
[ 381.573884] ata1: failed to recover some devices, retrying in 5 secs
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] add delay around sl82c105_reset_engine calls
2006-12-04 13:02 ` Alan
2006-12-04 13:12 ` Olaf Hering
@ 2007-01-04 6:42 ` Olaf Hering
2007-01-04 10:53 ` Alan
1 sibling, 1 reply; 34+ messages in thread
From: Olaf Hering @ 2007-01-04 6:42 UTC (permalink / raw)
To: Alan; +Cc: linux-ide, linuxppc-dev
On Mon, Dec 04, Alan wrote:
> On Mon, 4 Dec 2006 13:40:26 +0100 (MET)
> Olaf Hering <olaf@aepfle.de> wrote:
>
> >
> >
> > the hald media changed polling does really confuse things.
> > noone knows why the delays are needed, but they give us access to
> > the CD.
>
> Can you tell me what happens if you completely pull the reset out of the
> dma_end function. Do you still need delays then.
An udelay(50) will give reliable access to the drive, but there is still
one (or more) EH reset. The drive works without EH resets with udelay(100).
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
drivers/ata/pata_sl82c105.c | 3 +++
1 file changed, 3 insertions(+)
--- a/drivers/ata/pata_sl82c105.c
+++ b/drivers/ata/pata_sl82c105.c
@@ -187,7 +187,9 @@ static void sl82c105_bmdma_start(struct
{
struct ata_port *ap = qc->ap;
+ udelay(100);
sl82c105_reset_engine(ap);
+ udelay(100);
/* Set the clocks for DMA */
sl82c105_configure_dmamode(ap, qc->dev);
@@ -216,6 +218,7 @@ static void sl82c105_bmdma_stop(struct a
ata_bmdma_stop(qc);
sl82c105_reset_engine(ap);
+ udelay(100);
/* This will redo the initial setup of the DMA device to matching
PIO timings */
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH] add delay around sl82c105_reset_engine calls
2007-01-04 6:42 ` Olaf Hering
@ 2007-01-04 10:53 ` Alan
0 siblings, 0 replies; 34+ messages in thread
From: Alan @ 2007-01-04 10:53 UTC (permalink / raw)
To: Olaf Hering; +Cc: linux-ide, linuxppc-dev
On Thu, 4 Jan 2007 07:42:54 +0100
Olaf Hering <olaf@aepfle.de> wrote:
> On Mon, Dec 04, Alan wrote:
>
> > On Mon, 4 Dec 2006 13:40:26 +0100 (MET)
> > Olaf Hering <olaf@aepfle.de> wrote:
> >
> > >
> > >
> > > the hald media changed polling does really confuse things.
> > > noone knows why the delays are needed, but they give us access to
> > > the CD.
> >
> > Can you tell me what happens if you completely pull the reset out of the
> > dma_end function. Do you still need delays then.
>
> An udelay(50) will give reliable access to the drive, but there is still
> one (or more) EH reset. The drive works without EH resets with udelay(100).
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Alan Cox <alan@redhat.com>
This wants revisiting some day to understand the interaction better but
for now it gets us up and running properly.
^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2007-02-17 20:36 UTC | newest]
Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-10 20:35 [PATCH] move variables in drivers/macintosh to bss Olaf Hering
2007-02-10 20:36 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
2007-02-10 20:37 ` [PATCH] cleanup variable usage in mesh interrupt handler Olaf Hering
2007-02-10 20:38 ` [PATCH] mark winbond IDE PCI resources with start 0 as unassigned Olaf Hering
2007-02-10 20:40 ` [PATCH] correct AC Power: in /proc/pmu/info on ibook1 Olaf Hering
2007-02-15 23:09 ` [PATCH] add delay around sl82c105_reset_engine calls Jeff Garzik
2007-02-16 9:20 ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
2007-02-16 13:52 ` Sergei Shtylyov
2007-02-16 13:52 ` Sergei Shtylyov
2007-02-16 14:51 ` Sergei Shtylyov
2007-02-16 14:53 ` Bartlomiej Zolnierkiewicz
2007-02-16 14:53 ` Bartlomiej Zolnierkiewicz
2007-02-16 14:55 ` Sergei Shtylyov
2007-02-16 14:55 ` Sergei Shtylyov
2007-02-16 15:09 ` Bartlomiej Zolnierkiewicz
2007-02-16 15:09 ` Bartlomiej Zolnierkiewicz
2007-02-16 15:06 ` Sergei Shtylyov
2007-02-16 15:06 ` Sergei Shtylyov
2007-02-16 15:11 ` Sergei Shtylyov
2007-02-16 15:11 ` Sergei Shtylyov
2007-02-16 21:41 ` Benjamin Herrenschmidt
2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
2007-02-16 14:46 ` Bartlomiej Zolnierkiewicz
2007-02-16 14:51 ` Bartlomiej Zolnierkiewicz
2007-02-16 14:51 ` Bartlomiej Zolnierkiewicz
2007-02-16 17:37 ` Olaf Hering
2007-02-16 17:37 ` Olaf Hering
2007-02-17 20:36 ` Jeff Garzik
2007-02-17 20:36 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2006-11-30 16:52 pata_sl82c105 can not reserve IO region Olaf Hering
2006-12-04 12:40 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
2006-12-04 13:02 ` Alan
2006-12-04 13:12 ` Olaf Hering
2007-01-04 6:42 ` Olaf Hering
2007-01-04 10:53 ` Alan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.