Skip to contentSkip to conversation

IDE on Swarm

DISCUSSION Gary Smith 4 participants 5 messages Jul 20, 2006 MIPS

lore
Share & tools
lore

Gary Smith

author
#0 lore raw

Hello All,

I'd like to ask a question regarding a post I noticed on a message board. The post I read is as follows.

http://mail.bitmover.com/pipermail/sibyte-users/2004-November/000029.html

I am using a BCM91250A evaluation board with a compactflash device connected to the onboard IDE controller. When booting with a Linux 2.4.20 kernel, the IDE interface is recognized and the compactflash device is hda. When booting with a Linux 2.6.16.25 kernel, the IDE interface is recognized, but no device information is echoed to the console. I've included output below. The message post above mentions that there were problems with the IDE driver in Linux 2.6 during the late 2004 time-frame. I'd like to inquire about the current availability of the IDE driver in the kernel.

Linux 2.4.20 Output:

Uniform Multi-Platform E-IDE driver Revision: 6.31

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

SiByte onboard IDE configured as device 0

hda: SanDisk SDCFB-1024, ATA DISK drive

ide0 at 0xffffffffb00b3e01-0xffffffffb00b3e08,0xffffffffb00b7ec1 on irq 36

hda: 2001888 sectors (1025 MB) w/1KiB Cache, CHS=1986/16/63

Partition check:

/dev/ide/host0/bus0/target0/lun0: p1

Linux 2.6.16.25 Output:

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

ide-floppy driver 0.99.newide

SWARM IDE driver

ide-swarm: IDE interface at GenBus slot 4

NET: Registered protocol family 2

Thank you for your time.

Gary

--

Gary A. Smith, ABD PhD
Systems Engineer, 3Phoenix, Inc.

#1 lore raw

Gary Smith wrote:
[snip]

Quoted 8 lines

I am using a BCM91250A evaluation board with a compactflash device connected to the onboard IDE controller. When booting with a Linux 2.4.20 kernel, the IDE interface is recognized and the compactflash device is hda. When booting with a Linux 2.6.16.25 kernel, the IDE interface is recognized, but no device information is echoed to the console. I've included output below. The message post above mentions that there were problems with the IDE driver in Linux 2.6 during the late 2004 time-frame. I'd like to inquire about the current availability of the IDE driver in the kernel.

The SWARM onboard IDE works for me with the appended patch. (Originally from Peter Horton <[email protected]>.)

Thiemo

drivers/ide/mips/swarm.c +1 -0
@@ -127,6 +127,7 @@ static int __devinit swarm_ide_probe(str
 	memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->io_ports));
 	hwif->irq = hwif->hw.irq;
 
+	probe_hwif_init(hwif);
 	dev_set_drvdata(dev, hwif);
 
 	return 0;
#2 lore raw
Quoted 4 lines · Thiemo Seufer
Quoted 2 lines

in Linux 2.6 during the late 2004 time-frame. I'd like to inquire about the current availability of the IDE driver in the kernel.

The SWARM onboard IDE works for me with the appended patch. (Originally from Peter Horton <[email protected]>.)

I think the problem is that PCMCIA support was never ported to 2.6. Peter 'p2' De Schrijver wanted to work on this but I've no idea what the progress is.

Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/
#4 lore raw
In reply to Thiemo Seufer

Hello.

Quoted 8 lines · Thiemo Seufer

The SWARM onboard IDE works for me with the appended patch. (Originally from Peter Horton <[email protected]>.)

Thiemo

drivers/ide/mips/swarm.c static int __devinit swarm_ide_probe(str · line 133

Quoted 7 lines
drivers/ide/mips/swarm.c +1 -0
@@ -127,6 +127,7 @@ static int __devinit swarm_ide_probe(str
 	memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->io_ports));
 	hwif->irq = hwif->hw.irq;
 
+	probe_hwif_init(hwif);
 	dev_set_drvdata(dev, hwif);
 
 	return 0;

Has it been submitted anywhere?

WBR, Sergei

#3 lore raw
In reply to Martin Michlmayr
Quoted 9 lines · Martin Michlmayr
Quoted 4 lines · Thiemo Seufer
Quoted 2 lines

in Linux 2.6 during the late 2004 time-frame. I'd like to inquire about the current availability of the IDE driver in the kernel.

The SWARM onboard IDE works for me with the appended patch. (Originally from Peter Horton <[email protected]>.)

I think the problem is that PCMCIA support was never ported to 2.6. Peter 'p2' De Schrijver wanted to work on this but I've no idea what the progress is.

AFAIU Gary used a Compact Flash connected to the onboard IDE, not a CF -> PCMCIA Adapter.

Thiemo