2015-11-02 |
ata: disk_ata_drive: remove obsolete check for ID validity
...
The id check does not work on some newer drives.
Acked-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Peter Mamonov
authored
on 30 Oct 2015
Sascha Hauer
committed
on 2 Nov 2015
|
2013-06-21 |
ata: Make 'already initialized' a debug message
...
This is only interesting for the debug case.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 21 Jun 2013
|
2013-06-19 |
ata: ide: Allow to set the devicename
...
To get persistent devicenames under /dev/ allow to set the
devicename from the driver instead of using "ata" unconditionally.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 19 Jun 2013
|
2013-06-06 |
ata: implement detect
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Jun 2013
|
ata: move ATA_ID_ fields and functions to include/
...
We need ata_id_has_lba48() in another C file, so move
the ATA_ID_* stuff to include/ata_drive.h like in the Linux
Kernel.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Jun 2013
|
2013-04-11 |
ata: Use dev_add_param_bool for probe parameter
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 11 Apr 2013
|
2013-03-08 |
ata: Add init callback to ata_port_operations
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 8 Mar 2013
|
ata: add ata logical device to defer probe
...
ata device usually take a long time to spin up, so it makes sense
to only spend this time when the device is actually used.
This adds a logical ata device and attaches a 'probe' parameter
to it, similar to what MMC does.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 8 Mar 2013
|
2012-12-07 |
ata: Use dma_alloc for buffer
...
ATA devices using DMA may need a sufficiently aligned buffer, so use
dma_alloc instead of regular malloc.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 7 Dec 2012
|
ata: split ide sff suport to separate file
...
Currently we only support oldschool IDE SFF devices. This is done
by registering a register layout struct and everything else is done
by the generic IDE SFF driver. Since modern ATA devices still use
ATA, but not the SFF interface anymore, split out the IDE SFF support
to a separate file to allow for other types of ata interfaces.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 7 Dec 2012
|
ata: fix status flags
...
Some status flags are wrong, fix them. All of them are currently unused,
so no functional change included.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 7 Dec 2012
|
ata: register disks as /dev/ata*
...
Using /dev/disk* for every type of device is not helpful. It increases
the chance that the user doesn't know which file corresponds to which
device. So rename ata device files to /dev/ata*. Also add a dev_info
about which device just has been registered.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 7 Dec 2012
|
2012-12-03 |
ata: Allow partitions > 4GiB
...
Since barebox now uses 64bit for device accesses this is no
issue anymore.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 3 Dec 2012
|
2012-06-28 |
Change byte order detection mechanism to kernel style
...
The Linux Kernel defines only one of __LITTLE_ENDIAN and
__BIG_ENDIAN. Endianess can then be tested with #ifdef __xx_ENDIAN. Userspace
always defined both __LITTLE_ENDIAN and __BIG_ENDIAN and byteorder can then
be tested with #if __BYTE_ORDER == __xx_ENDIAN.
As we tend to use a lot of Kernel code in barebox we switch to use the kernel
way of determing the byte order.
As this always causes a lot of confusion add a check to include/common.h to
make sure only one of __LITTLE_ENDIAN and __BIG_ENDIAN is defined.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 28 Jun 2012
|
2011-11-28 |
ATA Disk Support: Add support for native ATA type drives
...
This changed patch removes more of the u-boot like code and replace it with
kernel like code.
commit 2a89669
Author: Juergen Beisert <jbe@pengutronix.de>
Date: Fri Sep 30 15:06:26 2011 +0200
ATA Disk Support: Add support for native ATA type drives
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Juergen Beisert
authored
on 25 Nov 2011
Sascha Hauer
committed
on 28 Nov 2011
|