Home | History | Annotate | Download | only in iq31244
History log of /src/sys/arch/evbarm/iq31244/wdc_obio.c
RevisionDateAuthorComments
 1.12  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.11  20-Oct-2017  jdolecek 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.10  07-Oct-2017  jdolecek adapt the rest of wdc attachments for NCQ branch merge
 1.9  31-Jul-2012  bouyer branches: 1.9.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.8  26-Jul-2012  jakllsch Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@
 1.7  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.6  01-Jul-2011  dyoung branches: 1.6.2;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.5  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4  18-Mar-2008  cube branches: 1.4.2; 1.4.4;
Split device_t and softc for ATA devices, as well as wd(4). Other
cosmetic changes where appropriate.
 1.3  16-Jan-2006  bouyer branches: 1.3.48; 1.3.68; 1.3.72;
properly use ata_channel->ch_ndrive:
- initialize it properly in the bus front-ends (all 2, exept in wdc_pcmcia.c
for the "Sandisk CompactFlash Card" where it's set to 1)
- remplace hardcoded '2' by ata_channel->ch_ndrive in MI IDE drivers.

From Christos Zoulas in kern/32501.
 1.2  11-Dec-2005  christos branches: 1.2.2;
merge ktrace-lwp.
 1.1  19-Feb-2005  rearnsha branches: 1.1.4; 1.1.8; 1.1.10; 1.1.12;
Add support for the on-board CompactFlash card.
 1.1.12.2  24-Mar-2008  yamt sync with head.
 1.1.12.1  21-Jun-2006  yamt sync with head.
 1.1.10.2  29-Apr-2005  kent sync with -current
 1.1.10.1  19-Feb-2005  kent file wdc_obio.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000
 1.1.8.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.8.1  19-Feb-2005  yamt file wdc_obio.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000
 1.1.4.2  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.1.4.1  19-Feb-2005  skrll file wdc_obio.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000
 1.2.2.1  01-Feb-2006  yamt sync with head.
 1.3.72.2  02-Jun-2008  mjf Sync with HEAD.
 1.3.72.1  03-Apr-2008  mjf Sync with HEAD.
 1.3.68.1  24-Mar-2008  keiichi sync with head.
 1.3.48.1  23-Mar-2008  matt sync with HEAD
 1.4.4.1  16-May-2008  yamt sync with head.
 1.4.2.1  18-May-2008  yamt sync with head.
 1.6.2.1  30-Oct-2012  yamt sync with head
 1.9.2.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed