freebsd-skq/sys
Marius Strobl 31a2c906d7 - Prepend the device description with "AT91" to reflect its nature. [1]
- Move DMA tag and map creature to at91_spi_activate() where the other
  resource allocation also lives. [1]
- Flesh out at91_spi_deactivate(). [1]
- Work around the "Software Reset must be Written Twice" erratum.
- For now, run the bus at the slowest speed possible in order to work
  around data corruption on transit even seen with 9 MHz on ETHERNUT5
  (15 MHz maximum) and AT45DB321D (20 MHz maximum). This also serves as
  a poor man's work-around for the "NPCSx rises if no data data is to be
  transmitted" erratum of RM9200. Being able to use the appropriate bus
  speed would require:
  1) Adding a proper work-around for the RM9200 bug consisting of taking
     the chip select control away from the SPI peripheral and managing it
     directly as a GPIO line.
  2) Taking the maximum frequencies supported by the actual board and the
     slave devices into account and basing the whole thing on the master
     clock instead of hardcoding a divisor as previously done.
  3) Fixing the above mentioned data corruption.
- KASSERT that TX/RX command and data sizes match on transfers.
- Introduce a mutex ensuring that only one child device is running a SPI
  transfer at a time. [1]
- Add preliminary, #ifdef'ed out support for setting the chip select. [1]
- Use the RX instead of the TX commando size when setting up the RX side
  of a transfer.
- For controllers having SPI_SR_TXEMPTY, i.e. !RM9200, also wait for the
  completion of the TX part of transfers before stopping the whole thing
  again.
- Use DEVMETHOD_END. [1]
- Use NULL instead of 0 for pointers. [1, partially]

Additional testing by:  Ian Lepore

Submitted by:   Ian Lepore [1]
MFC after:      1 week
2012-06-03 00:54:10 +00:00
..
amd64 Isolate the global pv list lock from data and other locks to prevent false 2012-06-02 22:14:10 +00:00
arm - Prepend the device description with "AT91" to reflect its nature. [1] 2012-06-03 00:54:10 +00:00
boot Remove unnecessary initializations. The BSS of boot2 is in fact 2012-06-01 15:48:24 +00:00
bsm
cam Rewrite enabling NCQ for SATA devices in a way more alike to SCSI TCQ. 2012-06-02 08:29:07 +00:00
cddl Tighten up the assertion: because size can't be 0 and even if sm_space is equal 2012-05-29 18:11:45 +00:00
compat Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
conf Clean up and complete the incomplete deferred enable code. 2012-06-01 23:29:48 +00:00
contrib Correct table counter functionality to not panic. 2012-05-31 20:10:05 +00:00
crypto Add support for the extended FPU states on amd64, both for native 2012-01-21 17:45:27 +00:00
ddb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
dev Add missing prototypes. While at it, sort them alphabetically. 2012-06-02 20:47:00 +00:00
fs Capitalize start of sentence. 2012-05-30 14:00:23 +00:00
gdb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
geom Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
gnu/fs Fix build: 2012-05-23 06:49:50 +00:00
i386 Isolate the global pv list lock from data and other locks to prevent false 2012-06-02 22:14:10 +00:00
ia64 Improve style(9) in the previous commit. 2012-06-01 17:07:52 +00:00
isa
kern Fix typo [1]. Use commas to separate flag printouts, in style with 2012-06-02 19:39:12 +00:00
kgssapi
libkern Use strcmp that I replaced by accident. 2012-05-21 02:45:47 +00:00
mips MFp4 bz_ipv6_fast: 2012-05-24 22:00:48 +00:00
modules Unbreak make depend. 2012-05-30 13:55:43 +00:00
net Seperate SCTP checksum offloading for IPv4 and IPv6. 2012-05-30 20:56:07 +00:00
net80211 Fix some corner cases in the ieee80211_send_bar() handling. 2012-05-22 19:37:12 +00:00
netatalk Fix typos 2012-02-28 15:07:05 +00:00
netgraph Revert my local not yet properly tested changes, that leaked in 2012-05-25 07:46:24 +00:00
netinet Honor sysctl for TTL. 2012-06-02 21:22:26 +00:00
netinet6 Seperate SCTP checksum offloading for IPv4 and IPv6. 2012-05-30 20:56:07 +00:00
netipsec Add multi-FIB IPv6 support to the core network stack supplementing 2012-02-03 13:08:44 +00:00
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netsmb
nfs Add multi-FIB IPv6 support to the core network stack supplementing 2012-02-03 13:08:44 +00:00
nfsclient PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsserver
nlm jwd@ reported a problem via email to freebsd-fs@ on Aug 25, 2011 2012-01-31 02:11:05 +00:00
ofed Revert r234834 per luigi@ request. 2012-05-03 08:56:43 +00:00
opencrypto
pc98 MFprojects/zfsd: 2012-05-24 11:20:51 +00:00
pci intpm: add ATI IXP400 pci id 2012-04-16 10:33:46 +00:00
powerpc Panic openly if we cannot retrieve memory information from the device tree. 2012-05-30 18:05:48 +00:00
rpc
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Replace all uses of the vm page queues lock by a r/w lock that is private 2012-05-29 01:52:38 +00:00
sys Fix typo [1]. Use commas to separate flag printouts, in style with 2012-06-02 19:39:12 +00:00
teken
tools Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR. 2012-02-21 19:35:59 +00:00
ufs Enable vn_io_fault() lock avoidance for UFS. 2012-05-30 16:45:41 +00:00
vm Revert r236380 2012-06-01 18:58:50 +00:00
x86 Consitently use "__LP64__". 2012-05-24 21:44:46 +00:00
xdr
xen blkif interface comment cleanups. No functional changes 2012-02-29 17:47:01 +00:00
Makefile Add sys/ofed to the 'make cscope' target. 2012-03-20 18:05:15 +00:00