History log of /src/sys/dev/pci/pciidereg.h |
Revision | | Date | Author | Comments |
1.11 |
| 24-Nov-2006 |
wiz | s/independant/independent/, from Zafer.
|
1.10 |
| 11-Dec-2005 |
christos | branches: 1.10.20; 1.10.22; merge ktrace-lwp.
|
1.9 |
| 27-Feb-2005 |
perry | branches: 1.9.4; nuke trailing whitespace
|
1.8 |
| 15-Feb-2005 |
briggs | Move the definition of NIDEDMA_TABLES from pciidereg.h to be closer to its only user in pciide_common.c. Also redefine NIDEDMA_TABLES to match the max DMA transfer size specified in the call to bus_dmamap_create() (IDEDMA_BYTE_COUNT_MAX instead of MAXPHYS). The macro is also redefined to handle devices that have a PAGE_SIZE greater than sc_dma_maxsegsz (buggy revision of satalink 3112 on ibm4xx).
|
1.7 |
| 27-Nov-2003 |
fvdl | branches: 1.7.8; 1.7.10; 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.6 |
| 14-Nov-2000 |
thorpej | branches: 1.6.24; NBPG -> PAGE_SIZE
|
1.5 |
| 09-Mar-2000 |
soren | Move PCIIDE_CHANNEL_NAME macro to pciidereg.h.
|
1.4 |
| 02-Feb-1999 |
bouyer | branches: 1.4.2; 1.4.8; Support for Acerlab M5229 IDE controller. Thanks to Thilo Manske for testing the code, and to Takahiro Kambe who run several tests and finally found the bug by himself :)
|
1.3 |
| 12-Oct-1998 |
bouyer | Merge bouyer-ide
|
1.2 |
| 04-Mar-1998 |
cgd | branches: 1.2.2; add def'ns for PCI IDE bus-master DMA interface recognition and register mapping.
|
1.1 |
| 04-Mar-1998 |
cgd | PCI IDE glue. Right now, just glues 'wdc's to PCI IDE controller channels. Eventually should do things like support PCI IDE DMA (it _DOES NOT_ do that now).
|
1.2.2.2 |
| 20-Sep-1998 |
bouyer | - always call config_found() from wdcattach(), instead of printing our own the "not configured" message ourselve. When no atapibus is configured, use a fake ata_atapi_attach, else call wdc_atapibus_attach(). This way we don't have to include the whole atapi support in an ata-only config. - the dma_* function pointers take a 'int flags' as last argument, instead of an 'int read'. The 2 valid flags are: WDC_DMA_READ (to select read/write) and WDC_DMA_POLL, to signal interrupt-less mode (for core dumps). - Reworked wdcprobe() so look more like the old one. A status of 0xff is interpreted as "no drive" (freebsd does this); this this speed up the probe for non-IDE machines (a reset timeout has been bumped to 31s, to match the specs). The probe set ups the drive flags to either ATA or ATAPI (depend on register signature) or OLD (if register signature don't match, but a working drive appears to be there). Later the ATA code will look at the OLD flag to decide wether there is no drive, or an old (ST506) one if WDC_IDENTIFY fails. - For known PCI chips, don't use the wdcprobe() heuristic to find wether a channel is enabled/disabled; use the chip's specific registers for this. - Clear the command queue when we have a polled command. This allows dumps to work even if a command was being handled by the controller at panic time. - Increase the number of available DMA segments by one, as user requests may not be aligned on a page boundary.
|
1.2.2.1 |
| 04-Jun-1998 |
bouyer | Commit changes to the IDE system in a branch. This allows a better separation between higth-level and low-level (i.e. registers read/write) and generalize the queue for all commands. This also add supports for IDE DMA.
|
1.4.8.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.4.8.1 |
| 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.4.2.1 |
| 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.6.24.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.6.24.4 |
| 15-Feb-2005 |
skrll | Sync with HEAD.
|
1.6.24.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.6.24.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.6.24.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.7.10.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.7.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.9.4.1 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.10.22.1 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.10.20.1 |
| 12-Jan-2007 |
ad | Sync with head.
|