Re: Using PATA Platform Driver to access Memory Mapped CF Card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> and implemented an 8-bit version of ata_sff_data_xfer() in my board
> specific code. Should I submit a patch (or is this considered too esoteric
> for mainline?)

Please submit a patch.

> 
> I now have another problem - My board has two CF slots (one at base address
> 0x20000000 and one at base address 0x20001000. I would like to be able to
> access them both, but if I try to init two pata_platform devices I get:
> 
> sysfs: cannot create duplicate filename '/devices/platform/pata_platform'
> 
> and
> 
> kobject_add_internal failed for pata_platform with -EEXIST, don't try to
> register things with the same name in the same directory
> 
> Is it possible to register two devices using the pata platform driver?

Yes but you cannot have two devices with the same name/id so make sure
you are setting the id etc. See

 arch/arm/mach-s3c2440/mach-anubis.c
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux