NetBSD/sys/arch/i386/pnpbios
bouyer 03c9df05c6 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
2012-07-02 18:15:44 +00:00
..
atppc_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
com_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
ess_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
fdc_pnpbios.c Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
files.pnpbios
joy_pnpbios.c Add missing semicolon to make this compile. 2011-11-26 14:06:44 +00:00
lm_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
lpt_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
npx_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
pciide_pnpbios.c Add sata Port MultiPlier (PMP) support to the ata bus layer, 2012-07-02 18:15:44 +00:00
pckbc_pnpbios.c Use device_lookup_private() rather than using cd_devs[] directly to get softc. 2008-06-08 18:35:25 +00:00
pnpbios.c dependant -> dependent 2011-06-30 20:09:15 +00:00
pnpbioscall.S
pnpbiosreg.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
pnpbiosvar.h dependant -> dependent 2011-06-30 20:09:15 +00:00
sb_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
TODO
wss_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00
ym_pnpbios.c #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:11:24 +00:00