
Which is excactly what I am doing on real HW. The base address define is set to a variable that I use pci_find_device() and base address register 5 to set the address of.
-----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net] On Behalf Of Andrew Dyer Sent: Monday, July 25, 2005 14:22 To: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Silicon Image 0680A and CF-ATA drive
On 7/25/05, Rune Torgersen runet@innovsys.com wrote:
Didn't implement anything at all. I just used the generic IDE driver already present in U-Boot. All I had to change were those four #defines.
If you turned on PCI_CONFIG_PNP this might break, especially if the ide adapter was on a card and/or there were other cards as options.
For a generic driver it might be better to use pci_find_device() to fetch the register addressing.
-- Hardware, n.: The parts of a computer system that can be kicked.
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id%16492&op=ick _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users