Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/pciide_opti_reg.h
RevisionDateAuthorComments
 1.12  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.11  25-Dec-2007  perry branches: 1.11.6; 1.11.8; 1.11.10;
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
 1.10  16-Feb-2006  perry branches: 1.10.40; 1.10.46; 1.10.50; 1.10.54;
Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
 1.9  24-Dec-2005  perry branches: 1.9.2; 1.9.4; 1.9.6;
__inline__ -> inline
 1.8  11-Dec-2005  christos merge ktrace-lwp.
 1.7  19-Aug-2004  thorpej branches: 1.7.12;
- Add and use a CHAN_TO_WDC() macro to get the wdc_softc from an
ata_channel.
- Add and use a CHAN_TO_WDC_REGS() macro to get the wdc_regs from an
ata_channel.
- Add and use a CHAN_TO_PCIIDE() macro to get the pciide_softc from an
ata_channel.
- Add and use a CHAN_TO_PCHAN() macro to get the pciide_channel from an
ata_channel. (This one just hides a cast, and is really just for
consistency with the others.)
 1.6  14-Aug-2004  thorpej - Split the register handles out of struct wdc_channel into a separate
wdc_regs structure, and array of which (indexed per channel) is pointed
to by struct wdc_softc.
- Move the resulting wdc_channel structure to atavar.h and rename it to
ata_channel. Rename the corresponding flags.
- Add a "ch_ndrive" member to struct ata_channel, which indicates the
maximum number of drives that can be present on the channel. For now,
this is always 2. Add an ATA_MAXDRIVES constant that places an upper
limit on this value, also currently 2.
 1.5  03-Jan-2004  thorpej Rename "struct channel_softc" to "struct wdc_channel".
 1.4  27-Nov-2003  fvdl There are some cards that map the ATA control and IDE DMA registers
in a different fashion. Individually, they have the same functionality,
but their layout is different. An example of such a chipset is
the Promise 203xx.

To be able to deal with this, transform the cmd and dma bus_space handles
into an array of handles, each seperately created with bus_space_subregion.
The code generated by using the extra indirection shouldn't change much,
since the extra indirection is negated by having the offset calculation
already done in bus_space_subregion. E.g.

bus_space_write_4(tag, handle, offset, value)

becomes

bus_space_write_4(tag, handles[offset], 0, value)

Reviewed by Manuel Bouyer. Tested on wdc_isa, wdc_pcmcia, viaide, piixide (i386)
and on cmdide (sparc64).
 1.3  21-Oct-2001  thorpej branches: 1.3.18;
Make the various timing, etc. tables const, and add the __unused__
attribute to them, just in case something other than the pciide driver
proper needs to pull in the header.
 1.2  07-Jun-2000  scw branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.12;
The OPTi controller supports a 32-bit dataport after all.
Also detect when the chip is sitting on a 25MHz PCIbus and
set the timing registers accordingly.
 1.1  27-May-2000  scw Add support for the OPTi 82c621 PCIIDE controller and its derivatives.
I only have a Compaq laptop on which to test this, so reports of
success/failure in other systems would be welcomed.
 1.2.12.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.10.1  22-Oct-2001  nathanw Catch up to -current.
 1.2.8.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.2.8.1  07-Jun-2000  bouyer file pciide_opti_reg.h was added on branch thorpej_scsipi on 2000-11-20 11:42:35 +0000
 1.2.6.2  07-Jul-2000  he Apply patch (requested by bouyer):
Add support for the following PCIIDE controllers:
o AMD 756
o CMD PCI0648 and PCI0649
o Hightpoint HPT366
o OPTi 82c621 (and a few of its derivatives)
o Promise Ultra/33 and Ultra/66
o Intel 82801 (ICH/ICH0)
Also fix PR#10437 (detect more ATAPI devices).
 1.2.6.1  07-Jun-2000  he file pciide_opti_reg.h was added on branch netbsd-1-4 on 2000-07-07 17:33:50 +0000
 1.2.4.2  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.2.4.1  07-Jun-2000  minoura file pciide_opti_reg.h was added on branch minoura-xpg4dl on 2000-06-22 17:07:36 +0000
 1.3.18.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.18.3  18-Sep-2004  skrll Sync with HEAD.
 1.3.18.2  25-Aug-2004  skrll Sync with HEAD.
 1.3.18.1  03-Aug-2004  skrll Sync with HEAD
 1.7.12.2  21-Jan-2008  yamt sync with head
 1.7.12.1  21-Jun-2006  yamt sync with head.
 1.9.6.1  22-Apr-2006  simonb Sync with head.
 1.9.4.1  09-Sep-2006  rpaulo sync with head
 1.9.2.1  18-Feb-2006  yamt sync with head.
 1.10.54.1  02-Jan-2008  bouyer Sync with HEAD
 1.10.50.1  26-Dec-2007  ad Sync with head.
 1.10.46.1  18-Feb-2008  mjf Sync with HEAD.
 1.10.40.1  09-Jan-2008  matt sync with HEAD
 1.11.10.1  16-May-2008  yamt sync with head.
 1.11.8.1  18-May-2008  yamt sync with head.
 1.11.6.1  02-Jun-2008  mjf Sync with HEAD.

RSS XML Feed