Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mmeye/dev/wdc_mainbus.c
RevisionDateAuthorComments
 1.7  09-Sep-2019  jdolecek adjust several missed drivers for wdcprobe() changes of ATA NCQ branch

for dreamcast g1 just drop the custom reset function, it doesn't seem to do
anything useful over the generic variant

PR kern/54538 by Izumi Tsutsui
 1.6  20-Oct-2017  jdolecek branches: 1.6.4; 1.6.8;
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.5  07-Oct-2017  jdolecek adapt the rest of wdc attachments for NCQ branch merge
 1.4  31-Jul-2012  bouyer branches: 1.4.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.3  26-Jul-2012  jakllsch Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@
 1.2  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.1  19-Feb-2011  kiyohara branches: 1.1.2; 1.1.4; 1.1.8; 1.1.10;
Support mmEye-WLF.
Also maybe support mmEye-WL, mmEye2, mmEye2-HS.
 1.1.10.1  30-Oct-2012  yamt sync with head
 1.1.8.2  06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1  19-Feb-2011  jruoho file wdc_mainbus.c was added on branch jruoho-x86intr on 2011-06-06 09:06:13 +0000
 1.1.4.2  05-Mar-2011  rmind sync with head
 1.1.4.1  19-Feb-2011  rmind file wdc_mainbus.c was added on branch rmind-uvmplock on 2011-03-05 20:51:14 +0000
 1.1.2.2  05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1  19-Feb-2011  bouyer file wdc_mainbus.c was added on branch bouyer-quota2 on 2011-03-05 15:09:53 +0000
 1.4.2.1  03-Dec-2017  jdolecek update from HEAD
 1.6.8.1  23-Sep-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #232):

sys/arch/evbppc/mpc85xx/wdc_obio.c: revision 1.7
sys/arch/dreamcast/dev/g1/wdc_g1.c: revision 1.4
sys/arch/dreamcast/dev/g1/wdc_g1.c: revision 1.5
sys/arch/mmeye/dev/wdc_mainbus.c: revision 1.7
sys/dev/ic/wdcvar.h: revision 1.99
sys/dev/ic/wdc.c: revision 1.292
sys/arch/mips/adm5120/dev/wdc_extio.c: revision 1.11

adjust several missed drivers for wdcprobe() changes of ATA NCQ branch
for dreamcast g1 just drop the custom reset function, it doesn't seem to do
anything useful over the generic variant

PR kern/54538 by Izumi Tsutsui

Restore interface to pass a MD reset function to MI wdcprobe().

Fixes silent hang on G1IDE on Dreamcast. PR kern/54538
Should be pulled up to netbsd-9 with the previous changes.
 1.6.4.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed