Home | History | Annotate | Download | only in gemini
History log of /src/sys/arch/arm/gemini/obio_wdc.c
RevisionDateAuthorComments
 1.12  27-Sep-2022  skrll Remove unnecessary sys/malloc.h include
 1.11  19-Sep-2021  andvar s/Plese/Please/ in comment, and fix an article in obio_wdc.c comment.
 1.10  19-Sep-2021  andvar fix various typos in comments, messages and documentation.
 1.9  03-Jun-2019  msaitoh Fix typo in comment (s/seperate/separate/).
 1.8  20-Oct-2017  jdolecek branches: 1.8.4;
move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init()
and ata_channel_destroy() respectively, to make attachment code simpler,
and to make it easier to spot special queue manipulation like cmdide(4)

on topic of PR kern/52606
 1.7  07-Oct-2017  jdolecek adapt the rest of wdc attachments for NCQ branch merge
 1.6  31-Jul-2012  bouyer branches: 1.6.2;
Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc
cleanup and SATA PMP support), now that I'm back to fix the fallouts.
 1.5  26-Jul-2012  jakllsch Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@
 1.4  02-Jul-2012  bouyer Add sata Port MultiPlier (PMP) support to the ata bus layer,
as described in
http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html
PMP support in integrated to the atabus layer.
struct ata_channel's ch_drive[] is not dynamically allocated, and ch_ndrive
(renamed to ch_ndrives) closely reflects the size of the ch_drive[] array.
Add helper functions atabus_alloc_drives() and atabus_free_drives()
to manage ch_drive[]/ch_ndrives.
Add wdc_maxdrives to struct wdc_softc so that bus front-end can specify
how much drive they really support (master/slave or single).
ata_reset_drive() callback gains a uint32_t *sigp argument which,
when not NULL, will contain the signature of the device being reset.
While there, some cosmetic changes:
- added a drive_type enum to ata_drive_datas, and stop encoding the
probed drive type in drive_flags (we were out of drive flags anyway).
- rename DRIVE_ATAPIST to DRIVE_ATAPIDSCW to better reflect what this
really is
- remove ata_channel->ata_drives, it's redundant with the pointer in
ata_drive_datas
- factor out the interpretation of SATA signatures in sata_interpet_sig()

propagate these changes to the ATA HBA drivers, and add support for PMP
to ahcisata(4) and siisata(4).

Thanks to:
- Protocase (http://www.protocase.com/) which provided a system
with lots of controllers, SATA PMP and drive slots
- Conservation Genomics Laboratory, Department of Biology, New Mexico State
University for hosting the above system
- Brook Milligan, who set up remote access and has been very responsive
when SATA cable move was needed
 1.3  01-Jul-2011  dyoung branches: 1.3.2;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.2  17-Nov-2008  cliff branches: 1.2.4; 1.2.6; 1.2.10;
fix "adapted from" (iq31244) and remove iq31244-specific jumper comment
 1.1  09-Nov-2008  cliff autoconfig glue for wdc at obio on Gemini
 1.2.10.2  04-May-2009  yamt sync with head.
 1.2.10.1  17-Nov-2008  yamt file obio_wdc.c was added on branch yamt-nfs-mp on 2009-05-04 08:10:42 +0000
 1.2.6.2  19-Jan-2009  skrll Sync with HEAD.
 1.2.6.1  17-Nov-2008  skrll file obio_wdc.c was added on branch nick-hppapmap on 2009-01-19 13:15:58 +0000
 1.2.4.2  17-Jan-2009  mjf Sync with HEAD.
 1.2.4.1  17-Nov-2008  mjf file obio_wdc.c was added on branch mjf-devfs2 on 2009-01-17 13:27:53 +0000
 1.3.2.1  30-Oct-2012  yamt sync with head
 1.6.2.1  03-Dec-2017  jdolecek update from HEAD
 1.8.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed