From: Manish Lachwani <mlachwani@mvista.com>
To: Muruga Ganapathy <gmuruga@gdatech.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Forcing IDE to work in PIO mode
Date: Thu, 09 Dec 2004 15:57:57 -0800 [thread overview]
Message-ID: <41B8E685.6030808@mvista.com> (raw)
In-Reply-To: <200412092322.iB9NMcS12782@gdatech.com>
The pcmcia support for the SWARM is provided by
drivers/pcmcia/sibyte_generic.c in 2.4.26
This file (and may be others it depends on) does not exist in 2.6
Thanks
Manish Lachwani
Muruga Ganapathy wrote:
> Manish,
>
> My previous mail was based on the sources from kernerl.org and the dmesg
> below.
>
> Thanks
> G.Muruganandam
>
> =======================================================
> Linux version 2.4.27-sb1-swarm-bn (root@hattusa) (gcc version 3.3.4 (Debian
>
> 1:34
>
> swarm setup: M41T81 RTC detected.
>
> This kernel optimized for board runs with CFE
>
> Determined physical RAM map:
>
> memory: 003b0000 @ 00000000 (usable)
>
> memory: 0f254400 @ 00c36c00 (usable)
>
> memory: 00886c00 @ 003b0000 (reserved)
>
> hm, page 003b0000 reserved twice.
>
> hm, page 003b1000 reserved twice.
>
> Initial ramdisk at: 0x803b0000 (8940544 bytes)
>
> On node 0 totalpages: 65163
>
> zone(0): 65163 pages.
>
> zone(1): 0 pages.
>
> zone(2): 0 pages.
>
> Kernel command line: root=/dev/ram console=duart0 initrd=886C00@803B0000
>
> Console: colour dummy device 80x25
>
> Calibrating delay loop... 532.48 BogoMIPS
>
> Memory: 245068k/251920k available (2077k kernel code, 6860k reserved, 120k
>
> data)
>
> Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
>
> Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
>
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
>
> Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
>
> Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
>
> Checking for 'wait' instruction... unavailable.
>
> POSIX conformance testing by UNIFIX
>
> Detected 2 available CPU(s)
>
> Starting CPU 1... Slave cpu booted successfully
>
> Waiting on wait_init_idle (map = 0x2)
>
> All processors have done init_idle
>
> PCI: Skipping PCI probe. Bus is not initialized.
>
> Linux NET4.0 for Linux 2.4
>
> Based upon Swansea University Computer Society NET3.039
>
> Initializing RT netlink socket
>
> Starting kswapd
>
> VFS: Disk quotas vdquot_6.5.1
>
> Journalled Block Device driver loaded
>
> devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
>
> devfs: boot_options: 0x0
>
> Dummy keyboard driver installed.
>
> pty: 256 Unix98 ptys configured
>
> Generic MIPS RTC Driver v1.0
>
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
>
> eth0: SiByte Ethernet at 0x10064000, address: 00-02-4C-FE-0D-D6
>
> eth0: enabling TCP rcv checksum
>
> eth1: SiByte Ethernet at 0x10065000, address: 00-02-4C-FE-0D-D7
>
> eth1: enabling TCP rcv checksum
>
> Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
>
> ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
>
> SiByte onboard IDE configured as device 0
>
> Linux Kernel Card Services 3.1.22
>
> options: [pci] [cardbus]
>
> sibyte-pcmcia: Looking up addr 0x10061130: 0x03ff (IO size)
>
> sibyte-pcmcia: Looking up addr 0x10061230: 0x1100 (IO Base Address)
>
> sibyte-pcmcia: Memory region 0x11000000 of size 0x04000000 requested.
>
> sibyte-pcmcia: Setting up "sb1250pc" procfs entry
>
> SiByte onboard PCMCIA-IDE configured as device 1
>
> mice: PS/2 mouse device common for all mice
>
> Initializing Cryptographic API
>
> NET4: Linux TCP/IP 1.0 for NET4.0
>
> IP: routing cache hash table of 2048 buckets, 16Kbytes
>
> TCP: Hash tables configured (established 16384 bind 16384)
>
>
>
>
>
>
>>Please point me to the 2.4.26 or 2.4.27 code that you are referring to
>>
>>Thanks
>>Manish Lachwani
>>
>>Muruga Ganapathy wrote:
>>
>>>Manish,
>>>
>>>Thanks for the pointer.
>>>
>>>I am looking for the PCMCIA-IDE driver for the SWARM board in 2.6.x
>>>I did see this driver in 2.4.26/27 but not in 2.6.10.
>>>
>>>Do you have any suggestions on porting the PCMCIA-IDE driver from 2.4.27
>>>to 2.6.x?
>>>
>>>Regards
>>>G.Muruganandam
>>>
>>>
>>>
>>>>I had posted a patch to this mailing list a few days back. The patch
>>>>applies cleanly to the current tree and is currently checked in:
>>>>drivers/ide/mips/swarm.c
>>>>
>>>>Using this patch, Broadcom SWARM IDE works well
>>>>
>>>>Thanks
>>>>Manish Lachwani
>>>>
>>>>Muruga Ganapathy wrote:
>>>>
>>>>
>>>>>Thanks Manish for the information.
>>>>>
>>>>>BTW, do you have patch to make the swarm IDE work in 2.6.6-rc3
>>>>>
>>>>>Regards
>>>>>G.Muruganandam
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Muruga Ganapathy wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hello,
>>>>>>>
>>>>>>>How do I force the IDE to work in the PIO mode by including the
>>>>>>>option like "hdb=noprobe" in the setup.c?
>>>>>>>
>>>>>>>
>>>>>>>My kernel version is 2.6.6
>>>>>>>
>>>>>>>Thanks
>>>>>>>G.Muruganandam
>>>>>>>
>>>>>>
>>>>>>
>>>>>>Hello !
>>>>>>
>>>>>>I would have thought "ide=nodma" at the command line would have
>>>>>
>>>>>worked
>>>>>
>>>>>
>>>>>
>>>>>>Thanks
>>>>>>Manish Lachwani
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>*************************************************************
>>>>>GDA Technologies, Inc.
>>>>>1010 Rincon Circle
>>>>>San Jose CA, 95131
>>>>>Phone (408) 432-3090
>>>>>Fax (408) 432-3091
>>>>>
>>>>>Accelerate Your Innovation
>>>>>**************************************************************
>>>>
> **
next prev parent reply other threads:[~2004-12-09 23:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-09 23:22 Forcing IDE to work in PIO mode Muruga Ganapathy
2004-12-09 23:57 ` Manish Lachwani [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-12-09 21:02 Muruga Ganapathy
2004-12-09 21:29 ` Manish Lachwani
2004-12-09 18:14 Muruga Ganapathy
2004-12-09 19:30 ` Manish Lachwani
2004-12-08 17:42 Muruga Ganapathy
2004-12-08 17:52 ` Manish Lachwani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41B8E685.6030808@mvista.com \
--to=mlachwani@mvista.com \
--cc=gmuruga@gdatech.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.