Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-03-21 | replace the array of u_int8_ts for the fis/registers with a struct to make | David Gwynne | |
it a bit easier to read. there are variations on this, but they can be defined later. | |||
2007-03-21 | For now, reserve one opening so we always have a CCB free to issue a soft | Christopher Pascoe | |
reset with during error recovery. Also, ensure that that CCB has been stopped on the chip before putting it back in the pool. | |||
2007-03-20 | Fix crystal on/off routine (no more panic). Add two new routines to | Marcus Glocker | |
set and clear the device's MAC filter. | |||
2007-03-20 | An complete lack of peer review before this is commited means it gets pulled. | Theo de Raadt | |
No exceptions. | |||
2007-03-20 | Use aml_val2int() instead of accessing v_integer directly. | Michael Knudsen | |
`sort of ok' marco (before lock) | |||
2007-03-20 | Be sure to reset ata_xfer flags for all PACKET transfers, otherwise we | Christopher Pascoe | |
could pick up a previous ATA_F_POLL from a previous non-data command. | |||
2007-03-20 | add missing FLUSH_CACHE commands. | David Gwynne | |
2007-03-20 | Document some routines by pointing to the refering specs URL. | Marcus Glocker | |
2007-03-20 | Basic FLUSH CACHE support. | Christopher Pascoe | |
Note that the ATA spec says we're should retry after error until we see no more errors. This is not (yet) implemented. | |||
2007-03-20 | Use ALLOCNOW flag when creating PRDT dmamap, otherwise it could fail during | Christopher Pascoe | |
error handling. | |||
2007-03-20 | Tag ATAPI transfers that have no data phase correctly, otherwise the command | Christopher Pascoe | |
isn't sent to the device. | |||
2007-03-20 | Our timeout and error handlers complete the commands for us, so we should | Christopher Pascoe | |
always return ATA_COMPLETE in the polled transfer case. Also, respect the passed in timeout value when polling. | |||
2007-03-20 | commit the rest of the jmicron ids. jsg has been trying to get me to add | David Gwynne | |
these since last year, but i didnt see the point till the code would be useful anywhere. | |||
2007-03-20 | Oops, remove some unused variables and unmangle a command name. | Christopher Pascoe | |
2007-03-20 | Cap the device size we present to 2TB, just in case someone attaches | Christopher Pascoe | |
something really big. The SCSI layer isn't yet ready for it. | |||
2007-03-20 | Move common completion handling into ata_exec itself. Removes a double free | Christopher Pascoe | |
in the inquiry error paths, as the HBA will have already completed the ata_xfer with an error. Reminder and ok dlg@ | |||
2007-03-20 | Add support for ATA PACKET commands. This should make ATAPI cdrom drives, | Christopher Pascoe | |
etc, just work. | |||
2007-03-20 | Read the whole SPROM content with a single routine to a own sprom struct. | Marcus Glocker | |
For those people who have reported about broken MAC address at attach time, this should fix the problem. | |||
2007-03-20 | Catch failed commands and copy the error taskfile back to the ata_cmd, | Christopher Pascoe | |
so that atascsi can deal with it. | |||
2007-03-20 | move ata command definitions from atascsi.c to atascsi.h | David Gwynne | |
2007-03-20 | on com_console we need a little delay to let fifo flush itself before ↵ | Michael Shalayeff | |
resetting it and stuff to avoid garbled dmesg output; found on some arm | |||
2007-03-20 | missing include and also use time_uptime as art suggested; compiles now | Michael Shalayeff | |
2007-03-20 | reorder slightly. ata bits before atascsi | David Gwynne | |
2007-03-20 | Add timeout handling for ATA commands. | Christopher Pascoe | |
2007-03-20 | nothing from wdc, wd, or any of the existing ata stuff pls. this gets rid | David Gwynne | |
of the wdcreg.h include in atascsi. "feel free to remove" pascoe@ | |||
2007-03-20 | Spec says we can't write anything other than the global host control register | Christopher Pascoe | |
before we enable AHCI, so enable it before resetting saved capabilities. | |||
2007-03-20 | Minor style fixup. | Christopher Pascoe | |
2007-03-20 | Request "descriptor processed" interrupts only for PIO requests (inquiry, | Christopher Pascoe | |
etc), and request that the D2H FIS at the completion of all (DMA) commands generate an interrupt. This makes each data transfer generate one interrupt instead of two and should guarantee that the interrupt that is generated actually arrives after the command has completed. | |||
2007-03-20 | Calculate the residual and copy it back to the scsi_xfer, so that RW actually | Christopher Pascoe | |
works. From dlg@ | |||
2007-03-20 | Add support for issuing sector read/write commands. | Christopher Pascoe | |
2007-03-20 | Split PRDT unload out into its own function, for symmetry. | Christopher Pascoe | |
2007-03-20 | Instead of having a copy of every register that we will issue in the ata_cmd, | Christopher Pascoe | |
simply include a pointer to the command FIS that we will issue to the device. Include another space where we can copy back an error register set from a failed command. This means that we can now build and issue arbitrary commands from atascsi, and retrieve errors back. | |||
2007-03-20 | Change API for struct ata_xfer allocation to move it into the device that | Christopher Pascoe | |
atascsi will be driving, and add it to the AHCI CCB. This effectively gives us all the resources we need for a transfer in one hit, meaning that we don't need to worry about whether we will have a pool shortage or not enough CCBs. The SCSI mid layer should take care to never exceed the number of CCBs we have available, based on our sc_link.openings. | |||
2007-03-20 | Hook up sd ioctl. | Marco Peereboom | |
2007-03-20 | Fake out target id for bioc_disk. | Marco Peereboom | |
2007-03-20 | Use queue.h macros instead of home made for thingy. | Marco Peereboom | |
From tbert <bret.lambert@gmail.com> | |||
2007-03-19 | Only call bus_dmamap_unload() if we loaded a dmamap beforehand. Found out | Claudio Jeker | |
the hard way on sparc64. Now acx(4) no longer panics but it does not yet work. OK mglocker@ | |||
2007-03-19 | the autoconf glue funcs (match/attach/etc) are only used inside softraid.c, | David Gwynne | |
so prototype them there rather than in softraidvar.h. shuffle these funcs a little bit while here to make it look more like everything else. ok marco@ | |||
2007-03-19 | Fix keyword expansion. | Michael Knudsen | |
ok marco | |||
2007-03-19 | attach softraid to the root of the device tree in a machine independant | David Gwynne | |
way, rather than requiring some glue in each machines mainbus probe. it is still commented out. based on a discussion with miod@ ok marco@ deraadt@ | |||
2007-03-19 | Add a new device that provides a framework for IO manipulation. A very basic | Marco Peereboom | |
implementation of a RAID 1 is included in this but it does not deal with failures yet. Disabled in GENERIC. Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@ | |||
2007-03-19 | Fix some code relative to chips that don't currently work (BCM5722 & | Kenneth R Westerback | |
BCM5756). They still don't work but when they do they won't use an inappropriate Jitter bug workaround. No effect on other chips. From Michael Chan of Broadcom, via Linux tg3 via Brad. ok reyk@ | |||
2007-03-18 | Define MMC_STOP_TRANSMISSION command (CMD12) | Uwe Stuehler | |
2007-03-18 | DHC automatically sends a CMD12 after multiple-block transfers, but other | Uwe Stuehler | |
controllers don't. Put in a temporary hack for pxammc on Zaurus. | |||
2007-03-18 | Support the PXA27x SD/SDIO/MMC controller on Zaurus | Uwe Stuehler | |
We use the suggested workaround for the problem E40 in the PXA27x errata sheet. Unfortunately this limits the bus speed to 9.75Mhz. | |||
2007-03-18 | Backout pascoe@'s last USB change because it page faults at attachment | Marcus Glocker | |
time. Chris; Get your shiz fixed and tested for the next time. We have better todo then wasting our time by backing out untested stuff. OK deraadt, OK ckuethe | |||
2007-03-18 | OX16PCI954K is a puc@cardbus (missed in the previous puc@cardbus commits) | Michael Shalayeff | |
2007-03-18 | add OX16PCI954K puc id | Michael Shalayeff | |
2007-03-18 | Comment routine which does the chip access validation. | Marcus Glocker | |
2007-03-18 | o Add bcw_80211_core_init() according to | Marcus Glocker | |
http://bcm-specs.sipsolutions.net/80211Init. o Add a rewritten version of bcw_core_reset() called bcw_80211_core_reset() according to http://bcm-specs.sipsolutions.net/80211CoreReset. This will probably replace bcw_core_reset(), but I need more verification first. o Add bcw_core_enable() and bcw_core_disable(). There seems to be devices which contain several 802.11 cores. The unused needs to be disabled. |